havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
raspado has quit [Remote host closed the connection]
raspado has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
minimalism has joined #ruby
benlieb has quit [Quit: benlieb]
raspado has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 240 seconds]
muhlisbc has quit [Quit: AtomicIRC: The nuclear option.]
KeyJoo has quit [Read error: Connection reset by peer]
ecuanaso has joined #ruby
ResidentBiscuit has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
<michael_mbp> really odd Q - is there a destructor in Ruby objects, when being gc'd?
<michael_mbp> ytti: WUT!!
oborot_ has joined #ruby
MissionCritical has quit [Ping timeout: 245 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
<michael_mbp> w00t ObjectSpace#define_finalizer
blackmesa has quit [Ping timeout: 246 seconds]
cyphase has quit [Ping timeout: 240 seconds]
Vivekananda has joined #ruby
cyphase has joined #ruby
houhoulis has joined #ruby
Mission-Critical has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DeeJayh has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
ecuanaso has joined #ruby
Cohedrin has joined #ruby
coderphive has joined #ruby
nobitanobi has joined #ruby
Mission-Critical is now known as MissionCritical
DeeJayh has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderphive has quit [Ping timeout: 240 seconds]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
bkxd_ has joined #ruby
nobitanobi has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 268 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
ecuanaso has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
duderonomy has quit [Ping timeout: 245 seconds]
oborot_ has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
ski7777 has quit [Ping timeout: 260 seconds]
ski7777 has joined #ruby
hays has joined #ruby
\tau has joined #ruby
ski7777 has quit [Excess Flood]
knight33 has joined #ruby
bmurt has joined #ruby
ski7777 has joined #ruby
<\tau> hi
<\tau> i'm trying to do require 'tkextlib/tkimg'
<\tau> but it fails.
<\tau> no idea what i need to install.
<\tau> i looked around google but i couldnt find anything useful, i'm on arch.
knight33 has quit [Client Quit]
BSAlb has joined #ruby
ResidentBiscuit has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
BSaboia has quit [Ping timeout: 260 seconds]
gizmore|2 has joined #ruby
amclain has quit [Quit: Leaving]
mim1k has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 255 seconds]
pb122 has quit [Read error: Connection reset by peer]
BSAlb has quit [Quit: Leaving]
BSaboia has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
<\tau> hi?
\tau is now known as tau
<tau> hi?
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
<havenwood> tau: gem install tk
pankaj has joined #ruby
<tau> havenwood i did.
<tau> it seems it doesnt provide tkimg.
<tau> just std widgets.
<tau> i need extensions to support jpeg.
<tau> i have found the package, it is on aur.
<tau> i need that it seems.
<tau> i'm installing so i'll test in some moments.
<tau> hoping it to work.
tau is now known as kappa
PorcoRex has joined #ruby
<PorcoRex> Good evening Ruby.
<havenwood> PorcoRex: g'eve'
<havenwood> >> alias g p; g'eve'
<ruby[bot]> havenwood: # => "eve" ...check link for more (https://eval.in/801850)
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
d^sh_ has quit [Ping timeout: 246 seconds]
houhoulis has quit [Remote host closed the connection]
d^sh has joined #ruby
charliesome has joined #ruby
<comet23> >> puts("Hello")
<ruby[bot]> comet23: # => Hello ...check link for more (https://eval.in/801851)
jenrzzz has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
Hunter1 has quit []
lxsameer has quit [Quit: WeeChat 1.7]
HoierM has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
HoierM has quit [Remote host closed the connection]
bronson has joined #ruby
FuccTrump has joined #ruby
<FuccTrump> >> string = "I hate";string2 = "gingers!!!"; string3 = string2[0..2].reverse;string4 = string2[3...10];string5 = string3 + string4;puts string.upcase + " " + string5.upcase;
hndk has joined #ruby
<FuccTrump> >> eval string = "I hate";string2 = "gingers!!!"; string3 = string2[0..2].reverse;string4 = string2[3...10];string5 = string3 + string4;puts string.upcase + " " + string5.upcase;
<FuccTrump> >> puts "69"
<FuccTrump> How can I improve my code?
bronson has quit [Ping timeout: 240 seconds]
NeoMalachi has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 240 seconds]
grymmjack has quit [Ping timeout: 240 seconds]
Vivekananda has quit [Quit: Leaving]
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
<baweaver> !troll FuccTrump
<baweaver> bye
FuccTrump was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
joelwallis has joined #ruby
rdavila has joined #ruby
comet23 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pankaj has quit [Ping timeout: 246 seconds]
nofxxxx has joined #ruby
SpikeMaster has joined #ruby
SpikeMaster has left #ruby ["ERC (IRC client for Emacs 26.0.50)"]
patarr has joined #ruby
nofxxx has quit [Ping timeout: 260 seconds]
redaudit has quit [Quit: Cya]
pankaj has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
hndk has quit [Remote host closed the connection]
hndk has joined #ruby
milardovich has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
gusrub has quit []
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
vahe has joined #ruby
gothicsouth has joined #ruby
milardovich has quit [Remote host closed the connection]
ResidentBiscuit has quit [Remote host closed the connection]
herbmillerjr has joined #ruby
hndk has quit [Quit: Leaving]
quuxman has quit [Ping timeout: 260 seconds]
ResidentBiscuit has joined #ruby
hobodave has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
hobodave has quit [Client Quit]
mim1k has quit [Ping timeout: 260 seconds]
ThePortWhisperer has quit [Read error: Connection reset by peer]
Puppet_ has joined #ruby
nertzy has joined #ruby
jcao219 has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
TomyLobo has quit [Ping timeout: 240 seconds]
pb122 has joined #ruby
milardovich has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gothicsouth has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 246 seconds]
eputnam_ has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
bheesham has joined #ruby
joelwallis has quit [Remote host closed the connection]
joelwallis has joined #ruby
nertzy has quit [Ping timeout: 240 seconds]
joelwallis has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 268 seconds]
__Yiota has joined #ruby
nertzy has joined #ruby
__Yiota has quit [Client Quit]
gix has joined #ruby
pwnd_nsfw` is now known as pwnd_nsfw
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Mavriik has quit []
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nertzy has quit [Ping timeout: 260 seconds]
SeepingN has joined #ruby
bronson has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
uZiel has joined #ruby
mim1k has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
uZiel has quit [Ping timeout: 240 seconds]
pb122-two has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
Cohedrin has joined #ruby
cfec0b8d has joined #ruby
charliesome has joined #ruby
pb122 has quit [Ping timeout: 240 seconds]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b0mbnet has joined #ruby
rakm has joined #ruby
rdavila has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt3 has joined #ruby
milardovich has joined #ruby
vahe has quit [Quit: Leaving.]
milardovich has quit [Ping timeout: 268 seconds]
haylon has quit [Quit: Leaving]
patarr has joined #ruby
nobitanobi has joined #ruby
jgt3 has quit [Ping timeout: 260 seconds]
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
patarr has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Ping timeout: 246 seconds]
patr0clus has joined #ruby
b0mbnet has quit [Remote host closed the connection]
patr0clus has quit [Client Quit]
b0mbnet has joined #ruby
hoocares has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
jcao219 has quit [Ping timeout: 260 seconds]
M|SS|SS|PP| is now known as mississippimans
eightlimbed has joined #ruby
<zenspider> that is some really bad ruby code for trolling
<zenspider> you can really improve it if you just try a bit
milardovich has joined #ruby
pb122-two has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 268 seconds]
<eightlimbed> Hello, I'm new to Ruby (and programming in general) and was wondering if someone can look at this method I wrote that removes any duplicate words in a string, and suggest a more efficient way to write it. (Besides .uniq). I'm trying to get better at iterating with blocks instead of using while loops. Here is the gist: https://gist.github.com/eightlimbed/c37387d7dab92b45c7697f573e1d702b
hardest has joined #ruby
ignarps has quit [Read error: Connection reset by peer]
kappa has quit [Remote host closed the connection]
bronson has joined #ruby
<hardest> does any 1 know how to exactly parser this with nokogiri ? https://gist.github.com/anonymous/6abdbf7693515106850373abf8323952
<zenspider> eightlimbed: looking...
<zenspider> eightlimbed: is this an assignment?
<zenspider> your indentation is wrong, for starters... makes it harder to read and reason about
<zenspider> that and you can tell gist that it is a ruby file
<zenspider> lines 8-9 should be indented one more
<eightlimbed> @zenspider thanks. this is just a practice problem. i'm planning to apply to a bootcamp soon.
<zenspider> hardest: http://www.nokogiri.org
<hardest> zenspider: rly?
<zenspider> yes, read the doco. really.
ayonkhan has joined #ruby
<hardest> orly 2?
<zenspider> strike 2...
<hardest> isn't there any example such mine
bronson has quit [Ping timeout: 260 seconds]
<zenspider> eightlimbed: and do you want to stick with the datatypes and algorithm you're using?
<zenspider> hardest: it's xml. I find that hard to believe
<eputnam_> eightlimbed: you might also look into Array.each
<eightlimbed> zenspider: i'm open to suggestions
<eputnam_> which would change the algorithm
<zenspider> eightlimbed: I'd start with replacing your while loops. look up what a range is and then you can call #each on the range of indicies you want
<zenspider> eightlimbed: try `ri Range.each` in your terminal for starters
<zenspider> and the code samples there will get you on your way
Silthias has joined #ruby
<eightlimbed> eputname_: thanks for the response. something like.. arr.each {|word| #code that checks if |word| == next word, if so it removes it } ?
hardest has quit [Quit: Page closed]
TheTFEF is now known as Nightmare
<zenspider> awww. hardest... I was just about to prove you wrong
<zenspider> I'm recompiling nokogiri right now
<eightlimbed> zenspider: "Nothing known about Range" is what was returned when I typed 'ri Range.each'
<eputnam_> eightlimbed: i’ll put a comment on the gist
<zenspider> eightlimbed: cool. that's the first thing to fix... how'd you get your ruby?
Silthias1 has quit [Ping timeout: 268 seconds]
<zenspider> for the record, the data parses fine: ruby -rnokogiri -ropen-uri -e 'p Nokogiri::XML(open("https://gist.githubusercontent.com/anonymous/6abdbf7693515106850373abf8323952/raw/09a6824ccfdde7b2e5ed1d302adc16c2e5be95da/parser.rb"))'
<eightlimbed> zenspider: I downloaded the windows installer from ruby-lang.org
<eightlimbed> eputname_: thank you very much!
<zenspider> hrm... I might not be able to help you then... w/ the doco. for now, look it up on line
<zenspider> ruby-docs.org iirc
ignarps has joined #ruby
<zenspider> but getting ri working is well worth the effort
<eightlimbed> zenspider: what does ri do?
hays has quit [Remote host closed the connection]
<zenspider> point being, you can quickly convert your code from: var = 0; while var < max; ... var += 1; end into (0...max).each do |var| ... end
<zenspider> then you can refine from there
<zenspider> doing eputnam_'s suggestion is a bit odder, since you're doing subsets of the same array, but it is doable
xall has joined #ruby
<eightlimbed> zenspider: I understand what you're suggesting about using RANGE.each... instead of a while loop and incrementing. thank you.
<eightlimbed> I will try that
ayonkhan_ has joined #ruby
ayonkhan has quit [Ping timeout: 240 seconds]
<eputnam_> eightlimbed: are you wanting to remove the strings in place? or just get an array of unique words?
<eputnam_> errr, a string of the unique words
<zenspider> baby steps eputnam_
<eightlimbed> eputname_: I'd like to keep the order.
<eightlimbed> eputnam_: *
<uZiel> can I process more than one element with Array.each?
<eputnam_> gotcha, pedagogy and all
PorcoRex has quit [Quit: Leaving]
<uZiel> I want to process every 3 elements together in one go
<zenspider> uZiel: look at the methods in Enumerable. they're gold
<zenspider> eputnam_: thank you
<zenspider> (look at ALL the methods in Enumerable... while also looking for the one you want for this task)
<uZiel> cool, checking it out
<uZiel> thanks zenspider
<eightlimbed> eputnam_: my battery is about to die
<eightlimbed> if I don't respond, that's why
<eightlimbed> But I will read your comment
<eputnam_> eightlimbed: oh noes! well i’ll see if i can put something useful together
<eightlimbed> and thank you for your help!
<eputnam_> eightlimbed: if i can’t think of anything, perhaps i can try to help again next time
<eightlimbed> I'll be back tomorrow
<eightlimbed> Yes, don't sweat it :)
<zenspider> eightlimbed: good. it's a looong journey but worth it
ayonkhan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
eightlimbed has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
minimalism has quit [Quit: minimalism]
<eputnam_> zenspider: thanks for the wisdom, i wouldn’t have even thought of ranges
minimalism has joined #ruby
hoocares has quit [Quit: Textual IRC Client: www.textualapp.com]
oborot_ has joined #ruby
jenrzzz has joined #ruby
oborot_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
uZiel has quit [Ping timeout: 268 seconds]
uZiel has joined #ruby
eputnam_ has quit [Quit: eputnam_]
_whitelogger has joined #ruby
Puppet___ has joined #ruby
milardovich has joined #ruby
pankaj has quit [Remote host closed the connection]
Puppet_ has quit [Ping timeout: 268 seconds]
blur3d has joined #ruby
leah2 has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 240 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
b0mbnet has quit [Remote host closed the connection]
jcao219 has joined #ruby
nertzy has joined #ruby
bambanx has joined #ruby
b0mbnet has joined #ruby
dn` has quit [Read error: Connection reset by peer]
dn`_ has joined #ruby
dn`_ has left #ruby [#ruby]
djbkd_ has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
nofxxx has joined #ruby
patarr has joined #ruby
FastJack has quit [Read error: Connection reset by peer]
FastJack has joined #ruby
Antiarc has quit [Read error: Connection reset by peer]
Puffball has quit [Remote host closed the connection]
Antiarc has joined #ruby
latemus has quit [Ping timeout: 240 seconds]
nofxxxx has quit [Ping timeout: 268 seconds]
Puffball has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
nhhc has joined #ruby
latemus has joined #ruby
Dimik has quit []
bronson has joined #ruby
jgnagy has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 260 seconds]
jgnagy has joined #ruby
djbkd_ has quit [Remote host closed the connection]
jaruga has joined #ruby
djbkd_ has joined #ruby
latemus has quit [Quit: leaving]
nowhere_man has quit [Ping timeout: 260 seconds]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
djbkd_ has quit [Ping timeout: 268 seconds]
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
bheesham has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
latemus has joined #ruby
bkxd_ has quit [Read error: Connection reset by peer]
ResidentBiscuit has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
drcode has joined #ruby
bkxd has joined #ruby
bheesham has joined #ruby
nobitanobi has joined #ruby
nobitanobi has quit [Remote host closed the connection]
bkxd has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
al2o3-cr has quit [Ping timeout: 268 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
oborot_ has joined #ruby
ResidentBiscuit has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
MichaelBurge has joined #ruby
oborot_ has quit [Ping timeout: 260 seconds]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
ViolentR has joined #ruby
tildes has joined #ruby
uZiel has quit [Ping timeout: 246 seconds]
* ViolentR Hello everyone
blur3d has quit [Ping timeout: 246 seconds]
<ViolentR> Can anyone help me ? i have an issue with gem Faraday trying to authenticate with user and password
muelleme has joined #ruby
blur3d has joined #ruby
jaruga has quit [Quit: jaruga]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambanx has quit [Quit: Leaving]
mikecmpbll has joined #ruby
Silthias1 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
Silthias has quit [Ping timeout: 260 seconds]
tildes has quit [Ping timeout: 240 seconds]
bkxd has quit [Read error: Connection reset by peer]
shinnya has joined #ruby
blur3d has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
AlexRussia has joined #ruby
bheesham has quit [Ping timeout: 246 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dasher00 has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
pandaant has joined #ruby
muelleme has quit [Ping timeout: 268 seconds]
bheesham has joined #ruby
potati has joined #ruby
<potati> Hello guys!
patarr has joined #ruby
<potati> How do you attain twitter/medium/instagram like username handles
<potati> @instagram
dasher00 has joined #ruby
enterprisey has quit [Remote host closed the connection]
potati has quit [Client Quit]
jamesaxl has quit [Read error: Connection reset by peer]
bheesham has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
marr has joined #ruby
nanoz has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
romank has joined #ruby
rgr has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
foul_owl has joined #ruby
<foul_owl> I installed rbenv, ruby-build, and ruby 2.2.0 via rbenv. I then tried to set the ruby version via: rbenv global 2.2.0, but ruby --version still reports the system version
nanoz has quit [Ping timeout: 240 seconds]
drcode has joined #ruby
MichaelBurge has quit [Remote host closed the connection]
<foul_owl> Ah nevermind, rbenv wasn't getting init from my shell, sorry about that
boringcp1 has joined #ruby
boringcpg has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
romank has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
romank has joined #ruby
pandaant has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 268 seconds]
SaschaVoid has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
blackmesa has joined #ruby
tildes has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
SteenJobs has joined #ruby
minimalism has quit [Quit: minimalism]
muelleme has joined #ruby
mathys has joined #ruby
xall has quit [Ping timeout: 246 seconds]
|RicharD| has joined #ruby
romank has quit [Read error: Connection reset by peer]
TomyLobo has joined #ruby
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
muelleme has quit [Ping timeout: 260 seconds]
romank has joined #ruby
<ViolentR> Can anyone help me ? i have an issue with gem Faraday trying to authenticate with user and password
nobitanobi has joined #ruby
patarr has joined #ruby
<ViolentR> like so conn.post('api/sessions', user_credentials)
<ViolentR> i have Basic Authentication is done fore that
blackmesa has quit [Ping timeout: 240 seconds]
<ViolentR> before that
nobitanobi has quit [Ping timeout: 240 seconds]
romank has quit [Read error: Connection reset by peer]
patarr has quit [Ping timeout: 240 seconds]
arquebus has joined #ruby
arquebus has quit [Max SendQ exceeded]
arquebus has joined #ruby
arquebus has quit [Max SendQ exceeded]
Mon_Ouie has joined #ruby
arquebus has joined #ruby
romank has joined #ruby
oborot_ has joined #ruby
Puffball has quit [Remote host closed the connection]
SteenJobs has quit [Quit: SteenJobs]
romank has quit [Read error: Connection reset by peer]
Puffball has joined #ruby
romank has joined #ruby
oborot_ has quit [Ping timeout: 240 seconds]
jgt3 has joined #ruby
romank has quit [Read error: Connection reset by peer]
aupadhye has joined #ruby
<zenspider> ViolentR: you probably want the rails channel
romank has joined #ruby
Bilge has joined #ruby
Bilge- has quit [Ping timeout: 255 seconds]
arquebus has quit [Quit: Leaving]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
mathys has quit [Quit: Leaving]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
SloggerKhan has quit [Read error: Connection reset by peer]
<esObe> hi guys, I'm doing ruby koans and I have a problem with one method
SloggerKhan has joined #ruby
<esObe> Can anyone explain me why the result should be equal to [1, 3, 5, 7, 9] ?
<ledestin> esObe try debugging it
<ledestin> in this particular case using a debugger would be appropriate
Bilge has quit [Quit: B]
Bilge has joined #ruby
Ropeney_ has joined #ruby
bkxd_ has joined #ruby
ResidentBiscuit has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 255 seconds]
Ropeney_ has quit [Client Quit]
aupadhye has quit [Quit: Leaving]
ecuanaso has joined #ruby
ResidentBiscuit has quit [Ping timeout: 258 seconds]
cschneid_ has joined #ruby
<esObe> I skipped 'next' meaning in that loop which is 'abort that particular loop repetition at this point which is odd so it prints odd numbers
jgt3 has quit [Ping timeout: 246 seconds]
cschneid_ has quit [Ping timeout: 272 seconds]
<ViolentR> zenspider ;-) thanks any help will do
nobitanobi has joined #ruby
nobitanobi has quit [Remote host closed the connection]
muelleme has joined #ruby
muelleme has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
User458764 has joined #ruby
kitikonti has joined #ruby
Bilge has quit [Quit: B]
romank has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
cschneid_ has joined #ruby
Bilge has joined #ruby
belmoussaoui_ has quit [Ping timeout: 260 seconds]
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
romank has joined #ruby
kitikonti has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Bilge has quit [Client Quit]
belmoussaoui has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 246 seconds]
Bilge has joined #ruby
belmoussaoui has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
DeeJayh-L has joined #ruby
robotmay has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 240 seconds]
belmoussaoui_ has joined #ruby
joelwallis has joined #ruby
belmoussaoui has quit [Read error: Connection reset by peer]
bronson has joined #ruby
mdw has joined #ruby
jackrandom has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
gil_ has quit [Read error: Connection reset by peer]
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
Fernando-Basso has joined #ruby
horst has quit [Quit: horst]
belmoussaoui_ has quit [Ping timeout: 260 seconds]
DeeJayh has quit [Ping timeout: 240 seconds]
romank has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
romank has joined #ruby
DeeJayh has joined #ruby
Bilge has quit [Quit: B]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
jameser has joined #ruby
muelleme has joined #ruby
Bilge has joined #ruby
sonOfRa has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sonOfRa has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has joined #ruby
arixey has joined #ruby
muelleme has quit [Ping timeout: 246 seconds]
romank has quit [Read error: Connection reset by peer]
ViolentR has quit [Ping timeout: 260 seconds]
romank has joined #ruby
arixey has quit [Quit: Mutter: www.mutterirc.com]
xall_ has joined #ruby
xall has quit [Ping timeout: 240 seconds]
oborot has joined #ruby
dstrunk has joined #ruby
DeeJayh has quit [Ping timeout: 255 seconds]
belmoussaoui has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
dstrunk has quit [Client Quit]
oborot has quit [Ping timeout: 260 seconds]
b0mbnet has quit [Remote host closed the connection]
lxsameer has joined #ruby
joelwallis has quit []
DoubleMalt has joined #ruby
romank has quit [Read error: Connection reset by peer]
ViolentR has joined #ruby
jgt3 has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
romank has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
jgt3 has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Ping timeout: 245 seconds]
romank has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
SaschaVoid has quit [Ping timeout: 255 seconds]
xall_ has quit [Ping timeout: 240 seconds]
romank has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
romank has quit [Read error: Connection reset by peer]
jrafanie has joined #ruby
romank has joined #ruby
Bilge has quit [Quit: B]
nobitanobi has joined #ruby
Bilge has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
bkxd_ has quit [Ping timeout: 240 seconds]
Qchmqs__ has joined #ruby
jgt3 has joined #ruby
quobo has joined #ruby
Qchmqs__ is now known as Qchmqs
KnownSyntax has quit [Ping timeout: 246 seconds]
|RicharD| has quit [Quit: Sto andando via]
KnownSyntax has joined #ruby
ledestin has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
Guest47514 has joined #ruby
DeeJayh has joined #ruby
leah2 has joined #ruby
ResidentBiscuit has joined #ruby
jgt3 has quit [Read error: Connection reset by peer]
sonOfRa has quit [Changing host]
sonOfRa has joined #ruby
muelleme has joined #ruby
Guest47514 is now known as ceglarek
ResidentBiscuit has quit [Ping timeout: 258 seconds]
Qchmqs__ has joined #ruby
bkxd has joined #ruby
ceglarek has left #ruby ["ERC (IRC client for Emacs 25.1.1)"]
blackmesa has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
SaschaVoid has joined #ruby
Qchmqs has quit [Ping timeout: 240 seconds]
romank has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
romank has joined #ruby
bmurt has joined #ruby
DeeJayh-L has quit [Read error: Connection reset by peer]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
romank has quit [Read error: Connection reset by peer]
DeeJayh has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 260 seconds]
belmoussaoui has joined #ruby
romank has joined #ruby
sepp2k has joined #ruby
volty has joined #ruby
aswen has joined #ruby
milardovich has quit []
aswen has quit [Quit: WeeChat 1.6]
romank has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby
bpmedley has joined #ruby
b0mbnet has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
romank has joined #ruby
bmurt has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
uZiel has quit [Ping timeout: 255 seconds]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
eightlimbed has joined #ruby
romank has quit [Read error: Connection reset by peer]
vahe has joined #ruby
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ovaltine> What would be the most idiomatic way to find, given a hash with symbol keys and array of string values, the key that points to an array containing a given string? just select?
npgm has quit [Quit: Connection closed for inactivity]
romank has joined #ruby
doublemalt_ has joined #ruby
nobitanobi has joined #ruby
nobitanobi has quit [Client Quit]
eightlimbed has quit [Ping timeout: 240 seconds]
lordarkmemo has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
SaschaVoid has quit [Quit: die();]
morfin has joined #ruby
<morfin> hello
<morfin> i found bunch of patches to compile 2.3.0 with OpenSSL 1.1 but not sure is that right thing to do?
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
newrubycoder has joined #ruby
jrafanie has quit [Ping timeout: 258 seconds]
unreal has joined #ruby
romank has quit [Read error: Connection reset by peer]
Fernando-Basso has quit [Quit: WeeChat 1.8]
Fernando-Basso has joined #ruby
yqt has joined #ruby
Fernando-Basso has quit [Client Quit]
romank has joined #ruby
ResidentBiscuit has joined #ruby
jackrandom has quit [Remote host closed the connection]
BSAlb has joined #ruby
BSAlb has quit [Max SendQ exceeded]
juancpgo has joined #ruby
BSAlb has joined #ruby
houhoulis has quit [Remote host closed the connection]
BSAlb has quit [Max SendQ exceeded]
Elitas has joined #ruby
<juancpgo> Sorry for the stupidity, but is it fair to say that everything in any piece of Ruby code other than operators, string contents and comments is a Ruby identifier?
<Elitas> pretty much
Fernando-Basso has joined #ruby
<juancpgo> mm thanks for the quick reply Elitas
BSaboia has quit [Ping timeout: 246 seconds]
t-recx has joined #ruby
eputnam_ has joined #ruby
<leah2> keywords?
<leah2> other literals
<leah2> stuff after __END__
houhoulis has joined #ruby
morfin has quit []
sepp2k has quit [Read error: Connection reset by peer]
<juancpgo> I think keywords are identifiers, right? At least it says so in the book I'm reading
lordarkmemo has quit [Quit: Leaving.]
romank has quit [Read error: Connection reset by peer]
lordarkmemo has joined #ruby
<leah2> not sure that would make sense to say
<leah2> >> class = 6
<ruby[bot]> leah2: # => /tmp/execpad-21d07d17efc0/source-21d07d17efc0:2: syntax error, unexpected '=' ...check link for more (https://eval.in/802005)
ResidentBiscuit has quit [Remote host closed the connection]
<lupine> >> local_variable_set("class", 6)
<ruby[bot]> lupine: # => undefined method `local_variable_set' for main:Object ...check link for more (https://eval.in/802006)
<lupine> aww
Qchmqs__ has quit [Quit: Konversation terminated!]
DeeJayh has joined #ruby
romank has joined #ruby
<juancpgo> It says so in the book “The Well Grounded Rubyist", but I can't find another source to confirm that, maybe it's just in this book
PatrikasZvaigzde has quit [Quit: Leaving]
<leah2> lupine: i guess that works...
nadir has joined #ruby
romank has quit [Read error: Connection reset by peer]
<leah2> hm
User458764 has joined #ruby
lordarkmemo has quit [Ping timeout: 255 seconds]
<leah2> >> def class(); "perhaps dblack is right"; end; self.class()
<ruby[bot]> leah2: # => /tmp/execpad-471647fd25c7/source-471647fd25c7:4:in `rescue in <main>': private method `class' called ...check link for more (https://eval.in/802013)
<lupine> >> define_method("class") { "oh" } ; class
<ruby[bot]> lupine: # => /tmp/execpad-96ed57275906/source-96ed57275906:3: syntax error, unexpected modifier_rescue ...check link for more (https://eval.in/802014)
<lupine> >> define_method("class") { "oh" } ; self.class
<ruby[bot]> lupine: # => "oh" (https://eval.in/802015)
<lupine> badum tish, etc
AdaelRuiz has joined #ruby
<AdaelRuiz> hi group
romank has joined #ruby
kappa has joined #ruby
Ropeney_ has joined #ruby
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
Ropeney_ has quit [Client Quit]
resaldis01 has joined #ruby
resaldis01 has left #ruby [#ruby]
blackmesa has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quiller has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
quobo has quit [Quit: Connection closed for inactivity]
hanmac has quit [Ping timeout: 255 seconds]
juancpgo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
djuber has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
bronson has joined #ruby
djuber has left #ruby [#ruby]
djuber`` has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
DeeJayh has quit [Remote host closed the connection]
DeeJayh has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 245 seconds]
jamesaxl has joined #ruby
bmurt has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
drcode has joined #ruby
Elitas has left #ruby [#ruby]
hanmac has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
romank has quit [Read error: Connection reset by peer]
lordarkmemo has joined #ruby
bheesham has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
bheesham has quit [Ping timeout: 260 seconds]
romank has joined #ruby
juan222 has joined #ruby
drcode has joined #ruby
juan222 has quit [Client Quit]
b0mbnet has quit [Remote host closed the connection]
DeeJayh has quit [Ping timeout: 246 seconds]
pb122 has joined #ruby
houhoulis has quit [Remote host closed the connection]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
muelleme has joined #ruby
swills has quit [Ping timeout: 260 seconds]
erlend has joined #ruby
ViolentR has quit [Quit: jIRCii - http://www.oldschoolirc.com]
blackmesa has quit [Ping timeout: 260 seconds]
drcode has joined #ruby
swills has joined #ruby
jcao219 has joined #ruby
romank has quit [Read error: Connection reset by peer]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
DeeJayh has joined #ruby
HoierM has joined #ruby
romank has joined #ruby
Ishido has joined #ruby
drcode has joined #ruby
DLSteve has joined #ruby
SteenJobs has joined #ruby
romank has quit [Read error: Connection reset by peer]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
Bilge has quit [Quit: B]
ResidentBiscuit has quit [Ping timeout: 246 seconds]
A124 has quit [Ping timeout: 255 seconds]
Bilge has joined #ruby
A124 has joined #ruby
DeeJayh has quit [Ping timeout: 258 seconds]
al2o3-cr has joined #ruby
DeeJayh has joined #ruby
rippa has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jrafanie has joined #ruby
lordarkmemo has quit [Ping timeout: 240 seconds]
quiller has joined #ruby
Cohedrin has joined #ruby
PatrikasZvaigzde has joined #ruby
al2o3-cr has quit [Ping timeout: 268 seconds]
Bilge has quit [Quit: B]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bilge has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
vahe has quit [Quit: Leaving.]
rgr_ has joined #ruby
rgr has quit [Ping timeout: 272 seconds]
Bilge has quit [Quit: B]
Bilge has joined #ruby
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
Ishido has quit [Ping timeout: 240 seconds]
majuk has joined #ruby
danguita has joined #ruby
drcode has joined #ruby
justinweiss has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
drcode has quit [Quit: ZNC 1.6.5 - http://znc.in]
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
ecuanaso has joined #ruby
ResidentBiscuit has quit [Ping timeout: 260 seconds]
xall has joined #ruby
drcode has joined #ruby
User458764 has joined #ruby
quiller has quit [Ping timeout: 255 seconds]
shinnya has quit [Ping timeout: 246 seconds]
mg has joined #ruby
quiller has joined #ruby
Mon_Ouie has quit [Read error: No route to host]
bronson has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SteenJobs has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
jamesaxl has quit [Ping timeout: 240 seconds]
SteenJobs has quit [Client Quit]
jrafanie has joined #ruby
dionysus69 has joined #ruby
jrafanie has quit [Client Quit]
SteenJobs has joined #ruby
bheesham has joined #ruby
Bilge has quit [Quit: B]
weathermaker has joined #ruby
Mon_Ouie has joined #ruby
leah2 has quit [Quit: WeeChat 1.8]
leah2_ has joined #ruby
bheesham has quit [Ping timeout: 255 seconds]
leah2_ is now known as leah2
danguita has quit [Remote host closed the connection]
Bilge has joined #ruby
Jerdent has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
volty has quit [Ping timeout: 246 seconds]
morfin has joined #ruby
<morfin> so
<morfin> what can i do about OpenSSL 1.1 and Ruby?
muelleme has quit [Ping timeout: 240 seconds]
<morfin> something has changed in OpenSSL 1.1
jackrandom has joined #ruby
patr0clus has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
armyriad has joined #ruby
blackmesa has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
cfec0b8d has quit [Remote host closed the connection]
lxsameer has joined #ruby
tildes has joined #ruby
MrSparkle has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nhhc has quit [Remote host closed the connection]
Fernando-Basso has quit [Quit: WeeChat 1.8]
KeyJoo has joined #ruby
Jerdent has quit [Quit: Jerdent]
Jerdent has joined #ruby
Cohedrin has joined #ruby
Guest11574 has joined #ruby
<Guest11574> http://breachforums.com/ - Anyone wanna trade databases?
Guest11574 has left #ruby [#ruby]
zachk has joined #ruby
nullfxn has joined #ruby
<Papierkorb> Mh I don't know which channel to relay abuse/spam to on Freenode
<morfin> #freenode
<leah2> #devnull has more helpful ops :P
DLSteve has joined #ruby
nullfxn has quit [Client Quit]
al2o3-cr has joined #ruby
Jerdent has quit [Quit: Jerdent]
morfin has quit []
morfin has joined #ruby
bmurt has joined #ruby
muelleme has joined #ruby
dn` has joined #ruby
jamesaxl has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui has quit [Remote host closed the connection]
belmoussaoui has joined #ruby
rkazak has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
MarkBilk has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
aljmo has joined #ruby
moei has joined #ruby
yogg-saron has joined #ruby
DeeJayh has joined #ruby
<MarkBilk> Hi! I'm trying to use the gem hpricot. I haven't programmed in Ruby for years and that was in Linux. Now I'm stuck in Windows 8.1. My Ruby directory is called Ruby23. irb works. The instructions for hpricot say to install it by: gem install hpricot
<MarkBilk> I do this in irb and get an error message: NameError: undefined local variable or method `hpricot' for main:Object Help, please.
<zachk> gem install thegemyouwant from the command prompt
<zachk> not irb
blackmesa has quit [Ping timeout: 260 seconds]
kitikonti has joined #ruby
<MarkBilk> Thanks!
<zachk> you are welcome :D
majuk has quit [Remote host closed the connection]
<MarkBilk> ERROR: Could not find a valid gem 'hpricot' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
<kappa> hi. i have some question, it seems canvas.bind('Button', proc{|event| puts 'hi'}, "+") isnt working as expected, i have other callback mapped to Button event but it gets removed when i add this other one despite of using "+"
<kappa> some idea?
Jerdent has joined #ruby
justinweiss has quit [Quit: Connection closed for inactivity]
User458764 has joined #ruby
aljmo has quit [Ping timeout: 260 seconds]
sepp2k has joined #ruby
minimalism has joined #ruby
<newrubycoder> anyone here knows a thing or 2 about the .net framework and how to use it with ruby?
Jerdent has quit [Quit: Jerdent]
kegster has quit [Quit: Shiner, TX makes good beer.]
bronson has joined #ruby
nofxxx has quit [Ping timeout: 272 seconds]
<eputnam_> MarkBilk: i’ve heard of that before, windows specific
aljmo has joined #ruby
<eputnam_> have you tried installing hpricot from a local gem?
<morfin> damn i was so close to build Ruby on Windows
<eputnam_> gem install —local <gem_name>
<MarkBilk> Thanks!
nofxxx has joined #ruby
<eputnam_> MarkBilk: but there should also be a fix for that problem somewhere. google is your friend.
<kappa> oh, nvm. i figured it.
bronson has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Quit: belmoussaoui]
DeeJayh has quit [Ping timeout: 260 seconds]
belmoussaoui has joined #ruby
ResidentBiscuit has joined #ruby
cfec0b8d has joined #ruby
swills has quit [Ping timeout: 258 seconds]
ResidentBiscuit has quit [Ping timeout: 258 seconds]
danguita has joined #ruby
<MarkBilk> eputnam_: I'm on the hpricot 0.8.6-i386-mswin32 page, but can't find the link to download from.
bheesham has joined #ruby
<eputnam_> MarkBilk: it’s on the right side under “Links”
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
xall has quit [Quit: xall]
<MarkBilk> eputnam_: got it!
<eputnam_> MarkBilk: dope!
bheesham has quit [Ping timeout: 260 seconds]
aljmo_ has joined #ruby
Guest82871 is now known as Tristan-Speccy
aljmo has quit [Ping timeout: 246 seconds]
Ove_ has left #ruby [#ruby]
<MarkBilk> eputnam_: When I used the -local or /local option I got the same SSL error. Without the option I got: ERROR: While executing gem ... (Gem::Exception) Unable to find spec for #<Gem::NameTuple hpricot, 0.8.6, x86-mswin32>
aljmo__ has joined #ruby
milardovich has quit [Remote host closed the connection]
aljmo_ has quit [Ping timeout: 268 seconds]
<eputnam_> MarkBilk: the argument needs to actually be the path to the downloaded gem
<eputnam_> in case you’re just putting the gem name
ecuanaso has joined #ruby
eightlimbed has joined #ruby
nofxxxx has joined #ruby
KeyJoo has quit [Remote host closed the connection]
<MarkBilk> eputnam_: Giving complete path. With -local it says: invalid option: -ocal With /local it looks for a gem "/local" and gives the SSL error. With no option it gives: ERROR: While executing gem ... (Gem::Exception)
<MarkBilk> Unable to find spec for #<Gem::NameTuple hpricot, 0.8.6, x86-mswin32>
<eputnam_> it’s two hyphens in front of “—local”, sorry my client keeps merging htem
nofxxx has quit [Ping timeout: 240 seconds]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
bheesham has joined #ruby
<MarkBilk> ERROR: While executing gem ... (Gem::Exception)
<MarkBilk> Unable to find spec for #<Gem::NameTuple hpricot, 0.8.6, x86-mswin32>
<eputnam_> ugh
<MarkBilk> The gem file is 379KB, just like the web page says, so it's the right file. But the installer doesn't like it.
aljmo__ has quit [Quit: Leaving]
<eputnam_> MarkBilk: what version of ruby are you using?
<MarkBilk> The directory is called Ruby23.
<eputnam_> and rubygems?
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MarkBilk> gem --version 2.51
<MarkBilk> sorry 2.5.1
jenrzzz has joined #ruby
<eputnam_> MarkBilk: try going here and installing the latest version of rubygems
danguita has quit [Remote host closed the connection]
Silthias has joined #ruby
dviola has joined #ruby
Silthias1 has quit [Ping timeout: 260 seconds]
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
laphoriag75 has joined #ruby
<eputnam_> MarkBilk: any luck?
<MarkBilk> Successfully installed rubygems-update-2.6.12
<MarkBilk> Installing ri documentation for rubygems-update-2.6.12
<MarkBilk> Parsing documentation for rubygems-update-2.6.12
milardovich has joined #ruby
<MarkBilk> Thought it was hung, but it completed!
<MarkBilk> Now for the tricky bit...
jgt has joined #ruby
<MarkBilk> Unable to find spec for #<Gem::NameTuple hpricot, 0.8.6, x86-mswin32>. gem --version 2.5.1!!!
SteenJobs has quit [Quit: SteenJobs]
<MarkBilk> Don't tell me I have to reboot the computer!
<eputnam_> hmmm
dionysus69 has quit [Ping timeout: 240 seconds]
<MarkBilk> I downloaded and used the update gem because I wouldn't know where to put whatever is in the zipfile.
jenrzzz has quit [Ping timeout: 268 seconds]
<MarkBilk> I wouldn't mind tossing the Ruby 2.3 and getting a better one if that would help.
DeeJayh has joined #ruby
<eputnam_> no, i do think that rubygems might be the issue
bernd27 has joined #ruby
<MarkBilk> But hpricot is 5 or 6 years old and I thought that an older version of rubygems might be better suited to it. But this one can't update itself.
<MarkBilk> Hey maybe cmd.com has the old version in cache.
<MarkBilk> how do you do rehash in Windows?
milardovich has quit [Remote host closed the connection]
jackrandom has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
<eputnam_> MarkBilk: i’m not sure actually, i haven’t run windows in years
<eputnam_> this is getting out of my wheelhouse
<MarkBilk> Seems unlikely that gem would say it successfully updated and then not do it.
milardovich has quit [Ping timeout: 240 seconds]
jaegerca has joined #ruby
<eputnam_> MarkBilk:
<eputnam_> that is odd
bheesham has quit [Ping timeout: 240 seconds]
<jaegerca> So lets say I have a model called Community::House, and I have CRUD setup for it in the admin, the path for a new Community::House is new_admin_community_house_path, but when I try to use it in a form like this [:admin, @house] it tries to create a new_admin_community_house which means I can't use this [:admin, @house] convention for both a new and edit form, anyone have any tricks to deal with this?
<jaegerca> Oops, the actual path is new_admin_house_path
<jaegerca> The one it's creating is new_admin_community_house
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
<MarkBilk> eputnam_: gem and gem.cmd were read-only and had same old dates as other files. Trying update again.
tristanp has quit [Ping timeout: 260 seconds]
<MarkBilk> eputnam_: I can't change the permissions. How do you become superuser in Windows?
<eputnam_> you can right-click command prompt or powershell and “run as administrator” i think
DeeJayh has quit [Ping timeout: 240 seconds]
<MarkBilk> right-click just gives me a menu for copy, paste etc
<eputnam_> MarkBilk: i wish i could help more but i’m not sure
SteenJobs has joined #ruby
<MarkBilk> got an answer from google
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<eputnam_> MarkBilk what was it?
jcao219 has quit [Ping timeout: 260 seconds]
<MarkBilk> hold on, didn't make sense, trying another
bernd9000 has joined #ruby
blackmesa has joined #ruby
eputnam_ has quit [Quit: eputnam_]
bernd27 has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
bheesham has joined #ruby
minimalism has quit [Quit: minimalism]
milardovich has joined #ruby
minimalism has joined #ruby
<MarkBilk> The control panel says I aleady AM admin.
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bheesham has quit [Ping timeout: 240 seconds]
<MarkBilk> The Ruby23 directory says read-only -- applies only to files within the directory. I unset read-only, but it comes back.
belmoussaoui has quit [Read error: Connection reset by peer]
belmoussaoui has joined #ruby
milardovich has quit [Remote host closed the connection]
swills has joined #ruby
<MarkBilk> Here's a favorite picture: http://www.cosmicpenguin.com/images/kmfms-final.jpg
galtzo has joined #ruby
galtzo has quit [Client Quit]
milardovich has joined #ruby
mg has quit [Ping timeout: 246 seconds]
thisguy1_ has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
<thisguy1_> Anyone have a sec to help me with an inheritance question?
<thisguy1_> Getting an argument error but I'm not sure why. Code is here -> https://pastebin.com/1Yb1zH6S
<ruby[bot]> thisguy1_: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/227bd15ae70c30586b5e8f09e7800188
<ruby[bot]> thisguy1_: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
bronson has joined #ruby
tristanp has joined #ruby
TreyG has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
SteenJobs has quit [Quit: SteenJobs]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
^jud is now known as jud
jud has quit [Changing host]
jud has joined #ruby
volty has joined #ruby
blackmesa has joined #ruby
quobo has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
Fysicus has quit [Ping timeout: 246 seconds]
d^sh has quit [Ping timeout: 246 seconds]
d^sh has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
DeeJayh has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
belmoussaoui_ has joined #ruby
thisguy1_ has quit [Remote host closed the connection]
Fysicus has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 246 seconds]
belmoussaoui_ has quit [Read error: Connection reset by peer]
belmoussaoui_ has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
belmoussaoui has joined #ruby
belmoussaoui_ has quit [Ping timeout: 268 seconds]
milardovich has quit [Ping timeout: 240 seconds]
bheesham has joined #ruby
swills has quit [Read error: Connection reset by peer]
swills has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
DeeJayh has quit [Ping timeout: 240 seconds]
bheesham has joined #ruby
belmoussaoui__ has joined #ruby
MrSparkle has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
belmoussaoui has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
BSaboia has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
MrSparkle has joined #ruby
enterprisey has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
thisguy1_ has joined #ruby
<thisguy1_> Anyone around?
<thisguy1_> Need help with class inheritance
SteenJobs has joined #ruby
<dcluna> getting "NoMethodError: undefined method `example_group_instance' for #<Proc:0x00000003dae208>" in an innocent-looking spec. Pry-rescue shows a weird stack trice. Can someone help?
aerth has joined #ruby
patr0clus has quit [Ping timeout: 255 seconds]
aerth has left #ruby [#ruby]
eightlimbed has quit [Ping timeout: 268 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MrSparkle has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
MrSparkle has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
KnownSyntax has quit [Read error: Connection reset by peer]
<canton7> thisguy1_, it's something weird to do with Nokogiri::XML::Element. It's as if Element's initialize method isn't virtual, and isn't getting overridden by CraigslistPost's initialize method - the two exist side by side in some weird way, and the runtime gets confused about which to dispatch to. Maybe due to the fact that Nokogiri has native bits to it? I can't find where Element is defined in their source
<canton7> thisguy1_, (btw, the idiomatic way to write that test would be `raise "Must ..." unless html.is_a?(Nokogiri::XML::Element)`
enterprisey has quit [Ping timeout: 260 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
<thisguy1_> canton7: thanks for the info and tip
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
milardovich has joined #ruby
enterprisey has joined #ruby
BSaboia has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
MrSparkle has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
belmoussaoui__ has quit [Ping timeout: 246 seconds]
MrSparkle has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
alveric4 has joined #ruby
patr0clus has joined #ruby
alveric3 has quit [Ping timeout: 260 seconds]
muelleme has quit [Ping timeout: 246 seconds]
morfin has quit []
bheesham has joined #ruby
milardovich has joined #ruby
BSAlb has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
BSaboia has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 240 seconds]
BSAlb has quit [Ping timeout: 240 seconds]
etenref has joined #ruby
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
etenref has quit [Quit: Leaving]
latemus has quit [Quit: Lost terminal]
<MarkBilk> Is there a good tutorial for using nokogiri for HTML? They all seem to be for XML only. (I wanted to use hpricot but the gem won't load in Windows.)
dlitvak has quit [Quit: Connection closed for inactivity]
DeeJayh has joined #ruby
nowhere_man has joined #ruby
BSaboia has joined #ruby
eckhardt has joined #ruby
MrSparkle has quit [Ping timeout: 268 seconds]
thisguy1_ has quit [Remote host closed the connection]
dlitvak has joined #ruby
stupidsenpai has joined #ruby
<stupidsenpai> Does anyone have any experience with rets?
MrSparkle has joined #ruby
bkxd has joined #ruby
skweek has joined #ruby
t-recx has quit [Quit: t-recx]
BSAlb has joined #ruby
BSaboia has quit [Ping timeout: 268 seconds]
Bhootrk_ has joined #ruby
rgr_ has quit [Ping timeout: 260 seconds]
stupidsenpai has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
belmoussaoui has quit [Quit: belmoussaoui]
belmoussaoui has joined #ruby