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
alveric1 has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
alveric4 has quit [Ping timeout: 260 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
bmurt has joined #ruby
bkxd has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
eputnam_ has joined #ruby
Cohedrin has joined #ruby
__Yiota has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bkxd has quit [Read error: Connection reset by peer]
cfec0b8d has quit [Remote host closed the connection]
nicesignal has joined #ruby
Bhootrk_ has quit [Read error: Connection reset by peer]
latemus has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
nicesignal has quit [Quit: WeeChat 1.4]
mostlybadfly has joined #ruby
zachk has quit [Quit: Leaving]
sneakerhax has joined #ruby
nicesignal has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jshjsh has joined #ruby
patr0clus has quit [Quit: tempusfugit]
JoshS has quit [Ping timeout: 240 seconds]
eightlimbed has joined #ruby
__Yiota has joined #ruby
__Yiota has quit [Client Quit]
tristanp has quit [Remote host closed the connection]
uZiel has joined #ruby
gizmore has joined #ruby
nicesignal has quit [Quit: WeeChat 1.4]
bheesham has joined #ruby
__Yiota has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
bheesham has quit [Ping timeout: 246 seconds]
nicesignal has joined #ruby
__Yiota has quit [Client Quit]
al2o3-cr_ has joined #ruby
comet23 has joined #ruby
weathermaker has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 260 seconds]
jgt has quit [Ping timeout: 260 seconds]
cyphase has quit [Ping timeout: 268 seconds]
jcao219 has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
cyphase has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
hoocares has joined #ruby
Bhootrk_ has joined #ruby
pb122-two has joined #ruby
bambanx has joined #ruby
pb122 has quit [Ping timeout: 246 seconds]
nicesignal has quit [Quit: WeeChat 1.4]
eightlimbs has joined #ruby
__Yiota has joined #ruby
eightlimbed has quit [Ping timeout: 240 seconds]
nicesignal has joined #ruby
__Yiota has quit [Client Quit]
jenrzzz has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby
d^sh has joined #ruby
BSaboia has joined #ruby
TomyLobo has quit [Ping timeout: 246 seconds]
BSAlb has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
ResidentBiscuit has joined #ruby
rdavila has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eightlimbs has quit [Ping timeout: 240 seconds]
eightlimbed has joined #ruby
muelleme has joined #ruby
tristanp has joined #ruby
muelleme has quit [Ping timeout: 260 seconds]
tristanp has quit [Remote host closed the connection]
volty has quit [Ping timeout: 246 seconds]
mg___ has joined #ruby
skweek has quit [Ping timeout: 272 seconds]
milardovich has joined #ruby
bheesham has joined #ruby
dasher00 has quit [Ping timeout: 255 seconds]
tristanp has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
dasher00 has joined #ruby
<mg___> q
mg___ has quit [Quit: leaving]
vahe has joined #ruby
bkxd has joined #ruby
ByronJoh1son is now known as ByronJohnson
b0mbnet has joined #ruby
hoocares has quit [Quit: Textual IRC Client: www.textualapp.com]
ResidentBiscuit has quit [Remote host closed the connection]
bheesham has quit [Ping timeout: 260 seconds]
laphoriag75 has quit [Ping timeout: 246 seconds]
skweek has joined #ruby
jrafanie has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcao219 has quit [Ping timeout: 240 seconds]
jgt has joined #ruby
bronson has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Quit: Leaving]
jgt has quit [Ping timeout: 240 seconds]
patr0clus has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
jameser has joined #ruby
jcao219 has joined #ruby
bambanx has quit [Ping timeout: 246 seconds]
jameser has quit [Client Quit]
patr0clus has quit [Client Quit]
tristanp has quit [Remote host closed the connection]
mississippimans is now known as yjltg
tristanp has joined #ruby
houhoulis has quit [Remote host closed the connection]
<uZiel> can I merge exception handling with a do while loop?
<uZiel> like: begin.... rescue ... end while <conditional>
tristanp has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
ptx0 has quit [Read error: Connection reset by peer]
gix has quit [Ping timeout: 246 seconds]
ResidentBiscuit has quit [Ping timeout: 260 seconds]
bheesham has joined #ruby
gix has joined #ruby
tristanp has joined #ruby
eightlimbed has quit [Ping timeout: 240 seconds]
bheesham has quit [Ping timeout: 268 seconds]
eckhardt has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
tristanp has quit [Ping timeout: 268 seconds]
comet23 has quit [Remote host closed the connection]
bheesham has joined #ruby
jenrzzz has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
TreyG has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
jameser has quit [Client Quit]
TreyG has joined #ruby
tristanp has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
bheesham has quit [Ping timeout: 260 seconds]
eightlimbed has joined #ruby
rdavila has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arquebus has joined #ruby
arquebus has quit [Max SendQ exceeded]
arquebus has joined #ruby
tristanp has quit [Remote host closed the connection]
arquebus has quit [Max SendQ exceeded]
arquebus has joined #ruby
KeyJoo has joined #ruby
arquebus has quit [Max SendQ exceeded]
arquebus has joined #ruby
arquebus has quit [Max SendQ exceeded]
Dreamer3 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
KnownSyntax has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
uZiel has quit [Ping timeout: 268 seconds]
HoierM has quit [Ping timeout: 268 seconds]
uZiel has joined #ruby
KnownSyntax has joined #ruby
eightlimbed has quit [Ping timeout: 240 seconds]
pb122-two has quit [Ping timeout: 246 seconds]
dviola has quit [Quit: WeeChat 1.8]
bambanx has joined #ruby
jgt has joined #ruby
bronson has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jgt has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
enterprisey has joined #ruby
segmond has joined #ruby
bheesham has joined #ruby
_whitelogger has joined #ruby
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
tristanp has joined #ruby
kappa has quit [Remote host closed the connection]
jcao219 has quit [Ping timeout: 268 seconds]
tristanp has quit [Remote host closed the connection]
shinnya has joined #ruby
_whitelogger has joined #ruby
_whitelogger has joined #ruby
diego_k has quit [Ping timeout: 245 seconds]
tristanp has joined #ruby
bkxd_ has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
yjltg is now known as mississippimans
_whitelogger has joined #ruby
Nilium has quit [Ping timeout: 260 seconds]
Nilium has joined #ruby
<uZiel> hi
<havenwood> hi
<uZiel> can I iterate through an enumerator without a for/while loop?
nhhc has joined #ruby
bheesham has quit [Ping timeout: 268 seconds]
<havenwood> uZiel: sure
<uZiel> enum.next gives the next element fine, but I want to go through all these elements till the end
<havenwood> uZiel: If you're using `for` in Ruby it's probably not idiomatic Ruby. Take a look at the methods on Enumerator and Enumerable.
<uZiel> arr.each_slice(n) gives me an enum, now how do I go through all the slices without for/while loop?
<havenwood> uZiel: You can pass a block to #each_slice.
<uZiel> oh really
<havenwood> uZiel: Consider the following: [1, 2, 3].each_slice(2) { |a, b| p "#{a} and #{b}" }
<uZiel> ha, silly me
<uZiel> ok got it
<uZiel> thanks havenwood
eputnam_ has quit [Quit: eputnam_]
rippa has joined #ruby
bambanx has quit [Quit: Leaving]
enterprisey has quit [Ping timeout: 268 seconds]
scrooloose has quit [Ping timeout: 245 seconds]
newrubycoder has joined #ruby
jgt has joined #ruby
jgnagy has quit [Remote host closed the connection]
scrooloose has joined #ruby
enterprisey has joined #ruby
jgnagy has joined #ruby
segmond has quit [Quit: l8r]
bronson has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
antgel has joined #ruby
uZiel has quit [Ping timeout: 260 seconds]
xall has joined #ruby
ltem has joined #ruby
enterprisey has quit [Ping timeout: 260 seconds]
danguita has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
xall has quit [Quit: xall]
vahe has quit [Remote host closed the connection]
danguita has quit [Quit: danguita]
oleo has quit [Quit: irc client terminated!]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
dionysus69 has joined #ruby
vahe has joined #ruby
Nilium_ has joined #ruby
Nilium has quit [Ping timeout: 260 seconds]
Nilium_ is now known as Nilium
Yzguy has joined #ruby
_whitelogger has joined #ruby
aep has quit [Ping timeout: 246 seconds]
tildes has joined #ruby
<Mon_Ouie> and 'for x in obj; …; end' is similar to 'obj.each { |x| … }'
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
VladGh_ has joined #ruby
_main_ has joined #ruby
<Yzguy> one line loops doe
_main_ has quit [Read error: Connection reset by peer]
VladGh has quit [Ping timeout: 260 seconds]
__main__ has quit [Ping timeout: 240 seconds]
aep has joined #ruby
__main__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdw has joined #ruby
b0mbnet has quit [Remote host closed the connection]
b0mbnet has joined #ruby
Yzguy has quit [Quit: Zzz...]
lxsameer has joined #ruby
ascheel has quit [Ping timeout: 260 seconds]
bheesham has joined #ruby
rgr_ has joined #ruby
ascheel has joined #ruby
bheesham has quit [Ping timeout: 255 seconds]
cfec0b8d has joined #ruby
TomyLobo has joined #ruby
bheesham has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
Nicmavr has quit [Ping timeout: 246 seconds]
Nicmavr has joined #ruby
Nicmavr is now known as Guest14726
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
Bhootrk_ has quit [Read error: Connection reset by peer]
belmoussaoui has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dasher00 has quit [Ping timeout: 260 seconds]
dasher00 has joined #ruby
djbkd has joined #ruby
nhhc has quit [Remote host closed the connection]
belmoussaoui_ has joined #ruby
bronson has joined #ruby
belmoussaoui has quit [Ping timeout: 272 seconds]
muelleme has joined #ruby
antgel has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
vahe has quit [Quit: Leaving.]
bronson has quit [Ping timeout: 268 seconds]
djbkd has quit [Ping timeout: 240 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
MrSparkle has quit [Ping timeout: 240 seconds]
belmoussaoui_ has quit [Quit: belmoussaoui_]
belmoussaoui_ has joined #ruby
MrSparkle has joined #ruby
belmoussaoui_ has quit [Client Quit]
belmoussaoui_ has joined #ruby
jgt has quit [Ping timeout: 246 seconds]
jameser has joined #ruby
danguita has joined #ruby
AlexRussia has quit [Ping timeout: 260 seconds]
jameser has quit [Ping timeout: 260 seconds]
nowhere_man has quit [Read error: Connection reset by peer]
BubonicPestilenc has joined #ruby
minimalism has quit [Quit: minimalism]
Tempesta has quit [Quit: See ya!]
User458764 has joined #ruby
AlexRussia has joined #ruby
Tempesta has joined #ruby
nowhere_man has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
normie1 has joined #ruby
minimalism has joined #ruby
BSAlb has joined #ruby
oleo has joined #ruby
semtex-h has joined #ruby
diegok has joined #ruby
BSaboia has quit [Ping timeout: 246 seconds]
BSab has joined #ruby
apparition has joined #ruby
BSAlb has quit [Ping timeout: 246 seconds]
Guest12483 has joined #ruby
cfec0b8d has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
antgel has joined #ruby
normie1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
normie1 has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
normie1 has joined #ruby
Guest14726 has quit [Changing host]
Guest14726 has joined #ruby
Guest14726 is now known as Kestrel-029
blackmesa has joined #ruby
tildes has quit [Ping timeout: 246 seconds]
belmoussaoui_ has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
User458764 has joined #ruby
danguita has quit [Remote host closed the connection]
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
ResidentBiscuit has joined #ruby
BubonicPestilenc has quit [Quit: Textual IRC Client: www.textualapp.com]
ResidentBiscuit has quit [Ping timeout: 272 seconds]
belmoussaoui_ has joined #ruby
normie1 has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
doublemalt_ has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
doublemalt_ has joined #ruby
fedruantine has quit [Read error: Connection reset by peer]
tildes has joined #ruby
doublemalt_ has quit [Ping timeout: 240 seconds]
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has joined #ruby
charliesome has quit [Client Quit]
al2o3-cr_ is now known as al2o3-cr
BSab has quit [Quit: Leaving]
BSaboia has joined #ruby
doublemalt_ has joined #ruby
DeeJayh has quit [Ping timeout: 268 seconds]
AlexRussia has quit [Ping timeout: 272 seconds]
nowhere_man has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
Kug3lis has joined #ruby
mtkd has joined #ruby
jcao219 has joined #ruby
DeeJayh has joined #ruby
jgt has joined #ruby
cfec0b8d has joined #ruby
BSAlb has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
BSaboia has joined #ruby
DarkBushido has quit [Ping timeout: 258 seconds]
jgt1 has joined #ruby
jgt has quit [Ping timeout: 260 seconds]
BSAlb has quit [Ping timeout: 240 seconds]
normie1 has joined #ruby
AlexRussia has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
ozzy3 has joined #ruby
<ozzy3> hello ruby lover
romank has joined #ruby
ozzy3 has quit [Client Quit]
bkxd has joined #ruby
AdaelRuiz has quit [Ping timeout: 246 seconds]
DeeJayh has quit [Ping timeout: 272 seconds]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
jgt1 has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
Phage has quit [Ping timeout: 240 seconds]
jgt1 has joined #ruby
yeticry_ has quit [Ping timeout: 255 seconds]
b0mbnet has quit [Remote host closed the connection]
b0mbnet has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
muelleme has quit [Ping timeout: 240 seconds]
romank has quit [Read error: Connection reset by peer]
vahe has joined #ruby
romank has joined #ruby
Emmanuel_Chanel has joined #ruby
bronson has joined #ruby
jgt1 has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 258 seconds]
BSAlb has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
BSab has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
normie1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BSAlb has quit [Ping timeout: 268 seconds]
normie1 has joined #ruby
semtex-h has quit []
Phage has joined #ruby
jgt1 has joined #ruby
HoierM has joined #ruby
sepp2k has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
normie1_ has joined #ruby
HoierM has quit [Max SendQ exceeded]
normie1 has quit [Read error: Connection reset by peer]
HoierM has joined #ruby
eightlimbed has joined #ruby
HoierM has quit [Max SendQ exceeded]
HoierM has joined #ruby
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
houhoulis has joined #ruby
jgt1 has quit [Ping timeout: 240 seconds]
belmoussaoui_ has quit [Remote host closed the connection]
belmoussaoui_ has joined #ruby
eightlimbed has quit [Ping timeout: 260 seconds]
ddffg has joined #ruby
mathys has joined #ruby
jgt1 has joined #ruby
blackmesa has joined #ruby
stupidsenpai has joined #ruby
DeeJayh has joined #ruby
stupidsenpai has quit [Client Quit]
dasher00 has quit [Ping timeout: 260 seconds]
normie1_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puppet___ has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
doublemalt__ has joined #ruby
bkxd has joined #ruby
belmoussaoui_ has quit [Read error: Connection reset by peer]
belmoussaoui_ has joined #ruby
doublemalt_ has quit [Ping timeout: 268 seconds]
dasher00 has joined #ruby
doublemalt__ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
Bhootrk_ has joined #ruby
BSab has quit [Quit: Leaving]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lyubo1 has quit [Ping timeout: 260 seconds]
BSaboia has joined #ruby
ResidentBiscuit has joined #ruby
<MarkBilk> I'm using Ruby 2.3 in MSWindows, trying to use the print method with two objects (OK in 2.4.1 doc), but it gets a syntax error on the comma after the first object. How do I find the docs for Ruby 2.3?
mathys has quit [Quit: Leaving]
Lyubo1 has joined #ruby
ResidentBiscuit has quit [Ping timeout: 246 seconds]
<hanmac> MarkBilk: can you make a gist of your code piece?
jcao219 has quit [Ping timeout: 246 seconds]
<Mon_Ouie> http://ruby-doc.org/core-2.3.0/ --- there were no major syntax changes between 2.3 and 2.4 though
<MarkBilk> print ("elemTag.content = ", elemTag.content) elemTag.content is a string (nokogiri)
normie1 has joined #ruby
DeeJayh has quit [Ping timeout: 240 seconds]
<Mon_Ouie> Remove the space after print
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
doublemalt__ has joined #ruby
User458764 has joined #ruby
jrafanie has joined #ruby
DeeJayh has joined #ruby
<MarkBilk> Thanks! That fixed it.
<normie1> using rvm ruby 2.2, but /usr/bin/ruby -v is saying 2.0.0 and this is what passenger is using causing errors, any ideas?
belmoussaoui has joined #ruby
belmoussaoui_ has quit [Ping timeout: 246 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mon_Ouie> RVM sets up the PATH environment variable to use the correct Ruby version, it doesn't actually change /usr/bin/ruby. I don't know how to tell Passenger to use the correct version though. Are you sure the passenger process is started in an environment where rvm is correctly loaded?
BSAlb has joined #ruby
romank has quit [Read error: Connection reset by peer]
BSaboia has quit [Ping timeout: 240 seconds]
vahe has quit [Quit: Leaving.]
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
bheesham has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
belmoussaoui has quit [Ping timeout: 260 seconds]
jgnagy has quit [Remote host closed the connection]
jgnagy has joined #ruby
houhoulis has quit [Remote host closed the connection]
DLSteve has joined #ruby
tgragnato has joined #ruby
bheesham has quit [Ping timeout: 260 seconds]
belmoussaoui has joined #ruby
jgt1 has quit [Read error: Connection reset by peer]
pankaj has joined #ruby
normie1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
boombox_ has joined #ruby
jgt1 has joined #ruby
normie1 has joined #ruby
priodev has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
boombox_ has quit [Remote host closed the connection]
priodev has joined #ruby
BSaboia has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
BSAlb has quit [Ping timeout: 240 seconds]
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
Mon_Ouie has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
pankaj has quit [Ping timeout: 272 seconds]
jgt1 has quit [Ping timeout: 240 seconds]
boombox_ has joined #ruby
Mon_Ouie has joined #ruby
boombox_ has quit [Ping timeout: 260 seconds]
Guest26966 has quit [Quit: Cya!]
b0mbnet has quit [Remote host closed the connection]
vahe has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
pankaj has joined #ruby
pankaj has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
HoierM has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
danguita has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
Sembei has quit [Read error: No route to host]
Sembei has joined #ruby
romank has quit [Read error: Connection reset by peer]
cbyrda has joined #ruby
HoierM has joined #ruby
romank has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
vahe has quit [Remote host closed the connection]
dionysus69 has joined #ruby
vahe has joined #ruby
romank has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Quit: WeeChat 1.7.1]
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
<MarkBilk> I used hpricot years ago and it was wonderful. But the gem won't install in Ruby2.3 in MSWindows 8.1, so I'm trying to use Nokogiri and having a very hard time. Element.text is supposed to be a String, but it won't print out.
<MarkBilk> When I try to install the hpricot gem I get: ERROR: While executing gem ... (Gem::Exception)
<MarkBilk> Unable to find spec for #<Gem::NameTuple hpricot, 0.8.6, x86-mswin32>
cagmz has joined #ruby
zepy_aq has quit [Remote host closed the connection]
rgr has joined #ruby
<tgragnato> MarkBilk: hpricot development is ceased, you should really migrate to something else
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<MarkBilk> tgragnato: is there anything other than nokogiri?
rgr_ has quit [Ping timeout: 272 seconds]
<tgragnato> oga ....
zepy_aq has joined #ruby
tomphp_ has joined #ruby
<MarkBilk> Is oga easy and fun like hpricot, unlike nokogiri?
<tgragnato> the documentation is very clear
<MarkBilk> Great! Thanks!
Sembei has quit [Quit: WeeChat 1.6-dev]
jcao219 has joined #ruby
kmhn has quit [Remote host closed the connection]
bronson has joined #ruby
ikoma has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
danguita has quit [Remote host closed the connection]
andrzejku has joined #ruby
ikoma has quit [Client Quit]
vahe has quit [Quit: Leaving.]
antgel has quit [Ping timeout: 260 seconds]
DLSteve has joined #ruby
stan has quit [Ping timeout: 240 seconds]
Nilium has quit [Ping timeout: 260 seconds]
SaschaVoid has joined #ruby
Nilium has joined #ruby
SteenJobs has joined #ruby
segmond has joined #ruby
andrzejku has quit [Ping timeout: 240 seconds]
captaintuffy has joined #ruby
romank has quit [Read error: Connection reset by peer]
jgt1 has joined #ruby
kith has joined #ruby
kmhn has joined #ruby
romank has joined #ruby
DTZUZU has joined #ruby
BSAlb has joined #ruby
BSAlb has quit [Max SendQ exceeded]
kmhn has quit [Read error: Connection reset by peer]
kmhn has joined #ruby
BSAlb has joined #ruby
BSaboia has quit [Ping timeout: 255 seconds]
AlexRussia has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
kmhn has quit [Remote host closed the connection]
kmhn has joined #ruby
TreyG has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
TreyG has joined #ruby
romank has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 260 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
romank has joined #ruby
AlexRussia has joined #ruby
workmad3_ has joined #ruby
doublemalt__ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 240 seconds]
PatrikasZvaigzde has quit [Ping timeout: 268 seconds]
PatrikasZvaigzde has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
bheesham has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
BSAlb has quit [Quit: Leaving]
BSaboia has joined #ruby
boringcpg has joined #ruby
ericmath1son has quit [Ping timeout: 255 seconds]
tomphp_ has quit [Read error: Connection reset by peer]
boringcp1 has quit [Ping timeout: 240 seconds]
ericmathison has joined #ruby
tomphp has joined #ruby
doublemalt__ has joined #ruby
newrubycoder has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
DeeJayh has quit [Ping timeout: 246 seconds]
tomphp has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
blackmesa has joined #ruby
uZiel has quit [Ping timeout: 246 seconds]
DeeJayh has joined #ruby
ptx0 has joined #ruby
belmoussaoui_ has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
belmoussaoui has quit [Ping timeout: 260 seconds]
kies has quit [Ping timeout: 240 seconds]
swills has quit [Ping timeout: 246 seconds]
kmhn has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
kmhn has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
DeeJayh has quit [Ping timeout: 260 seconds]
swills has joined #ruby
weathermaker has joined #ruby
jusa has joined #ruby
weathermaker has quit [Client Quit]
weathermaker has joined #ruby
eckhardt has joined #ruby
DeeJayh has joined #ruby
blackmesa has joined #ruby
weathermaker has quit [Client Quit]
segmond has left #ruby [#ruby]
kmhn has quit [Remote host closed the connection]
kmhn has joined #ruby
hndk has joined #ruby
jshjsh has quit [Ping timeout: 240 seconds]
marr has joined #ruby
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
bronson has joined #ruby
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
boringcp1 has joined #ruby
boringcpg has quit [Ping timeout: 246 seconds]
Talltree has quit [Quit: No Ping reply in 210 seconds.]
bronson has quit [Ping timeout: 260 seconds]
gil_ has quit [Ping timeout: 246 seconds]
DTZUZU has quit [Ping timeout: 255 seconds]
ericx2x has joined #ruby
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
noob has joined #ruby
noob has left #ruby ["Leaving"]
jeffreylevesque_ has quit [Ping timeout: 255 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has joined #ruby
Talltree has joined #ruby
ozzy3 has joined #ruby
<ozzy3> hey guys
DeeJayh has quit [Ping timeout: 246 seconds]
tomphp has quit [Ping timeout: 258 seconds]
mdw has joined #ruby
tomphp has joined #ruby
romank has quit [Read error: Connection reset by peer]
doublemalt__ has quit [Quit: Leaving]
tildes has joined #ruby
kies has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
<havenwood> ozzy3: hi
tomphp has quit [Client Quit]
Sauvin has joined #ruby
jcao219 has quit [Ping timeout: 258 seconds]
yogg-saron has joined #ruby
romank has joined #ruby
DeeJayh has joined #ruby
Cohedrin has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
bheesham has quit [Ping timeout: 240 seconds]
hndk has quit [Quit: Leaving]
User458764 has joined #ruby
<ozzy3> how can i writin select other users nick
<ozzy3> like u
<ozzy3> havenwood
<nofxxxx> MarkBilk, nokogiri has no more than 3 methods, what's complex its xpath/css
<nofxxxx> but kinda like regex, after sometime you get usued to it and it's readable
jusa has quit [Ping timeout: 240 seconds]
<nofxxxx> To learn each: rubular for regex and browser plugin for xpath... kinda like Ctrl + Shift + C on browser consoles you'll see the xpath
mdw has quit [Quit: Sleeping Zzzzz]
stormbytes has joined #ruby
Bock has quit [Quit: Leaving]
<stormbytes> back to ruby after 4 days of hell dancing around Node's async model
bheesham has joined #ruby
<ozzy3> :)
bheesham has quit [Ping timeout: 240 seconds]
kmhn has quit [Ping timeout: 240 seconds]
kmhn has joined #ruby
<nofxxxx> stormbytes, after we decided js was a piece of s* we decided to write everything in JS
<stormbytes> huh
qguv has joined #ruby
<stormbytes> i dunno about it being a pos. I started with it some 2-3 years back with this project I had at the time and just went on with it... thinking it wasn't all that different than Ruby once you got the hang of it, and with all the Node hype
<stormbytes> but i never got my head around Promises and how to integrate these into a server side scripting workflow
belmoussaoui has joined #ruby
<elomatreb> Promises and a comfortable asynchronous workflow are the only reasons why I would even consider writing something JS
bheesham has joined #ruby
<stormbytes> i guess if you need that sort of thing
<stormbytes> I need to be able to return values from functions (predictably) and assign those values onwards in my workflow
<stormbytes> all this split-streaming b.s. is for the youngins
DeeJayh has quit [Ping timeout: 260 seconds]
<havenwood> ozzy3: type "hav" then hit <tab>
belmoussaoui_ has quit [Ping timeout: 246 seconds]
belmoussaoui_ has joined #ruby
qguv has quit [Quit: bye]
al2o3-cr has quit [Ping timeout: 240 seconds]
qguv has joined #ruby
al2o3-cr has joined #ruby
bheesham has quit [Ping timeout: 255 seconds]
belmoussaoui has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has joined #ruby
kegster has joined #ruby
<ozzy3> haha
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bheesham has joined #ruby
DeeJayh has joined #ruby
<stormbytes> elomatreb what kind of tasks require an async workflow?
<havenwood> elomatreb: The last node app I looked at used promises for api calls but if one failed the whole promise broke. I guess promises get better in ES2017.
fedruantine has joined #ruby
<elomatreb> By "comfortable" I meant some layer of abstraction above just using raw threads
mathys has joined #ruby
<stormbytes> right
qguv has quit [Quit: bye]
<stormbytes> if you don't mind getting me started on my uphill climb back into Ruby, how does the workflow map from javascript?
qguv has joined #ruby
<stormbytes> i'm specifically referring to node as all my work is in scripts
lxnr has joined #ruby
<stormbytes> so, i presume gem = npm
<stormbytes> are gems stored locally? globally? both?
eckhardt has joined #ruby
mathys has quit [Client Quit]
<nofxxxx> stormbytes, gem install == npm install -g
qguv has quit [Client Quit]
User458764 has joined #ruby
<nofxxxx> stormbytes, check `gem env` also, to see where things are going
<stormbytes> ah, thanks
<stormbytes> so no local/global gems?? all gems installed once then?
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stormbytes> i mean.. with npm every project had its own copies
<nofxxxx> I know, personally I prefer gem default way... but you can install where you want
<nofxxxx> stormbytes, also check out bundler...
<nofxxxx> that's how you'll do in a project... so you can easily install/update global or local
qguv has joined #ruby
lxnr has quit [Quit: WeeChat 1.7.1]
qguv has quit [Client Quit]
<stormbytes> ahh that rings a bell!
<stormbytes> bunder is the task runner?
<stormbytes> bundler
<stormbytes> or something like that
<stormbytes> and.. whats the correct workflow for gem installation + use? Do you start a new project, gem install <whatever gems> then create your files and start coding?
Bock has joined #ruby
<havenwood> stormbytes: Usually for an app you'll create a Gemfile, put your deps in there, then run: bundle
<havenwood> stormbytes: That will create a Gemfile.lock with the exact versions of each gem for your app.
<havenwood> stormbytes: You then distribute the Gemfile.lock in version control so everyone can use the same versions of the same deps.
<havenwood> stormbytes: It's more similar to Yarn than npm.
<stormbytes> never used Yarn
<stormbytes> what about gem versions?
<stormbytes> do you explicitly state those in the gemfile?
<havenwood> stormbytes: You can specify those in your Gemfile, then the exact versions and versions of deps will be generated in your Gemfile.lock.
<stormbytes> was going to be my next question... :)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ericx2x has quit [Remote host closed the connection]
<havenwood> stormbytes: Here's a fairly complicated Gemfile, for example: https://github.com/discourse/discourse/blob/master/Gemfile
<havenwood> stormbytes: It's just Ruby code.
<stormbytes> wow that's awesome... you can execute ruby code within the gemfile, state conditions, etc
<havenwood> yes
<stormbytes> must say, its a bit overwhelming having to start over (again) but I feel with Ruby i know what i'm buying......
<stormbytes> the javascript workflow is very disjunct (in my impression)
<havenwood> stormbytes: Give Yarn a try.
<stormbytes> link?
<havenwood> stormbytes: https://github.com/yarnpkg/yarn
<havenwood> stormbytes: https://yarnpkg.com/en/
<stormbytes> hm
<stormbytes> my main issue with javascript was the asynchronous workflow. I'm doing all of my work on the server (command line scripts, etc)
<stormbytes> need sync execution
<havenwood> (Yarn was done by some of the same folk who started Bundler.)
<havenwood> wycats, et al
<havenwood> "Hermes"
<havenwood> What "Bundler" was born as.
<stormbytes> i came to javascript after about a year or so of working with Ruby, it really seemed like the javascript workflow was essentially a clone... but, that's just my very limited viewpoint
belmoussaoui has joined #ruby
ozzy3 has left #ruby [#ruby]
belmoussaoui_ has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
DeeJayh has quit [Ping timeout: 246 seconds]
ozzy3 has joined #ruby
ta_ has joined #ruby
mim1k has joined #ruby
ozzy3 has quit [Read error: Connection reset by peer]
SaschaVoid has quit [Ping timeout: 272 seconds]
ltem has quit [Quit: Leaving]
Bock has quit [Quit: Leaving]
Bock has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DeeJayh has joined #ruby
bheesham has joined #ruby
jshjsh has joined #ruby
ur5us has joined #ruby
bronson has joined #ruby
swills has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Cohedrin has quit [Quit: Textual IRC Client: www.textualapp.com]
bronson has quit [Ping timeout: 260 seconds]
t-recx has joined #ruby
Sauvin has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
swills has joined #ruby
aglorei has joined #ruby
romank has joined #ruby
aglorei has quit [Quit: WeeChat 1.4]
jshjsh has quit [Ping timeout: 246 seconds]
aglorei has joined #ruby
KnownSyntax has quit [Ping timeout: 240 seconds]
DeeJayh has quit [Ping timeout: 246 seconds]
KnownSyntax has joined #ruby
bheesham has quit [Ping timeout: 260 seconds]
bheesham has joined #ruby
jusa has joined #ruby
bheesham has quit [Ping timeout: 255 seconds]
jusa has quit [Ping timeout: 240 seconds]
boringcpg has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jgt1 has quit [Ping timeout: 268 seconds]
boringcp1 has quit [Ping timeout: 260 seconds]
minimalism has joined #ruby
jshjsh has joined #ruby
SaschaVoid has joined #ruby
cschneid_ has joined #ruby
cschneid_ has quit [Remote host closed the connection]
bkxd has joined #ruby
mississippimans is now known as mississippiman
SteenJobs has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
DeeJayh has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
im0nde has joined #ruby
im0nde has quit [Client Quit]
im0nde has joined #ruby
milardovich has joined #ruby
timvisher has quit [Read error: Connection reset by peer]
timvisher has joined #ruby
ascarter has joined #ruby
bronson has joined #ruby
mississippiman is now known as raceho
romank has quit [Read error: Connection reset by peer]
jshjsh has quit [Ping timeout: 268 seconds]
romank has joined #ruby
romank has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
milardovich has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romank has joined #ruby
DeeJayh has quit [Ping timeout: 272 seconds]
anuxivm has joined #ruby
bronson has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit []
eputnam_ has joined #ruby
<eputnam_> o/
SaschaVoid has quit [Read error: Connection reset by peer]
SaschaVoid has joined #ruby
adgtl has quit [Quit: bye]
__Yiota has joined #ruby
tristanp has quit [Remote host closed the connection]
__Yiota has quit [Client Quit]
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
Antiarc has quit [Ping timeout: 272 seconds]
<havenwood> \o
romank has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
patr0clus has joined #ruby
romank has joined #ruby
dviola has joined #ruby
anuxivm has left #ruby [#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
sepp2k1 has quit [Read error: Connection reset by peer]
volty has joined #ruby
adgtl has joined #ruby
recondite has joined #ruby
hanna has joined #ruby
Antiarc has joined #ruby
tristanp has quit [Remote host closed the connection]
patr0clus has quit [Read error: Connection reset by peer]
patr0clus has joined #ruby
tristanp has joined #ruby
tristanp has quit [Remote host closed the connection]
romank has quit [Read error: Connection reset by peer]
Bhootrk_ has quit [Quit: Leaving]
romank has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
enterprisey has quit [Read error: Connection reset by peer]
romank has quit [Read error: Connection reset by peer]
romank has joined #ruby
Trynemjoel has joined #ruby
jusa has joined #ruby
SaschaVoid has quit [Quit: die();]
jusa has quit [Ping timeout: 246 seconds]
recondite has quit [Remote host closed the connection]
tgragnato has left #ruby ["Sto andando via"]
romank has quit [Read error: Connection reset by peer]
SenpaiSilver has quit [Quit: Leaving]
wnd has quit [Ping timeout: 240 seconds]
romank has joined #ruby
patr0clus has quit [Read error: Connection reset by peer]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
<MarkBilk> nofxxxx: Problem with Nokogiri: tutorial at http://ruby.bastardsbook.com/chapters/html-parsing/ He says: puts page.css("title")[0].text # => My webpage. Correct, and works on my webpage too: http://www.cosmicpenguin.com/linux/ But change "title" to "img" (of which there are two on my page) and it does not print anything. hpricot was MUCH better.
wnd has joined #ruby
patr0clus has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
Lord_of_Life has quit [Quit: EliteBNC free bnc service - http://elitebnc.org - be a part of the Elite!]
alveric2 has joined #ruby
jshjsh has joined #ruby