apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
jkubecki has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
havenwood has joined #ruby-lang
thiagobo_ has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
bcardarella_ has left #ruby-lang [#ruby-lang]
jerrytgarcia has quit [Client Quit]
sepp2k1 has quit [Quit: Leaving.]
bcardarella has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 256 seconds]
smook1 has quit [Ping timeout: 255 seconds]
mdedetrich has joined #ruby-lang
hogeo has joined #ruby-lang
danielchao has joined #ruby-lang
thiagobo_ has quit [Ping timeout: 245 seconds]
justinmburrous has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
kstuart has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: Leaving]
thiagoborges has joined #ruby-lang
krz has joined #ruby-lang
ykk` has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Mawk has quit [Quit: Mawk]
danielchao has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
glebm has quit [Ping timeout: 264 seconds]
Weems has joined #ruby-lang
retro|cz has quit [Ping timeout: 248 seconds]
jkubecki has joined #ruby-lang
retro|cz has joined #ruby-lang
smook1 has joined #ruby-lang
jkubecki has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
bzalasky has joined #ruby-lang
lcashdol has joined #ruby-lang
glebm has joined #ruby-lang
jonahR has quit [Quit: jonahR]
Nisstyre-laptop has joined #ruby-lang
ykk` has quit [Quit: ykk`]
Asher has joined #ruby-lang
retro|cz has quit [Ping timeout: 248 seconds]
bzalasky has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
dingus_khan has joined #ruby-lang
<dingus_khan> is there a way to inherit just a single method from a superclass in place?
LinkedoT has joined #ruby-lang
bzalasky has joined #ruby-lang
Spaceghost|work has joined #ruby-lang
retro|cz has quit [Ping timeout: 276 seconds]
bzalasky has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
pipework has quit [Ping timeout: 264 seconds]
bzalasky has joined #ruby-lang
matthewalr has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<matthewalr> Hello, is anyone familiar with a ruby IDE that does inilne evaluation using the #=> after a line of code?
robbyoconnor has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
Domon has joined #ruby-lang
thiagoborges has quit [Read error: Connection reset by peer]
r0bby_ has quit [Ping timeout: 248 seconds]
retro|cz has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 248 seconds]
ykk` has joined #ruby-lang
ykk` has quit [Client Quit]
Spaceghost|work has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
mdedetrich has joined #ruby-lang
dhgreene has joined #ruby-lang
jonahR has joined #ruby-lang
guns has quit [Ping timeout: 248 seconds]
jonahR has quit [Ping timeout: 245 seconds]
machuga is now known as machuga|away
retro|cz has quit [Ping timeout: 252 seconds]
retro|cz has joined #ruby-lang
jonahR has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 264 seconds]
MouseTheLuckyDog has quit [Read error: Operation timed out]
mdedetrich has quit [Quit: Computer has gone to sleep.]
synthetix has joined #ruby-lang
guns has joined #ruby-lang
dingus_khan has joined #ruby-lang
Raynes is now known as skrillex
skrillex is now known as Raynes
mdedetrich has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
synthetix_ has joined #ruby-lang
MouseTheLuckyDog has joined #ruby-lang
justinmburrous has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
retro|cz has joined #ruby-lang
synthetix has quit [Remote host closed the connection]
notak has quit [Quit: notak]
lcashdol has quit [Quit: Leaving.]
mdedetrich has quit [Quit: Computer has gone to sleep.]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
jonahR has quit [Quit: jonahR]
retro|cz has quit [Ping timeout: 264 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
notak has joined #ruby-lang
bzalasky has joined #ruby-lang
danielchao has joined #ruby-lang
danielchao has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
ikrima has quit [Quit: Computer has gone to sleep.]
dingus_khan has joined #ruby-lang
charliesome has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
matthewalr has quit [Quit: Textual IRC Client: www.textualapp.com]
mbj has joined #ruby-lang
notak has quit [Quit: notak]
Rakko has joined #ruby-lang
bzalasky has joined #ruby-lang
notak has joined #ruby-lang
gmci has quit [Ping timeout: 264 seconds]
Smatic has joined #ruby-lang
vlad_starkov has joined #ruby-lang
retro|cz has quit [Ping timeout: 255 seconds]
retro|cz has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
havenwood has joined #ruby-lang
gmci has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 255 seconds]
<bcardarella> Is there a way to access a protected method who's instance has been superseded with Module#prepend
<bcardarella> I have a failing test here: https://gist.github.com/bcardarella/5746455
<bcardarella> Obviously needs Ruby 2.0
Smatic has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
bseekins has joined #ruby-lang
bseekins has left #ruby-lang [#ruby-lang]
bseekins has joined #ruby-lang
bseekins has quit [Client Quit]
bseekins has joined #ruby-lang
bseekins has quit [Client Quit]
retro|cz has quit [Ping timeout: 264 seconds]
retro|cz has joined #ruby-lang
MasterNayru has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 276 seconds]
retro|cz has joined #ruby-lang
notak has quit [Quit: notak]
bzalasky has joined #ruby-lang
tylersmith has joined #ruby-lang
retro|cz has quit [Ping timeout: 255 seconds]
imperator2 has joined #ruby-lang
tylersmith has quit [Ping timeout: 248 seconds]
sush24 has joined #ruby-lang
mouse_ has joined #ruby-lang
jonahR has joined #ruby-lang
dingus_khan has joined #ruby-lang
rippa has joined #ruby-lang
MouseTheLuckyDog has quit [Ping timeout: 255 seconds]
ikrima has quit [Quit: Computer has gone to sleep.]
mouse_ has quit [Ping timeout: 248 seconds]
dingus_khan has quit [Ping timeout: 255 seconds]
vlad_starkov has joined #ruby-lang
dLog has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
imperator2 has quit [Quit: Leaving]
mouse_ has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
ffio has joined #ruby-lang
dingus_khan has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
notak has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Rakko has quit [Quit: Bye]
vlad_starkov has joined #ruby-lang
matthewalr has joined #ruby-lang
bzalasky has joined #ruby-lang
matthewalr has quit [Client Quit]
nathanstitt has quit [Quit: I growing sleepy]
sush24 has quit [Ping timeout: 276 seconds]
sush24 has joined #ruby-lang
tylersmith has joined #ruby-lang
tylersmith has quit [Ping timeout: 252 seconds]
thebastl has joined #ruby-lang
sush24 has quit [Ping timeout: 245 seconds]
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
nevill has joined #ruby-lang
therealnoop has joined #ruby-lang
sush24 has joined #ruby-lang
spike|spiegel has quit [Quit: WeeChat 0.4.1]
brianpWins has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
notak has quit [Quit: notak]
apeiros has quit [Remote host closed the connection]
notak has joined #ruby-lang
spike|spiegel has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
tbuehlmann has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
MasterNayru has quit [Ping timeout: 276 seconds]
MasterNayru_ has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
tomzx_mac has quit [Ping timeout: 255 seconds]
gmci has quit [Quit: Computer has gone to sleep.]
tonni has quit [Remote host closed the connection]
sush24 has quit [Ping timeout: 246 seconds]
guns has quit [Quit: guns]
smook1 has quit [Ping timeout: 255 seconds]
face has joined #ruby-lang
lguardiola has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
workmad3 has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
justinmburrous has quit [Remote host closed the connection]
chana has joined #ruby-lang
dr_bob has joined #ruby-lang
tylersmith has joined #ruby-lang
pygmael has joined #ruby-lang
pygmael has quit [Excess Flood]
pygmael has joined #ruby-lang
thebastl has joined #ruby-lang
therod has joined #ruby-lang
dingus_khan has joined #ruby-lang
tonni has joined #ruby-lang
tylersmith has quit [Ping timeout: 245 seconds]
vmoravec has joined #ruby-lang
mbj has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
dhgreene has quit [Quit: dhgreene]
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
solars has joined #ruby-lang
retro|cz has joined #ruby-lang
chana has quit [Quit: chana]
tonni has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
tonni has joined #ruby-lang
GeissT_ has quit [Ping timeout: 255 seconds]
ffio_ has joined #ruby-lang
apeiros has joined #ruby-lang
ffio has quit [Ping timeout: 248 seconds]
JohnBat26 has joined #ruby-lang
cofin has quit [Quit: cofin]
enaqx has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
roadkith has joined #ruby-lang
hogeo has joined #ruby-lang
barttenbrinke has joined #ruby-lang
<dingus_khan> I'm trying to sleep by a second or two between puts'ing each line of a heredoc--best way to do that?
hogeo has quit [Remote host closed the connection]
<apeiros> sleep 1
barttenbrinke has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Weems has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby-lang
dagobah has joined #ruby-lang
postmodern has joined #ruby-lang
<dingus_khan> right, but is there a way to get each line of a heredoc individually? I'm trying to use recursion to print out each line of a big block of text with a slight delay
<dingus_khan> I can't find anything on heredocs in the ruby docs or anything useful through googling
Mon_Ouie has quit [Ping timeout: 264 seconds]
<canton7> dingus_khan, split it on newlines - it's just a string, use string methods on it
Richie has joined #ruby-lang
Asher1 has joined #ruby-lang
<dingus_khan> SWEET, thank you canton7, I totally didn't realize that! man that makes things easier, lol
Asher1 has quit [Client Quit]
Asher has quit [Ping timeout: 248 seconds]
Mon_Ouie has joined #ruby-lang
Asher has joined #ruby-lang
<canton7> "well in ruby we have many kinds of strings. double-quoted, single-quoted, heredoc, %q, %Q... They each have their own methods"
<canton7> man that would be a nightmare
<apeiros> dingus_khan: a heredoc is just a string
<apeiros> blupp, noticed canton7 already said that
<dingus_khan> hah, no kidding--I'm just happy it's a string at this point, lol
<dingus_khan> thanks apeiros!
<apeiros> *sniff* my docs are still broken
* apeiros tries regenerating them
wallerdev has quit [Quit: wallerdev]
Richie has quit []
arocco has joined #ruby-lang
retro|cz has quit [Ping timeout: 240 seconds]
solars has quit [Ping timeout: 255 seconds]
retro|cz has joined #ruby-lang
tylersmith has joined #ruby-lang
io_syl_ has quit [Quit: Computer has gone to sleep.]
poga_ has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby-lang
<dingus_khan> man this is proving very tricky... any ideas on how to get an individual line to print out after a delay like that?
dwainfaithfull has joined #ruby-lang
tylersmith has quit [Ping timeout: 245 seconds]
<apeiros> errr…
notak has quit [Ping timeout: 248 seconds]
<apeiros> String#each_line
<apeiros> or #lines
<apeiros> you should try to look at the core API once in a while…
<dingus_khan> lines... hmmm... I want to do it with recursion, though. and yeah, I'm on the docs page now, but I'm coming up blank at the moment
<apeiros> "look there's a nail! but I want to drive it in using my screwdriver!"
tbuehlmann has quit [Remote host closed the connection]
<apeiros> wtf? recursion? why are you intentionally impeding yourself?
sush24 has joined #ruby-lang
<dingus_khan> lol, because I'm a masochist like that?
<apeiros> well… then you deserve no help and should be left suffering - that's what you want after all :-p
<dingus_khan> I just want to know if it can be done
<apeiros> of course it can be done
<dingus_khan> lol, touche! :P
ia___ has quit [Quit: ia___]
<dingus_khan> right, now I just gotta figure out how in the next few minutes before I pass out from exhaustion, lol
bzalasky has quit [Remote host closed the connection]
bougyman has quit [Quit: Lost terminal]
bougyman has joined #ruby-lang
poga has joined #ruby-lang
dhruvasagar has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
retro|cz has joined #ruby-lang
tonni has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
schaerli has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
<yorickpeterse> morning
bastilian has joined #ruby-lang
<dingus_khan> morning! welp, I give up, g'night!
dingus_khan has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
jinie_ is now known as jinie
ikrima has quit [Quit: Computer has gone to sleep.]
judofyr has joined #ruby-lang
swav has quit [Remote host closed the connection]
<judofyr> HEY RUBBY
<yorickpeterse> HAI
barttenbrinke has joined #ruby-lang
tonni has joined #ruby-lang
<judofyr> HAI YORICK
retro|cz has quit [Ping timeout: 264 seconds]
solars has joined #ruby-lang
<apeiros> HAI FRY!
barttenbrinke has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
<yorickpeterse> Hm thread question: in a Sinatra request I want to spawn a thread that uses some data from `params`, could this lead to potential race conditions?
<yorickpeterse> As in, where Sinatra clears the hash before the thread is done
<zzak> hi
therod has quit [Quit: Leaving...]
ikrima has joined #ruby-lang
<zzak> apeiros: whats the prollem?
<judofyr> yorickpeterse: I don't think so
<apeiros> zzak: time. always. why?
<yorickpeterse> note that the thread is not joined though
dhruvasagar has joined #ruby-lang
<yorickpeterse> so the rest doesn't wait for it
<zzak> apeiros: somethin about docs being broken
<apeiros> zzak: oh, yeah… second…
<apeiros> $ ri String
<apeiros> /Users/memyselfandi/.rvm/gems/ruby-2.0.0-p195@tracker/gems/rdoc-3.12.2/lib/rdoc/ri/store.rb:196:in `load': instance of RDoc::Context::Section needs to have method `marshal_load' (TypeError)
<zzak> why are you using rdoc 3.12 on ruby 2.0?
<apeiros> I updated rdoc and reran `rvm docs generate`
<zzak> 2.0 comes with rdoc 4
<apeiros> it says I have rdoc 4.0.1
<zzak> its because 3.x doesnt know about ruby 2.0
<apeiros> interesting
<judofyr> yorickpeterse: I'm pretty sure that params comes from @request.params
<zzak> then why is it using 3.12
<judofyr> yorickpeterse: and it per-request
<apeiros> ri says it's 3.12.2… wtf
<judofyr> s/it/is/
<zzak> apeiros: what does gem list say?
<apeiros> it says I have 3 versions. I uninstalled all and reinstall rdoc… lets see…
<yorickpeterse> judofyr: well yeah, but said thread might still be running when the request is done
<yorickpeterse> thus the data might be removed, though I'm not sure if that would actually happen
<apeiros> (I had 4.0.1, 4.0 and 3.12.2)
<zzak> apeiros: weird
<apeiros> ok, problem resolved
<apeiros> but why would it prefer the old version?
<zzak> 2.0.0-p195 should have rdoc 4.0.1 default
<zzak> gems bug maybe, if you can repro
<judofyr> yorickpeterse: as long as it has a reference it shouldn't be GC'ed
<zzak> apeiros: open a ticket if you can repro
<yorickpeterse> hmmm
<apeiros> lets see what happens if I explicitly reinstall 3.12.2
<zzak> could be an rvm bug too
<apeiros> possible
<apeiros> yupp, bug reappears if I install 3.12.2
gnufied has joined #ruby-lang
<zzak> what command are you using?
<apeiros> `ri String`
<zzak> can you try it without rvm?
<apeiros> which resolves to `/Users/memyselfandi/.rvm/gems/ruby-2.0.0-p195@tracker/bin/ri`
<apeiros> hm, how?
<zzak> actually
<zzak> this seems like a rvm bug, because i have 3.x installed on trunk
<zzak> and it works for me
<apeiros> [2] pry(main)> Gem.bin_path('rdoc', 'ri', ">= 0")
<apeiros> => "/Users/blupp/.rvm/gems/ruby-2.0.0-p195@tracker/gems/rdoc-3.12.2/bin/ri"
mbj has quit [Ping timeout: 276 seconds]
<zzak> irb(main):001:0> Gem.bin_path('rdoc', 'ri', ">= 0")
<zzak> => "/Users/zzak/.rubies/ruby-trunk/lib/ruby/gems/2.1.0/gems/rdoc-4.0.0/bin/ri"
barttenbrinke has joined #ruby-lang
<apeiros> odd…
<zzak> yeah, rvm bug
<zzak> probably something to do with their default gem shim or something
<apeiros> how so? the two gems are in the same directory…
therod has joined #ruby-lang
jonahR has joined #ruby-lang
<zzak> try #rvm and/or file a ticket
<Olipro> anyone recommend webpages/sites that describe threading in MRI ruby 1.9 well?
stef_204 has joined #ruby-lang
elia has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
<apeiros> zzak: well, I asked in #rvm for somebody to reproduce
retro|cz has joined #ruby-lang
<apeiros> I don't really see how rvm can interfere at that point
<apeiros> aha… rvm auto-using bundler is the culprit
<zzak> ruby-bundler
<zzak> or w/e
<apeiros> yes
retro|cz has quit [Ping timeout: 246 seconds]
retro|cz has joined #ruby-lang
swav has joined #ruby-lang
zomgbie has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
jerrytgarcia has quit [Client Quit]
therealnoop has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby-lang
roadkith has quit [Quit: Leaving...]
jonahR has quit [Quit: jonahR]
tylersmith has quit [Ping timeout: 264 seconds]
jinie is now known as Jinie
swav has quit [Remote host closed the connection]
Jinie is now known as jinie_
<yorickpeterse> so who here is all going to Euruko?
Mon_Ouie has quit [Ping timeout: 252 seconds]
therealnoop has joined #ruby-lang
skade has joined #ruby-lang
retro|cz has quit [Ping timeout: 245 seconds]
rippa has quit [Ping timeout: 240 seconds]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Client Quit]
mdedetrich has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
swav has joined #ruby-lang
poga has quit [Read error: Connection reset by peer]
poga has joined #ruby-lang
benxao has quit [Read error: Connection reset by peer]
benxao has joined #ruby-lang
Criztian has joined #ruby-lang
benlovell has joined #ruby-lang
zachlatta has joined #ruby-lang
fsvehla has joined #ruby-lang
zomgbie has quit [Read error: Connection reset by peer]
marr has joined #ruby-lang
<yorickpeterse> well that kill the chat
<yorickpeterse> * killed
stamina has joined #ruby-lang
<apeiros> another bullet point on your CV
tylersmith has joined #ruby-lang
<gnufied> wow
<yorickpeterse> I think my next item for my CV will be "Hates on Linux modules"
<gnufied> I am about to release this thingy - https://github.com/code-mancers/invoker
<gnufied> if anyone has any feedback, much appreciated!
<gnufied> (bullet point in CV)
<yorickpeterse> what does this solve that Foreman/<insert supervisor> does not solve?
<gnufied> esp. compared to foreman, it lets to manage individual processes
tylersmith has quit [Ping timeout: 246 seconds]
<gnufied> as in, start/stop/reload just one process in the manager
<gnufied> and I believe error reporting etc is much better here.
zomgbie has joined #ruby-lang
<gnufied> entire process manager does not crashes when one process crashes
<gnufied> small things basically.
<yorickpeterse> ah
barttenbrinke has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
poga has quit [Read error: Connection reset by peer]
poga has joined #ruby-lang
barttenbrinke has joined #ruby-lang
postmodern has quit [Quit: Leaving]
atmosx has joined #ruby-lang
roadkith has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
nevill has quit [Quit: nevill]
yorickpeterse is now known as yorick-writing-p
yorick-writing-p is now known as yorick-perl-lol
yorick-perl-lol is now known as yorick-lol-perl
<yorick-lol-perl> so yeah, writing Perl
<yorick-lol-perl> oh boy
atmosx has quit [Quit: And so the story goes…]
<apeiros> yorick-lol-perl: `use dot`
<judofyr> isn't it dots?
<apeiros> true
barttenbrinke has quit [Remote host closed the connection]
<yorick-lol-perl> meh, this is not my Perl code
<yorick-lol-perl> I'm just making it use proper exit statuses and such
<yorick-lol-perl> because errors totally belong in STDOUT with an exit status of 0
yorick-lol-perl is now known as yorickpeterse
<whitequark> Carp::croak
<whitequark> and these people tell us ruby packages are named funny
<injekt> tmoin
<judofyr> god, I hate the function names in Carp
<judofyr> I always forget them
<judofyr> croak, cloak, confess? wtf?
<injekt> croakers gonna croak
<injekt> cloakers gonna cloak
<injekt> confessers gonna.. :/
<judofyr> cluckers gonna confess
<apeiros> oooh
machuga|away is now known as machuga
<apeiros> confess
Markvilla has joined #ruby-lang
<apeiros> awesome method name
<yorickpeterse> whitequark: say whatever you want but the Acme packages are the best
<apeiros> sounds a bit like the counterpart to git's blame
swav_ has joined #ruby-lang
<gnufied> it is the end point on nsa_panel isn't it? /nsa_panel/confess
<apeiros> eeehehe
yorickpeterse is now known as yorick-devops
<yorick-devops> inb4 schizophrenia
<gnufied> (alright!)
swav has quit [Ping timeout: 240 seconds]
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
schaerli has joined #ruby-lang
<yorick-devops> whitequark: meh, I just realized this Macbook doesn't have enough USB ports for a dongle
<yorick-devops> it does have one of those PCM-something-I-can-never-remember-the-name-of slots
<injekt> mine has a special kind of slot
poga has quit [Remote host closed the connection]
<apeiros> PCMCIA
<apeiros> but that's long gone
<yorick-devops> a....dongle...gate?
<yorick-devops> *badum tsh*
* yorick-devops runs
tonni has quit [Read error: Connection reset by peer]
<apeiros> yorick-devops: didn't some python conf have a dongle gate? :)
swav_ has quit [Ping timeout: 248 seconds]
tonni has joined #ruby-lang
<yorick-devops> Every morning I wake up wondering if I can make a joke even more bad than the previous one, I never fail to amaze myself
<yorick-devops> not sure what's worse, that or me sitting here with a grin on my face because of it
swav has joined #ruby-lang
yorick-devops is now known as yorickpeterse
barttenbrinke has joined #ruby-lang
toretore has joined #ruby-lang
Domon has quit [Remote host closed the connection]
<yorickpeterse> so what's the standard these days for shipping a Gem including a Rack app in turns of starting it? Right now I'm basically tapping into Rack::Server but that requires some extra work to make it work when the config.ru is somewhere other than $PWD
<yorickpeterse> I don't want to redefine every option such as --port and such, and "Vegas" looks meh
<hackeron> hey, I'm trying to force encoding to UTF-8 replacing any invalid bytes, I'm doing: whois = whois.encode!('UTF-8', 'UTF-8', :invalid => :replace); -- but whois.scan(/role:\s+(.+)/i) still throws ArgumentError: invalid byte sequence in UTF-8 -- why? - how do I get rid of these invalid bytes?
LinkedoT has quit [Ping timeout: 255 seconds]
<judofyr> hackeron: I believe that is a no-op if it's already UTF-8
<hackeron> judofyr: hmm, how do I force it?
LinkedoT has joined #ruby-lang
zomgbie has quit [Read error: Connection reset by peer]
<judofyr> hackeron: try .force_encoding('BINARY').encode!('UTF-8', invalid: :replace, undef: :replace)
<apeiros> no
<judofyr> no?
<apeiros> >> "ä".force_encoding('BINARY').encode!('UTF-8', invalid: :replace, undef: :replace)
<eval-in> apeiros => "��" (https://eval.in/33221)
<apeiros> not a good idea
<apeiros> any high-byte will be replaced
<apeiros> s/any/every/
<judofyr> >> "ä".encoding
<eval-in> judofyr => #<Encoding:UTF-8> (https://eval.in/33222)
<apeiros> you can abuse utf-8 -> utf-16 -> utf-8
<apeiros> >> "ä\xff".encode('UTF-8', invalid: :replace, undef: :replace).encode('utf-8')
<eval-in> apeiros => "ä\xFF" (https://eval.in/33223)
<judofyr> you could also first force encode it to UTF-8 and check #valid_encoding?
<apeiros> o0
<judofyr> (and in that case do nothing)
<apeiros> sure, optimizations welcome
<apeiros> I think in 2.1 we finally get constructs to clean polluted strings
<judofyr> yeah, scrub
<judofyr> apeiros: yeah, but that will also cause "ä" to roundtrip properly
<apeiros> judofyr: that's what he wants…
<apeiros> he only wants to remove invalid bytes
dr_bob has quit [Quit: Leaving.]
<apeiros> ä is not invalid
<apeiros> but I'm a bit confused why \xff survived…
<apeiros> oh, stupid
<apeiros> >> "ä\xff".encode('UTF-16', invalid: :replace, undef: :replace).encode('utf-8')
<eval-in> apeiros => "ä�" (https://eval.in/33224)
<apeiros> forgot to replace utf-8 with utf-16 :D
<apeiros> and yes, if you want to optimize, you can do 3 different cases:
<judofyr> I'm so looking forward to String#scrub in 2.1
<apeiros> source encoding is utf-8 and valid_encoding? -> do nothing
<apeiros> source encoding is utf-8 and NOT valid_encoding? -> do the above
<apeiros> source encoding is NOT utf-8 -> just do `.encode('UTF-8', invalid: :replace, undef: :replace)`
<apeiros> also, don't use encode! (bang version) if you reassign
dr_bob has joined #ruby-lang
<apeiros> (though, seems encode! breaks with gsub! etc.'s tradition of returning nil on no-op)
<apeiros> anyway, don't use encode!, as you probably use it on an argument, and mutating arguments is BAD, m'kay?
<apeiros> judofyr: agreed, looking forward to #scrub too
<hackeron> judofyr: thank you, .force_encoding('BINARY').encode!('UTF-8', invalid: :replace, undef: :replace) worked like a charm :D
<judofyr> hackeron: please read what apeiros mentioned above though
* apeiros sobs
<apeiros> devs and encodings - does not compute.
<apeiros> hackeron: if you only want 7bit ascii, why do you use utf-8?
dwainfaithfull has quit [Quit: dwainfaithfull]
<apeiros> btw., interesting how many utf-8 encodings ruby knows…
GeissT has joined #ruby-lang
<apeiros> judofyr: https://gist.github.com/apeiros/5748037 - whatchathink?
<judofyr> apeiros: seems fine
* apeiros tweedidles
tbuehlmann has joined #ruby-lang
teleological has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
<apeiros> judofyr: how about https://gist.github.com/apeiros/5748037 ?
<apeiros> changed how it works with defaults
mbj has joined #ruby-lang
<judofyr> apeiros: move the default out to a constant?
<apeiros> usually I do that, didn't here because I am already monkey patching :-/
<apeiros> but yeah, probably still nicer
<judofyr> there's always define_method and a closure…
benlovell has quit [Ping timeout: 252 seconds]
zomgbie has joined #ruby-lang
fbernier has quit [Quit: ZNC - http://znc.in]
<apeiros> tweeted :)
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
thebastl_ has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
jinie_ is now known as jinie
jinie is now known as jinie_
thebastl has quit [Ping timeout: 264 seconds]
poga has joined #ruby-lang
poga has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
poga has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
<whitequark> yorickpeterse: enjoy your apple experience
sepp2k has quit [Quit: Leaving.]
<hackeron> apeiros: well, I'm getting the whois information from https://github.com/weppos/whois and then storing it in the database which is all UTF-8, so I don't really care about the details, just when I look for strings in the whois data, it keeps throwing this error I was trying to get rid of :P
vlad_sta_ has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
<hackeron> apeiros: it is very rare and caused by someone access this page from some IP with bizare whois information: http://monitor.zanview.com/
ldnunes has joined #ruby-lang
tylersmith has joined #ruby-lang
thebastl_ has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
shinnya has joined #ruby-lang
tylersmith has quit [Ping timeout: 246 seconds]
<apeiros> hackeron: in other words "bla bla bla, I don't care if my data is utterly broken, I prefer having no clue etc. etc. etc.", the usual.
<yorickpeterse> whitequark: IT JUST WORKS
<yorickpeterse> but yeah, I'd rather have an ugly Thinkpad over the apple crap
<apeiros> sorry if that's rough, but it's frustrating how many coders stay willfully ignorant
<gnufied> apeiros: so encoding.equal can return UTF-8 even when underlying encoding could be UTF-16 ?
<gnufied> just looking at your method
<apeiros> gnufied: what?
<apeiros> no, encoding.equal?(Encoding::UTF_8) is only true if your encoding is indeed utf8
<gnufied> dumb question then, why encode to UTF-16 before again encoding to UTF-8?
<apeiros> because otherwise it won't apply your options
<apeiros> if you call encode('utf-8') on a utf-8 encoded string, ruby won't do anything.
<apeiros> >> "ä\xff".encode('utf-8', invalid: :replace, undef: :replace).valid_encoding?
<eval-in> apeiros => false (https://eval.in/33235)
<apeiros> >> "ä\xff".encode('utf-8', invalid: :replace, undef: :replace)
<eval-in> apeiros => "ä\xFF" (https://eval.in/33236)
<apeiros> gnufied: ^
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
nkr has joined #ruby-lang
roadkith has quit [Quit: Leaving...]
benlovell has joined #ruby-lang
nathanstitt has joined #ruby-lang
hogeo has joined #ruby-lang
tomzx_mac has joined #ruby-lang
justinmburrous has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
<hackeron> apeiros: precisely, heh - except it's not really my data but yeh :P
GeissT_ has joined #ruby-lang
<hackeron> apeiros: I prefer to stay willingly ignorant about the sillicon and about how ethernet is encapsulated and machine languagely and all those other things happening when I type .force_encoding(... - you have to pick your level abstraction and what to go to lower levels with :)
<yorickpeterse> I...wow
<yorickpeterse> that's a pretty broken comparisment
Mawk has joined #ruby-lang
GeissT has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby-lang
GeissT_ has quit [Quit: MillBroChat AdIRC User]
GeissT has joined #ruby-lang
GeissT has quit [Client Quit]
fsvehla has quit [Quit: fsvehla]
enaqx has quit [Remote host closed the connection]
enaqx has joined #ruby-lang
krz has quit [Quit: krz]
<hackeron> yorickpeterse: this is the app where I got the encoding error from parsing whois returned by the ruby whois library: It was written by me, from scratch, including the opencv code, rabbitmq, openvpn, custom dns and all the other bits required to make it get video from multiple locations reliably over an intermittent connection: http://monitor.zanview.com/ -- you can appreciate how little my concern is for the broken whois data
<yorickpeterse> broken whois data isn't what I was referring to, but not caring about encoding was
<yorickpeterse> The whois "format" in general is pretty broken anyway
lguardiola has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
<hackeron> yorickpeterse: I know some things about encoding, from having to deal with pelcod and other serial protocols, but I havent' got round to going too in depth, but even if I did, I'd still want just 1 liner to "get rid of all this shit from my string" :P
<apeiros> hackeron: simple: str.replace("")
<apeiros> there. all shit is gone from your string.
<yorickpeterse> well yeah, that's understandable. Sadly when it comes to encoding bollocks that tends to be pretty hard
MasterNayru_ has quit [Remote host closed the connection]
<hackeron> apeiros: that's all the good shit gone too :) - I just want the "invalid" stuff stripped and I don't really care what it is
<apeiros> meh, encodings are not hard to understand. I'm inclined to agree that rubys toolset for dealing with it is far from good, though.
<apeiros> hackeron: you'd do well to figure why there's invalid stuff there in the first place
workmad3 has quit [Ping timeout: 240 seconds]
<kalleth> 10 Jun 13:26:52 - info: application started on http://localhost:3333/
<kalleth> 10 Jun 13:26:52 - info: compiled in NaNms
<kalleth> hash javascript
<apeiros> there is a chance that your source data is invalid to start with, then stripping it is sane. but there's a good chance that you just fail to acknowledge the source encoding.
<hackeron> apeiros: to be honest, in this instance, I really don't care, lol - I could file a bug to ruby's whois library but this is like not even 1% of the app's functionality, it's just a cool factor, look some times it can identify what the ISP is by whois'ing your IP - I really dont' care if there's any invalid data there, I just don't want it throwing an exception
<apeiros> then don't use utf-8.
<hackeron> apeiros: I don't ruby's whois does
<apeiros> treat it as binary data. since it's opaque to you anyway.
<hackeron> apeiros: I'm just working with what it gives me
x0f has quit [Ping timeout: 248 seconds]
<hackeron> this is the library I'm using which is giving me this invalid data: https://github.com/weppos/whois
<apeiros> and, got an example where the data is invalid?
<hackeron> hang on
<hackeron> I think it was the whois for this IP 200.195.144.210 - let me double check
x0f has joined #ruby-lang
thiagoborges has joined #ruby-lang
tomkadwill has joined #ruby-lang
<apeiros> Whois.whois(blupp).to_s gives me a binary string, not utf-8
fbernier has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
<apeiros> (and all my defaults are set to utf-8, so that's not it)
<hackeron> yes, it's for IP 200.195.144.210
<hackeron> apeiros: maybe mongoid converts it to utf-8 when storing in the database?
<hackeron> apeiros: so how would you turn that binary into valid utf-8?
<apeiros> you can't. you could as well ask me how to turn a jpeg into valid utf-8.
<hackeron> ok, so what do you suggest other than the above?
<apeiros> as I said, treat it as binary all the way then, if you don't want to add encoding-sniffing (all you can do with binary data is guess anyway)
x0f has quit [Ping timeout: 246 seconds]
<hackeron> what would work better than taking whatever is in the database (utf-8) and doing .force_encoding('BINARY').encode!('UTF-8', invalid: :replace, undef: :replace)?
<hackeron> how do you add encoding-sniffing?
therealnoop has quit [Ping timeout: 264 seconds]
dhgreene has joined #ruby-lang
tdy has quit [Read error: Connection reset by peer]
sush24 has joined #ruby-lang
tdy has joined #ruby-lang
<apeiros> non-trivial. there are a couple of encoding guessing gems around, but I found them to be rather unreliable and wrote something for my use-case. but that is not applicable to yours.
carloslopes has joined #ruby-lang
<apeiros> in your case, the proper source encoding would be iso-8859-1
<hackeron> yeh, guessing encoding isn't easy :(
<apeiros> or windows-1252
<hackeron> yeh, for that whois result, but they are all different
<apeiros> correct. which is why sniffing/guessing is difficult.
<hackeron> and for me it's acceptible to lose the characters it can't recognise or even the whole thing as long as it works most of the time, which it does :)
<apeiros> a cheap and probably successful way would probably be to force encode utf-8, check for validity
<apeiros> if invalid, force encode to win-1252, encode utf-8
yalue has joined #ruby-lang
<apeiros> if that fails, force encode to utf-8 and scrub the invalid chars (as shown above)
tylersmith has joined #ruby-lang
<hackeron> apeiros: erm, is there an easy 1 liner to do all this? :P
AynGhandi has joined #ruby-lang
<apeiros> no. this is ~6 lines
<hackeron> is there a library that does this and maybe some other helpful tests to try to guess encoding?
arocco_ has joined #ruby-lang
<apeiros> as said, there are a couple, but I found them rather unreliable.
<hackeron> :(
<hackeron> wonder what browsers do, they must have some pretty advanced encoding guessing going on
<apeiros> but my use-case involved only 3 encodings: utf-8, win1252 and macroman
x0f has joined #ruby-lang
<hackeron> yeh, mine involve who knows what :)
<apeiros> well, one of the gems I tried implemented mozillas guessing algorithm
mistym has joined #ruby-lang
mistym has joined #ruby-lang
arocco has quit [Ping timeout: 246 seconds]
<apeiros> which misguessed most of my test-cases
krames has joined #ruby-lang
<hackeron> oh, heh - which gem is that?
<apeiros> uff, don't remember. it's about a year ago and since I didn't end up using it…
gja has quit [Quit: This computer has gone to sleep]
<apeiros> rchardet, I think
vlad_starkov has joined #ruby-lang
<hackeron> interesting, I'll check that one out
pipework has joined #ruby-lang
<apeiros> hm, might try ActiveSupport::Multibyte::Unicode.tidy_bytes
<apeiros> seems to fit your use-case.
tylersmith has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
<apeiros> heh, the code looks horrible
<apeiros> (doesn't mean it's bad, though - dealing with encodings can lead to horrible code)
fsvehla has joined #ruby-lang
cored has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 276 seconds]
tbuehlmann has quit [Remote host closed the connection]
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
dhgreene has quit [Quit: dhgreene]
therealnoop has joined #ruby-lang
mbj has joined #ruby-lang
dr_bob has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
krames has joined #ruby-lang
krames has quit [Client Quit]
cored_ has joined #ruby-lang
scampbell has joined #ruby-lang
dr_bob has quit [Ping timeout: 276 seconds]
<yorickpeterse> http://www.steveklabnik.com/ what the
krames has joined #ruby-lang
<hackeron> apeiros: thanks, having a look :)
cored_ has quit [Remote host closed the connection]
<apeiros> yorickpeterse: that's a twitter bootstrap theme :)
<apeiros> geocities
cored_ has joined #ruby-lang
tonni has quit [Remote host closed the connection]
<yorickpeterse> I know
<yorickpeterse> oh wait
<yorickpeterse> THERE'S A THEME?
<yorickpeterse> WHERE DO I FIND THIS
<yorickpeterse> I NEED DIS
dwainfaithfull has joined #ruby-lang
<yorickpeterse> holy shit
<yorickpeterse> it's.....wonderful
<apeiros> indeed :D
<yorickpeterse> I have an internal app here that uses Bootstrap, I'm so installing this
<apeiros> I intend to switch an app we use here on april 1st ^^
elia has quit [Ping timeout: 248 seconds]
breakingthings has joined #ruby-lang
<hackeron> apeiros: oooh, that works nicely, thanks :D
Mawk has quit [Quit: Mawk]
Mawk has joined #ruby-lang
<apeiros> tidy_bytes?
cored has quit [Ping timeout: 252 seconds]
<hackeron> yeh
elia has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
cored_ has quit [Ping timeout: 248 seconds]
teleological has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 246 seconds]
GeissT has joined #ruby-lang
x0f has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<judofyr> hackeron: https://github.com/brianmario/charlock_holmes can guess encodings
cored_ has joined #ruby-lang
tomkadwill has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 248 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zomgbie has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby-lang
Uranio has joined #ruby-lang
Weems has joined #ruby-lang
tonni has joined #ruby-lang
gmci has joined #ruby-lang
gmci has quit [Max SendQ exceeded]
scottschecter has quit [Ping timeout: 248 seconds]
<yorickpeterse> there we go, added said theme to our app
gmci has joined #ruby-lang
<yorickpeterse> ?retro=1 and it pops up
gmci has quit [Client Quit]
mucker has joined #ruby-lang
zomgbie has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
hhatch has quit [Ping timeout: 246 seconds]
headius has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tomkadwill has joined #ruby-lang
robbyoconnor has joined #ruby-lang
schaerli has joined #ruby-lang
justinmburrous has joined #ruby-lang
Weems has quit [Ping timeout: 276 seconds]
<yorickpeterse> Also, when ruby bitches about a constant already being defined, is there a way to tap in to that to see where?
roadkith has joined #ruby-lang
vlad_starkov has joined #ruby-lang
bgant has joined #ruby-lang
<yorickpeterse> well there we go, good ol' `puts caller` in the corresponding file
enaqx has quit [Remote host closed the connection]
jstemmer has joined #ruby-lang
enaqx has joined #ruby-lang
henrikhodne has joined #ruby-lang
cofin has joined #ruby-lang
wmoxam has joined #ruby-lang
benxao has quit [Read error: Connection reset by peer]
benxao has joined #ruby-lang
sush24 has joined #ruby-lang
ryotarai has joined #ruby-lang
benwoody has left #ruby-lang [#ruby-lang]
tonni has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 246 seconds]
LinkedoT has quit [Ping timeout: 255 seconds]
tylersmith has quit [Ping timeout: 276 seconds]
tomkadwill has quit [Remote host closed the connection]
enaqx has quit [Ping timeout: 276 seconds]
tonni has joined #ruby-lang
nveselinov has quit [Ping timeout: 248 seconds]
barttenbrinke has joined #ruby-lang
ryotarai has quit [Quit: ZNC - http://znc.in]
ryotarai has joined #ruby-lang
jsullivandigs has joined #ruby-lang
<yorickpeterse> TIL Ruby doesn't like symbolic links for require calls
enaqx has joined #ruby-lang
<gnufied> it doesn't follow them?
<yorickpeterse> Well I'm not sure if it was Ruby itself or Bundler. Either way, I had some local bundler configs pointing to a symlink (I moved some stuff around)
<yorickpeterse> apparently that causes files to be loaded twice
jsullivandigs has quit [Ping timeout: 246 seconds]
ryotarai has quit [Quit: ZNC - http://znc.in]
<apeiros> yeah, ruby considers a/b.rb to be different from a/c.rb, even if they're symlinked.
<yorickpeterse> hm
<yorickpeterse> ah well, updating the bundler config fixed it
mucker has quit [Read error: Connection reset by peer]
tomkadwill has joined #ruby-lang
mucker has joined #ruby-lang
davemaurakis has joined #ruby-lang
mbj has quit [Ping timeout: 248 seconds]
stef_204 has joined #ruby-lang
nveselinov has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
nveselinov has quit [Client Quit]
mistym has quit [Remote host closed the connection]
nveselinov has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
rippa has joined #ruby-lang
vlad_starkov has joined #ruby-lang
nathanstitt has joined #ruby-lang
tbuehlmann has joined #ruby-lang
vbatts|work has joined #ruby-lang
teleological has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
tomkadwill has quit [Remote host closed the connection]
mbj has joined #ruby-lang
pskosinski has joined #ruby-lang
smook1 has joined #ruby-lang
timinat0r has joined #ruby-lang
wallerdev has joined #ruby-lang
wesside_ has joined #ruby-lang
LinkedoT has joined #ruby-lang
nveselinov has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 246 seconds]
smook1 has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby-lang
scottschecter has joined #ruby-lang
kstuart has joined #ruby-lang
lcashdol has joined #ruby-lang
tonni has quit [Remote host closed the connection]
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has quit [Changing host]
mbj has quit [Quit: Lost terminal]
smook1 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
forrest has joined #ruby-lang
tylersmith has joined #ruby-lang
wesside_ has quit [Quit: Computer has gone to sleep.]
holgerno has quit [Quit: Linkinus - http://linkinus.com]
tylersmith has quit [Ping timeout: 246 seconds]
DomKM has quit [Quit: Leaving.]
hhatch has joined #ruby-lang
<crankharder> is there anything i can do to this regex to match two groups "foo" and "bar" instead of the one it's currently grabbing?
<crankharder> ?> "(foo) blah (bar)".match(/\((.*)\)/)
<crankharder> => #<MatchData "(foo) blah (bar)" 1:"foo) blah (bar">
timinat0r has left #ruby-lang [#ruby-lang]
stef_204 has quit [Remote host closed the connection]
<crankharder> fwiw, ultimately i'm only interested in the last set set of parens.
schroedinbug has quit [Quit: WeeChat 0.4.0]
shinnya has quit [Ping timeout: 245 seconds]
<judofyr> crankharder: .*?
thebastl_ has joined #ruby-lang
<judofyr> >> "(foo) blah (bar)".match(/\((.*?)\)/)
<eval-in> judofyr => #<MatchData "(foo)" 1:"foo"> (https://eval.in/33247)
<judofyr> crankharder: ^
<bgant> crankharder: try /\(([\w]+)\)$/
<bgant> that will anchor the match to the end
<crankharder> judofyr: that doesn't match them both or the last one?
thebastl_ has quit [Remote host closed the connection]
<crankharder> bgant: i'm not 100% sure the last paren is at the end of the line :/
rikai_ has joined #ruby-lang
<bgant> crankharder: hmm… split on spaces and capture the last entry?
AynGhandi has quit [Quit: Nettalk6 - www.ntalk.de]
tomkadwill has joined #ruby-lang
<apeiros> crankharder: scan
<apeiros> match only matches once
<apeiros> scan is for multiple matches
thebastl has quit [Ping timeout: 240 seconds]
<apeiros> or change your regex if it's always exactly 2 matches
_ffio_ has joined #ruby-lang
<apeiros> e.g. /\((.*?)\).*?\((.*?)\)/
ffio_ has quit [Ping timeout: 245 seconds]
<gnufied> ugh
rikai has quit [Ping timeout: 260 seconds]
<crankharder> yea, one of those ought to work, ty
jacktrick has joined #ruby-lang
zmike123 has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
bastilian has quit [Quit: Leaving...]
thiagoborges has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving.]
bzalasky has joined #ruby-lang
<injekt> khaase: ping
schaerli has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 276 seconds]
<injekt> anyone else here work on travis?
skade has quit [Quit: Computer has gone to sleep.]
<henrikhodne> injekt: I do.
<henrikhodne> injekt: How can I help you?
stef_204 has joined #ruby-lang
<Aloysius1> Hello! I made a gem a while back and pushed it to a colleague who is trying to use it but is getting the "cannot load" for the version.rb file. I remember having the same problem, and that it was an easy fix, but I don't remember what it was. Anyone have this issue?
tomkadwill has quit [Remote host closed the connection]
scampbell_ has joined #ruby-lang
<injekt> henrikhodne: I'm having issues installing Nokogiri on JRuby on travis but literally no-where else, any chance you're able to literally run a gem install to see a backtrace? I'm on nokogiri core and trying to fix this
<henrikhodne> injekt: I'll take a look in a bit.
scampbell_ has quit [Max SendQ exceeded]
<injekt> henrikhodne: Thanks, ping me if you could :)
scampbell_ has joined #ruby-lang
<yorickpeterse> Today Yorick wraps Python in RubyGems
<yorickpeterse> Tomorrow I nail some legs on to an octopus
<injekt> Today yorick does something else stupid
<yorickpeterse> u mad? le trol lelele u mad?
scampbell has quit [Ping timeout: 246 seconds]
<injekt> omadkase
<yorickpeterse> Darn it, I had the perfect image for that "le trol" thing
<yorickpeterse> there was an entire subreddit dedicated to it even
sush24 has quit [Ping timeout: 264 seconds]
<yorickpeterse> ah well
sush24 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<headius> injekt, henrikhodne: looks like an encoding bug in Psych, perhaps default encoding on Travis is something we're not coping with right
<yorickpeterse> in unrelated news, fuck C extensions for <insert language> as they make distribution more painful
<headius> I don't know of any open psych encoding issues, so keep me posted on this
<headius> (psych in JRuby)
<headius> yorickpeterse: indeed
<yorickpeterse> I don't say this often but at least this Java code base was easy to package in a RubyGem
enebo has joined #ruby-lang
roadkith has quit [Quit: Leaving...]
<injekt> headius: I pinged you in the Nokogiri thread hopefully we can come up with something there
<yorickpeterse> oh shit, this code actually is *drumroll*:
<yorickpeterse> Ruby code that calls Python which then calls OpenNLP (Java)
<yorickpeterse> YO DAWG
vlad_starkov has joined #ruby-lang
nveselinov has joined #ruby-lang
<henrikhodne> injekt: Here's the backtrace: https://gist.github.com/henrikhodne/18effb8427a898aa835e
<henrikhodne> injekt: I'm happy to give you access to a VM to debug this on.
<apeiros> Open Neurolinguistic Programming?
roadkith has joined #ruby-lang
<headius> injekt: ok, thanks
<injekt> henrikhodne: I'm not sure I can help much on the JRuby side of things, is Psych being funky, headius?
<yorickpeterse> apeiros: opennlp.apache.org
gnufied has joined #ruby-lang
<headius> injekt: it shouldn't be...but we use a yaml library that's a bit more strict than libyaml
teleological has quit [Remote host closed the connection]
<headius> so it's either some bad yaml coming in that our library refuses, or it's a bug in how we decode the yaml before passing it to psych
<injekt> headius: Odd, I'm struggling to see how this is related directly to Nokogiri, either
<headius> you might look at the gemspec to see if it has any multibyte characters
tomkadwill has joined #ruby-lang
<injekt> Heh, it will do
<injekt> The nokogiri symbol
<headius> mmmm
<injekt> >> "\u{92f8}"
<eval-in> injekt => "鋸" (https://eval.in/33249)
<headius> hmm, JRuby 1.7.3? Has travis not been updated yet?
<henrikhodne> headius: We're working on that this week.
benlovell has quit [Ping timeout: 264 seconds]
<headius> I don't see any specific fixes for this in psych in 1.7.4, so it may not help...but it could be something peripheral, like encoding fixes in IO (there were many in 1.7.4)
<headius> henrikhodne: what's LANG set to on the travis instances?
<henrikhodne> headius: en_US.UTF-8
<headius> should be fine...hrmph
bzalasky has quit [Remote host closed the connection]
Aloysius1 has quit [Read error: Connection reset by peer]
<henrikhodne> Trying this on 1.7.4 to see what happens.
Aloysius1 has joined #ruby-lang
<henrikhodne> headius: Yeah, it works fine on 1.7.4.
<headius> ok, good
<headius> FIXED!
<injekt> Cool, would you guys mind weighing in on that thread?
<yorickpeterse> because you like that feature so much
tomkadwill has quit [Remote host closed the connection]
<yorickpeterse> and those 3 lines essentially mean I can't use mkmf's "find_executable"
<yorickpeterse> bah
<injekt> headius: henrikhodne: Thanks for chiming in on this quickly!
<headius> no problem
sepp2k has quit [Quit: Leaving.]
dhruvasagar has joined #ruby-lang
<henrikhodne> injekt: No problem. Feel free to ping me or pop into #travis if you have any other Travis issues.
lcashdol is now known as larry0
tylersmith has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
enebo has quit [Quit: enebo]
tylersmith has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
apeiros has quit [Remote host closed the connection]
teleological has joined #ruby-lang
<Uranio> exist any transaltion of "_why's poignat guide to ruby" to spanish??
<Uranio> each time I googled, only answer guides to Ruby's PoKéMon
vlad_starkov has quit [Remote host closed the connection]
ruurd has joined #ruby-lang
henrikhodne has quit [Quit: Computer has gone to sleep.]
GeissT has quit [Quit: MillBroChat AdIRC User]
krohrbaugh has joined #ruby-lang
<yorickpeterse> whitequark: you were right, if you use "Rakefile" instead of extconf.rb you can get rid of a dummy Makefile
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
roadkith has quit [Quit: Leaving...]
<yorickpeterse> and apparently I can also get rid of the dummy extension file
<yorickpeterse> damn it, that means I have to update my blag
tomkadwill has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Xzyx987X_ has quit [Read error: Connection reset by peer]
Xzyx987X_ has joined #ruby-lang
enebo has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
cofin has quit [Quit: cofin]
benxao has quit [Remote host closed the connection]
mucker has quit [Quit: leaving]
earthquake has quit [Quit: earthquake]
judofyr_ has joined #ruby-lang
cofin has joined #ruby-lang
judofyr has quit [Read error: Connection reset by peer]
sush24 has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
<whitequark> yorickpeterse: ;)
Aloysius1 has quit [Read error: Connection reset by peer]
io_syl has joined #ruby-lang
x0f has quit [Ping timeout: 255 seconds]
tylersmith has joined #ruby-lang
x0f has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
davemaurakis has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
<khaase> injekt: pong
tylersmith has quit [Ping timeout: 248 seconds]
<khaase> injekt: there is also #travis
judofyr_ has quit [Remote host closed the connection]
carloslopes has joined #ruby-lang
<injekt> khaase: Yeah thanks
Aloysius1 has joined #ruby-lang
x0f has quit [Ping timeout: 276 seconds]
x0f has joined #ruby-lang
tomkadwill has quit [Remote host closed the connection]
tomkadwill has joined #ruby-lang
therod has quit [Quit: Leaving...]
x0f has quit [Ping timeout: 252 seconds]
smook1 has quit [Ping timeout: 255 seconds]
elia has quit [Ping timeout: 255 seconds]
dagobah has quit [Remote host closed the connection]
x0f has joined #ruby-lang
tomkadwill has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
henrikhodne has joined #ruby-lang
saarinen has joined #ruby-lang
supaiku has joined #ruby-lang
cofin has quit [Quit: cofin]
cored_ has quit [Ping timeout: 248 seconds]
cored has quit [Ping timeout: 240 seconds]
bgant has quit [Quit: bgant]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored_ has joined #ruby-lang
bgant has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
jacktrick has quit [Quit: Leaving]
dhruvasagar has joined #ruby-lang
enebo has quit [Quit: enebo]
mistym has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 245 seconds]
kristofferrr has joined #ruby-lang
kristofferrr has quit [Client Quit]
adambeynon has quit [Quit: Computer has gone to sleep.]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
smook1 has joined #ruby-lang
mrsolo has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
henrikhodne has quit [Read error: Connection reset by peer]
henrikhodne has joined #ruby-lang
nveselinov has quit [Read error: Connection reset by peer]
nveselinov has joined #ruby-lang
henrikhodne has quit [Client Quit]
holgerno has quit [Client Quit]
chana has joined #ruby-lang
solars has joined #ruby-lang
sush24 has joined #ruby-lang
swav has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canton7 has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
tylersmith has joined #ruby-lang
chana has quit [Quit: chana]
saarinen has quit [Quit: saarinen]
jsullivandigs has quit [Ping timeout: 246 seconds]
krames has joined #ruby-lang
headius has quit [Quit: headius]
krames has quit [Client Quit]
saarinen has joined #ruby-lang
codejury_ has joined #ruby-lang
Rubennn has joined #ruby-lang
rikai has joined #ruby-lang
snk_ has joined #ruby-lang
krames has joined #ruby-lang
mksm has joined #ruby-lang
kirin` has quit [Disconnected by services]
ozzloy_ has joined #ruby-lang
rondale_1c has quit [Ping timeout: 264 seconds]
jsaak_ has joined #ruby-lang
kirin` has joined #ruby-lang
mksm is now known as Guest4693
rondale_sc has joined #ruby-lang
chana has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
_dumfrie- has joined #ruby-lang
fbernier_ has joined #ruby-lang
gix- has joined #ruby-lang
gix has quit [Disconnected by services]
Aloysius1 has quit [*.net *.split]
teleological has quit [*.net *.split]
krohrbaugh has quit [*.net *.split]
gnufied has quit [*.net *.split]
rikai_ has quit [*.net *.split]
scampbell_ has quit [*.net *.split]
larry0 has quit [*.net *.split]
dwainfaithfull has quit [*.net *.split]
fbernier has quit [*.net *.split]
zachlatta has quit [*.net *.split]
intellitech has quit [*.net *.split]
Rubennn_ has quit [*.net *.split]
EvilJStoker_ has quit [*.net *.split]
snk has quit [*.net *.split]
Spaceghost|cloud has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
doki_pen has quit [*.net *.split]
ndrst_ has quit [*.net *.split]
Guest26324 has quit [*.net *.split]
jsaak has quit [*.net *.split]
freedrull has quit [*.net *.split]
mfn_ has quit [*.net *.split]
_dumfries has quit [*.net *.split]
codejury has quit [*.net *.split]
ozzloy has quit [*.net *.split]
wycats_ has quit [*.net *.split]
awkisopen has quit [*.net *.split]
Caius has quit [*.net *.split]
yeltzooo has joined #ruby-lang
deedoubleyou has joined #ruby-lang
doki_pen has joined #ruby-lang
henrikhodne has joined #ruby-lang
henrikhodne has quit [Client Quit]
canton7 has joined #ruby-lang
kstuart has quit [Ping timeout: 252 seconds]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
fbernier_ has left #ruby-lang [#ruby-lang]
fbernier has joined #ruby-lang
marr has quit [Ping timeout: 246 seconds]
EvilJStoker has joined #ruby-lang
Aloysius1 has joined #ruby-lang
freedrull has joined #ruby-lang
fsvehla has joined #ruby-lang
cofin has joined #ruby-lang
zomgbie has quit [Ping timeout: 255 seconds]
headius has joined #ruby-lang
avdi has joined #ruby-lang
vardaman has joined #ruby-lang
swav has joined #ruby-lang
vardaman has quit [Remote host closed the connection]
brownbat_ has joined #ruby-lang
zomgbie has joined #ruby-lang
brianpWins has joined #ruby-lang
avdi has quit [Client Quit]
benwoody has joined #ruby-lang
cored has quit [Ping timeout: 248 seconds]
cored_ has quit [Ping timeout: 264 seconds]
zomgbie has quit [Ping timeout: 260 seconds]
chana has quit [Ping timeout: 255 seconds]
symm- has joined #ruby-lang
kstuart has joined #ruby-lang
gix- has quit [Ping timeout: 246 seconds]
lguardiola_ has joined #ruby-lang
lguardiola has quit [Ping timeout: 246 seconds]
arooni-mobile has joined #ruby-lang
cofin has quit [Quit: cofin]
lcashdol has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
gix has joined #ruby-lang
vivekrai has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
forrest has quit [Ping timeout: 240 seconds]
cofin has joined #ruby-lang
forrest has joined #ruby-lang
workmad3 has quit [Ping timeout: 276 seconds]
snk_ is now known as snk
headius has quit [Quit: headius]
Squarepy has joined #ruby-lang
Rizzle has quit [Read error: Connection reset by peer]
smook1 has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby-lang
lcashdol has quit [Read error: Connection reset by peer]
lcashdol1 has joined #ruby-lang
postmodern has joined #ruby-lang
scampbell_ has joined #ruby-lang
smook1 has joined #ruby-lang
krohrbaugh has joined #ruby-lang
gnufied has joined #ruby-lang
zachlatta has joined #ruby-lang
teleological has joined #ruby-lang
pr0ton has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
<yorickpeterse> you know what I hate (completely unrelated to ruby)?
<yorickpeterse> Websites that style scrollbars like OS X-that-newest-mountain-cougar-version
zomgbie has joined #ruby-lang
awkisopen has joined #ruby-lang
Caius has joined #ruby-lang
dwainfaithfull has joined #ruby-lang
intellitech has joined #ruby-lang
Spaceghost|cloud has joined #ruby-lang
wycats_ has joined #ruby-lang
ndrst_ has joined #ruby-lang
mfn_ has joined #ruby-lang
Caius has quit [Changing host]
Caius has joined #ruby-lang
awkisopen has quit [Changing host]
awkisopen has joined #ruby-lang
synthetix has joined #ruby-lang
<whitequark> >websites that style scrollbars
marr has joined #ruby-lang
<whitequark> or
<whitequark> >websites.
<yorickpeterse> you're just old
apeiros has joined #ruby-lang
teleological has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
nazty has quit [Ping timeout: 245 seconds]
pr0ton has quit [Ping timeout: 256 seconds]
bgant has quit [Ping timeout: 276 seconds]
<Aloysius1> OK, I just basically don't understand how gems are loaded. I've got two apps using the same gem. One is a rails app. The other is a plain ruby script. The rails app has the gem referenced in the Gemfile, and that's all that is needed to use the features of the gem. To get the plain script to be able to use the features, I had to use the Gemfile and then add a require to the script which had to point to the path where the mqhelper code is. The latter
<Aloysius1> does not seem right.
GarethAdams has joined #ruby-lang
<apeiros> The latter is the standard
<lianj> require 'bundler/setup'
Criztian has quit [Remote host closed the connection]
<Aloysius1> apeiros: So Rails does some behind-the-scenes stuff to make it not necessary.
gnufied has quit [Quit: Leaving.]
<Aloysius1> lianj: And "bundler/setup" is that stuff?
henrikhodne has joined #ruby-lang
<lianj> the behind-the-scenes
<whitequark> yorickpeterse: well, web applications. I don't hate websites.
supaiku has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby-lang
synthetix has quit [Remote host closed the connection]
lcashdol1 has quit [Read error: Connection reset by peer]
sush24 has quit [Quit: This computer has gone to sleep]
lcashdol has joined #ruby-lang
<Aloysius1> Thanks!
teleological has joined #ruby-lang
teleological has quit [Read error: Connection reset by peer]
teleological has joined #ruby-lang
adambeynon has joined #ruby-lang
thiagoborges has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
chana has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
<eam> $" gives me the names of modules loaded -- how can I get the full path to the loaded file?
<eam> eg in perl %INC will show "Foo/Bar.pm" => "/full/path/to/Foo/Bar.pm"
<eam> can I get that in ruby?
zomgbie has quit [Read error: Connection reset by peer]
thebastl has joined #ruby-lang
robbyoconnor has joined #ruby-lang
henrikhodne has quit [Quit: Goodbye.]
runeb has joined #ruby-lang
sush24 has joined #ruby-lang
beiter has joined #ruby-lang
henrikhodne has joined #ruby-lang
saarinen has quit [Quit: saarinen]
DarkBushido has joined #ruby-lang
pr0ton has joined #ruby-lang
sush24 has quit [Ping timeout: 260 seconds]
dwainfaithfull has quit [Quit: dwainfaithfull]
runeb has quit [Remote host closed the connection]
runeb has joined #ruby-lang
zmike123 has quit [Quit: Выходжу]
arocco_ has quit [Remote host closed the connection]
dwainfaithfull has joined #ruby-lang
Weems has joined #ruby-lang
<darix> eam: $LOADED_FEATURES
<darix> oh that is just an alias
<eam> darix: yeah that's $", but it's only the names not the paths
<eam> in Perl, the equiv thing is a Hash of the names => paths
<eam> ruby just seems to have an array of names but no paths?
<darix> eam: maybe poke at the rubygems code
swav_ has joined #ruby-lang
<eam> trying to figure out *which* file is loaded by a require, in the case of ambiguity with multiple options in $:
<darix> gem which 'etc.so'
<darix> eam: uhm search path order?
swav has quit [Ping timeout: 256 seconds]
<darix> $LOAD_PATH
<darix> as a start
<eam> that won't tell me what's happened in the past -- only will predict what might happen given current state
pr0ton has quit [Ping timeout: 255 seconds]
<eam> that's a bit different
<darix> eam: well. if you start tracking it from the beginning
tbuehlmann has quit [Remote host closed the connection]
<darix> anyway
<darix> later
pr0ton has joined #ruby-lang
pipework has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 240 seconds]
<apeiros> eam: are you using 1.8?
<apeiros> because 1.9 has absolute paths in $LOADED_FEATURES
<eam> ah, yes I am
<eam> excellent
<apeiros> in that case: upgrade :-p
<eam> I wish :)
DrIDK has joined #ruby-lang
<apeiros> you can get the full path by searching $LOAD_PATH for the files
<yxhuvud> redhat derivate? :)
<eam> yxhuvud: indeed, among other older platforms
<eam> apeiros: yeah, the thing I want it for, though, is to tell which module was loaded (assuming $: may change, cwd may change, etc)
<DrIDK> Hello..I m a newbe... Is there a magic way to convert a String "Voiture" to the class name and create an instance ?
<apeiros> I think that does that
<apeiros> eam: well, then preserve cwd at the start
<eam> apeiros: the issue is that, say somewhere $: is modified during module loading -- or a module changes to a new directory when loading modules
<apeiros> and chdir'ing without resetting is exceedingly rare
<eam> yeah but, there's a lot of junk that plays with those paths
<apeiros> what kind of crappy code are you dealing with?
<apeiros> in 9y I haven't seen that behavior once…
<eam> which, messing with $:?
<apeiros> chdir'ing
<apeiros> messing with $: should not affect your search much
<apeiros> if you really really really care, patch Kernel#require
<eam> yeaaaah
<eam> I was just hoping there'd be a definitive way to see which files were loaded
<apeiros> nope
<apeiros> not in 1.8
<eam> kk
<eam> thanks
nkr has quit [Quit: Linkinus - http://linkinus.com]
heftig has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
zomgbie has joined #ruby-lang
dwainfaithfull has quit [Quit: dwainfaithfull]
GarethAdams has quit [Quit: Leaving...]
s0ber_ has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
rippa has quit [Ping timeout: 240 seconds]
s0ber has quit [Read error: Operation timed out]
s0ber_ is now known as s0ber
pr0ton has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
yalue has quit [Read error: Connection reset by peer]
thiagoborges has quit [Remote host closed the connection]
runeb has quit [Remote host closed the connection]
bgant has joined #ruby-lang
workmad3 has joined #ruby-lang
zomgbie has quit [Ping timeout: 256 seconds]
zomgbie has joined #ruby-lang
elia has joined #ruby-lang
Johz has joined #ruby-lang
sepp2k has joined #ruby-lang
rolfb has joined #ruby-lang
schaerli has joined #ruby-lang
pr0ton has quit [Ping timeout: 256 seconds]
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
shinnya has joined #ruby-lang
Markvilla has joined #ruby-lang
Markvilla has quit [Max SendQ exceeded]
pr0ton has joined #ruby-lang
Markvilla has joined #ruby-lang
Markvilla has quit [Max SendQ exceeded]
Markvilla has joined #ruby-lang
brownbat_ has quit [Remote host closed the connection]
zomgbie has quit [Ping timeout: 252 seconds]
scampbell_ has quit [Quit: Leaving]
zomgbie has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
d_roge has quit [Quit: Account terminated by the PanicBNC Staff Team.]
thiagoborges has joined #ruby-lang
firstdayonthejob has quit [Ping timeout: 264 seconds]
schaerli has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
schaerli has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cored has joined #ruby-lang
cored_ has joined #ruby-lang
poga has quit [Remote host closed the connection]
breakingthings has quit [Ping timeout: 252 seconds]
sora_h__ has quit [*.net *.split]
wang has quit [*.net *.split]
wnd has quit [*.net *.split]
eam has quit [*.net *.split]
narya has quit [*.net *.split]
shtirlic has quit [*.net *.split]
dominikh has quit [*.net *.split]
nikky has quit [*.net *.split]
ddd___ has quit [*.net *.split]
SubSpawn has quit [*.net *.split]
SubSpawn has joined #ruby-lang
ddd has joined #ruby-lang
eam has joined #ruby-lang
narya has joined #ruby-lang
nikky has joined #ruby-lang
wang has joined #ruby-lang
wnd has joined #ruby-lang
sora_h__ has joined #ruby-lang
shtirlic has joined #ruby-lang
dominikh has joined #ruby-lang
breakingthings has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
deedoubleyou has quit [Remote host closed the connection]
firstdayonthejob has joined #ruby-lang
heftig has quit [Quit: Quitting]
runeb has joined #ruby-lang
naomi has joined #ruby-lang
bastilian has joined #ruby-lang
bastilian has quit [Client Quit]
<naomi> i compiled and installed my own version of ruby to ~/.rbenv/versions/2.0.0-p195. How can I make rbenv aware of it?
enaqxx has joined #ruby-lang
enaqx has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
saarinen has joined #ruby-lang
hhatch has quit [Ping timeout: 245 seconds]
<havenwood> naomi: rbenv rehash (https://github.com/sstephenson/rbenv#rbenv-rehash)
krombr has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
<naomi> havenwood: thanks
<naomi> in hindsight, that was a real noob question
heftig has joined #ruby-lang
brownbat_ has joined #ruby-lang
forrest has quit [Quit: Leaving]
chana has quit [Quit: chana]
runeb has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 256 seconds]
justinmburrous has quit [Remote host closed the connection]
lcashdol has quit [Quit: Leaving.]
fsvehla has quit [Quit: fsvehla]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
beiter has quit [Quit: beiter]
workmad3 has quit [Read error: Operation timed out]
bgant has quit [Quit: bgant]
enebo has joined #ruby-lang
benanne has joined #ruby-lang
runeb has joined #ruby-lang
wmoxam has quit [Ping timeout: 276 seconds]
Johz has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 256 seconds]
Weems has quit [Ping timeout: 245 seconds]
krohrbaugh1 has joined #ruby-lang
krohrbaugh2 has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh has quit [Read error: Operation timed out]
<drbrain> naomi: that's what we're here for!
<naomi> drbrain: are you on github
<drbrain> yes, also as drbrain
breakingthings has quit [Quit: breakingthings]
<naomi> oh cool
toretore has quit [Quit: Leaving]
solars has quit [Ping timeout: 276 seconds]
runeb has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
zomgbie has quit [Ping timeout: 255 seconds]
vlad_starkov has joined #ruby-lang
machuga is now known as machuga|away
enebo has quit [Quit: enebo]
Guest50155 has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 252 seconds]
teleological has quit [Remote host closed the connection]
zomgbie has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
mbj has joined #ruby-lang
kstuart has quit [Ping timeout: 248 seconds]
havenwood has quit [Remote host closed the connection]
brownbat_ has quit [Remote host closed the connection]
naomi has quit [Quit: Leaving.]
pr0ton has quit [Ping timeout: 256 seconds]
pr0ton has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
joast has joined #ruby-lang
benanne has quit [Quit: kbai]
zomgbie has quit [Ping timeout: 276 seconds]
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has quit [Ping timeout: 256 seconds]
joast has quit [Quit: Leaving.]
krames has joined #ruby-lang
anonymuse has joined #ruby-lang
jsullivandigs has joined #ruby-lang
saarinen has quit [Quit: saarinen]
x0f has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby-lang
smook1 has quit [Ping timeout: 255 seconds]
krohrbaugh2 has quit [Quit: Leaving.]
x0f has joined #ruby-lang
krohrbaugh has joined #ruby-lang
arooni-mobile has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 276 seconds]
DarkBushido has quit [Ping timeout: 255 seconds]
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
LinkedoT has quit [Read error: Connection reset by peer]
kstuart has joined #ruby-lang
cofin has quit [Quit: cofin]
kith_ has joined #ruby-lang
krohrbaugh has quit [Client Quit]
kith has quit [Ping timeout: 256 seconds]
ffio has joined #ruby-lang
havenwood has joined #ruby-lang
_ffio_ has quit [Ping timeout: 276 seconds]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
justinmburrous has joined #ruby-lang
fragamus has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
joast has joined #ruby-lang
krohrbaugh has joined #ruby-lang
stamina has quit [Ping timeout: 248 seconds]
ryotarai has joined #ruby-lang
mbj_ has joined #ruby-lang
lcdhoffman has joined #ruby-lang
GarethAdams has joined #ruby-lang
verto has joined #ruby-lang
mbj_ has quit [Client Quit]
deedoubleyou has joined #ruby-lang
rsync has joined #ruby-lang
fsvehla has joined #ruby-lang
rsync has left #ruby-lang [#ruby-lang]
vlad_starkov has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mbj has quit [Quit: leaving]
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
smook1 has joined #ruby-lang
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 248 seconds]
anonymuse has quit [Quit: Leaving...]
Squarepy has quit [Quit: Leaving]
thiagoborges has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
teleological has joined #ruby-lang
henrikhodne has quit [Quit: Computer has gone to sleep.]
<freedrull> i dont see why `extend self` is used in this module, then later on methods are defined via `def self.foo`. can't you just use `def foo` if you already called `extend self`? https://github.com/resque/resque/blob/master/lib/resque.rb#L29
<whitequark> I guess they don't want methods appearing in anything that includes the module?
<whitequark> `extend` is not transitive
<freedrull> i can't seem to call Resque.configure, or any of the other methods defined via `def self.foo`
teleological has quit [Ping timeout: 256 seconds]
<freedrull> ah ok i see now
zomgbie has joined #ruby-lang
<freedrull> so they don't want the methods after `extend Forwardable` to be accessible?
stardiviner has quit [Read error: Connection reset by peer]
<havenwood> Nice to see that system Ruby is 2.0.0p195 in OS X 10.9. :)
sepp2k has quit [Quit: Leaving.]
krombr has quit [Read error: No route to host]
krombr has joined #ruby-lang
zomgbie has quit [Ping timeout: 256 seconds]
krohrbaugh has quit [Quit: Leaving.]
lcdhoffman has quit [Quit: lcdhoffman]
nathanstitt has joined #ruby-lang
krames has joined #ruby-lang
charliesome has joined #ruby-lang