apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
mansi has joined #ruby
Tippler has joined #ruby
Tippler has quit [Max SendQ exceeded]
predator117 has joined #ruby
Tippler has joined #ruby
Tippler has quit [Max SendQ exceeded]
Dysruption has joined #ruby
Tippler has joined #ruby
Tippler has quit [Max SendQ exceeded]
tanema has quit [Remote host closed the connection]
Tippler has joined #ruby
Tippler has quit [Max SendQ exceeded]
Tippler has joined #ruby
Tippler has quit [Max SendQ exceeded]
mklappstuhl has quit [Read error: Connection reset by peer]
moses_m has quit [Ping timeout: 276 seconds]
mklappstuhl has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
elaptics is now known as elaptics`away
Tippler has joined #ruby
SHyx0rmZ has joined #ruby
Tippler has quit [Max SendQ exceeded]
Tippler has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
Tippler has quit [Max SendQ exceeded]
Tippler has joined #ruby
ctp_ has joined #ruby
dtcrshr has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
ner0x has joined #ruby
ephemerian has quit [Quit: Leaving.]
Fire-Dragon-DoL has quit [Quit: Leaving.]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
RichardBaker has quit [Quit: RichardBaker]
RichardBaker has joined #ruby
Guest22856 has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
amanmangal has joined #ruby
mansi has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
sml0820 has joined #ruby
tylersmith has joined #ruby
GeissT has joined #ruby
t0dd2 has left #ruby [#ruby]
pranny has joined #ruby
kilophoton has quit [Quit: Changing server]
mansi has quit [Ping timeout: 264 seconds]
cj3kim has quit [Remote host closed the connection]
pranny has quit [Client Quit]
Guest22856 has quit [Quit: Leaving]
smathieu_ has quit [Remote host closed the connection]
smathieu has joined #ruby
rbento has quit [Quit: ZZZzzz…]
tylersmith has quit [Ping timeout: 240 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
jkline has quit [Quit: jkline]
cj3kim has joined #ruby
aces1up has joined #ruby
brianpWins has joined #ruby
freeayu has joined #ruby
<aces1up> what is the correct way to get say all .jar files recursively from a certain root directory? i currently have "root/**/*.ext"
<aces1up> not working.
ryannielson has quit [Remote host closed the connection]
ewnd9 has joined #ruby
Megtastique has joined #ruby
Tippler has quit [Ping timeout: 245 seconds]
ferdev has quit [Quit: ferdev]
hogeo has joined #ruby
ehc has quit [Quit: ehc]
Megtastique has quit [Client Quit]
<heftig> aces1up: works fine here
<aces1up> hrmm ok.
Megtastique has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
poga_ has joined #ruby
geometry06 has joined #ruby
b00stfr3ak has quit [Quit: Leaving]
geometry06 has quit [Changing host]
geometry06 has joined #ruby
ctp_ has quit [Ping timeout: 260 seconds]
jjbohn has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
poga has quit [Ping timeout: 240 seconds]
__maes_ has joined #ruby
_maes_ has joined #ruby
reset has quit [Ping timeout: 264 seconds]
iliketur_ has quit [Ping timeout: 240 seconds]
whowantstolivefo has quit [Ping timeout: 245 seconds]
Guest10893 has quit []
deweichen has joined #ruby
<deweichen> hi
gazarsgo has joined #ruby
gazarsgo has quit [Client Quit]
Voodoofish430 has left #ruby [#ruby]
marr has quit [Ping timeout: 268 seconds]
ctp_ has joined #ruby
havenwood has joined #ruby
poga_ has quit [Remote host closed the connection]
jjbohn has quit [Quit: Leaving...]
Lewix has quit [Remote host closed the connection]
poga has joined #ruby
Lewix has joined #ruby
i_s has quit [Remote host closed the connection]
DanKnox is now known as DanKnox_away
jjbohn has joined #ruby
devoldmx has joined #ruby
deweichen has quit [Remote host closed the connection]
nucatus has joined #ruby
Vicmaste_ has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
iliketur_ has joined #ruby
twoism has joined #ruby
mlpinit has quit [Remote host closed the connection]
Lewix has quit [Ping timeout: 268 seconds]
pipework has joined #ruby
jjbohn has quit [Quit: Leaving...]
nucatus has quit [Ping timeout: 245 seconds]
twoism has quit [Ping timeout: 264 seconds]
ctp_ has quit [Ping timeout: 260 seconds]
pyx has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
pyx has quit [Client Quit]
maniacal has quit [Remote host closed the connection]
amanmangal has quit [Ping timeout: 250 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
renderful has quit [Remote host closed the connection]
snovak has joined #ruby
wmoxam has joined #ruby
randomautomator has joined #ruby
mlpinit has joined #ruby
Megtastique has quit [Quit: Megtastique]
Megtastique has joined #ruby
buzzybron has joined #ruby
randomau_ has quit [Ping timeout: 264 seconds]
randomautomator has quit [Ping timeout: 246 seconds]
pitzips has quit [Ping timeout: 245 seconds]
Vivekananda has quit [Quit: Ex-Chat]
Vivekananda has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
brianpWins has quit [Quit: brianpWins]
pothibo has quit [Quit: pothibo]
sparr has quit [Remote host closed the connection]
ssvo has joined #ruby
Lewix has joined #ruby
saarinen has joined #ruby
jonahR has quit [Quit: jonahR]
Solnse has quit [Quit: Leaving.]
centr0 has quit [Quit: centr0]
chrisramon has joined #ruby
chrisramon has quit [Client Quit]
yfeldblum has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
Megtastique has quit [Quit: Megtastique]
i_s has joined #ruby
vlad_starkov has joined #ruby
kaldrenon has joined #ruby
c0rn has quit [Ping timeout: 268 seconds]
wesside_ has quit [Quit: Computer has gone to sleep.]
danman has quit [Quit: danman]
geometry06 has quit [Quit: Leaving.]
kaldrenon has quit [Ping timeout: 264 seconds]
tealmage has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
rbento has joined #ruby
renderful has joined #ruby
smathieu_ has joined #ruby
Nisstyre has joined #ruby
i_s has quit [Ping timeout: 264 seconds]
smathieu_ has quit [Remote host closed the connection]
TheComrade has joined #ruby
smathieu_ has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
brain_shim has joined #ruby
tealmage has quit [Read error: Connection reset by peer]
tealmage has joined #ruby
saarinen has quit [Quit: saarinen]
nadirvar_ has quit [Ping timeout: 268 seconds]
Spami has joined #ruby
justsee has quit [Ping timeout: 276 seconds]
ylluminate has joined #ruby
redmenace has quit [Quit: leaving]
justsee has joined #ruby
justsee has joined #ruby
fenicks has quit [Remote host closed the connection]
tanema has joined #ruby
thesheff17 has joined #ruby
justsee has quit [Client Quit]
<jeremyb> Neener54: back
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<Neener54> jeremyb yeah I set up my environment to match yours and I couldn't replicate the error… which is odd
<jeremyb> so i guess i can try running that locally. i was running it on a box where i don't have root
<jeremyb> locally i have 1.9.x as well as 1.8.x
<Neener54> jeremyb that being said I'm on my work computer and it's a mac so it could have a different setup
<jeremyb> ohh
<Neener54> ah
<jeremyb> well my laptop should be fairly similar to the server i was using
smathieu_ has quit [Remote host closed the connection]
<jeremyb> but they're different OS major versions
<jeremyb> debian wheezy vs. squeeze
<Neener54> are you using rvm?
<Neener54> mmm
<jeremyb> no. OS ruby pkg
<Neener54> Ah
<jeremyb> laptop is wheezy
<Neener54> Okay
<Neener54> Hmmm
<Neener54> I'm wondering if a dependency is missing maybe
<Neener54> Or is at the wrong version perhaps
justsee has left #ruby [#ruby]
<jeremyb> maybe is included in your ruby but split out into a separate package in debian's
hamakn has joined #ruby
ner0x has quit [Quit: Leaving]
tabolario has joined #ruby
<jeremyb> i wish there were better error messages (or maybe i just don't know how to read them). and what's with all that spam on the console before the error?
hamakn has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
<jeremyb> anyway... i'll test here i guess
hamakn has joined #ruby
mansi has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
<Neener54> try it with rvm, this will grab the libs for you and install 1.8.7: curl -L https://get.rvm.io | bash -s stable --ruby=1.8.7
<Neener54> Well it's hanging up on reading the yaml it looks like
<Neener54> Which may be your readline lib is different
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
lyanchih has joined #ruby
mansi_ has joined #ruby
jonahR has joined #ruby
jonahR has quit [Client Quit]
BillCriswell has joined #ruby
Soliah has quit [Quit: Soliah]
sml0820 has quit [Quit: sml0820]
<Neener54> I'm not sure on that
<jeremyb> my gut says readline's not relevant
<jeremyb> especially because the first 2 were run with nohup
<Neener54> Mmm
mansi has quit [Ping timeout: 240 seconds]
ryandeussing has joined #ruby
Nisstyre has quit [Quit: Leaving]
<Neener54> It's been a while since I've worked in straight up linux
<Neener54> Kind of miss it
<bnagy> the YAML parsers changed quite a bit between 18 and 19
<Neener54> Yeah
hamakn_ has joined #ruby
havenwood has quit [Remote host closed the connection]
JZTech101 is now known as JZ|Zzz
nucatus has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
Soliah has joined #ruby
obs has quit [Remote host closed the connection]
hamakn_ has quit [Remote host closed the connection]
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
ryandeussing has quit [Ping timeout: 245 seconds]
Domon has joined #ruby
<Neener54> Oh man, I never looked at the source on those but the yaml parsers in those two versions are nothing alike
alvaro_o has quit [Quit: Ex-Chat]
hamakn has joined #ruby
jkline has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
<Neener54> jeremyb what version is your libyaml at?
scarolan has quit [Ping timeout: 264 seconds]
<Neener54> And yeah readline has 0 to do with yaml lol I was way off
iliketur_ has joined #ruby
zorg24 has quit [Ping timeout: 276 seconds]
Lewix has quit [Remote host closed the connection]
Kricir has joined #ruby
frotto has quit [Ping timeout: 240 seconds]
iliketur_ has quit [Client Quit]
Lewix has joined #ruby
iliketur_ has joined #ruby
scarolan has joined #ruby
amacgregor_ has joined #ruby
kobain has quit [Ping timeout: 245 seconds]
bzitzow has quit [Ping timeout: 240 seconds]
Lewix has quit [Ping timeout: 276 seconds]
amacgregor has quit [Ping timeout: 264 seconds]
snovak has joined #ruby
<fbernier> whats the best way to memoize data which needs to be persisted across requests in rails and are very rarely updated?
<jeremyb> Neener54: how would i check the version of libyaml? here's what i have so far: http://dpaste.com/1344946/plain/
<fbernier> a mutex around the ||= ?
horofox has joined #ruby
<fbernier> in order to be thread safe
<jeremyb> fbernier: sounds like you want an interned string? (idk if ruby has such a concept)
havenwood has quit [Remote host closed the connection]
kobain has joined #ruby
kobain has quit [Excess Flood]
<Neener54> jeremyb I'm not 100% sure this will work but sudo aptitude show libyaml
kobain has joined #ruby
kobain has quit [Excess Flood]
<Neener54> fbernier are you serving this up on multiple instances?
kobain has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
kobain has quit [Excess Flood]
<fbernier> yes
kobain has joined #ruby
<jeremyb> Neener54: that would just show the same version in the paste i just linked. and no it won't work, i hasn't sudo. but that's a command you can run as any user
kobain has quit [Excess Flood]
snovak has quit [Ping timeout: 268 seconds]
<jeremyb> well, and also the package name's wrong
<jeremyb> ii libyaml-0-2 0.1.3-1 Fast YAML 1.1 parser and emitter library
kobain has joined #ruby
snath has joined #ruby
kobain has quit [Excess Flood]
<jeremyb> so, 0.1.3-1
kobain has joined #ruby
<Neener54> jeremyb sorry I thought the dpaste had opened but it never did, yeah your libyaml is a different version than mine
kobain has quit [Excess Flood]
<Neener54> Which isnt' something you can easily resolve without root
<jeremyb> right
kobain has joined #ruby
kobain has quit [Excess Flood]
<jeremyb> well... had a debate this evening about whether another guy who wasn't there tonight has root on the box or not
<Neener54> Well here's the deal, you don't really need factory_girl_rails unless you're doing development
kobain has joined #ruby
<Neener54> Are you going to be running tests on it?
<jeremyb> question not yet answered...
kobain has quit [Excess Flood]
<jeremyb> no, this is for prod
<Neener54> Okay so go to your Gemfile and comment out factor_girl_rails
kobain has joined #ruby
Lewix has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
<Neener54> Then we're going to have to do something about that rails_themes gem
etman has quit [Quit: etman]
kobain has quit [Excess Flood]
<jeremyb> grrrrr, teh latency
kobain has joined #ruby
smathieu has joined #ruby
randomautomator has joined #ruby
dankest has quit [Quit: dankest]
Kricir has quit [Remote host closed the connection]
yfeldblum has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
<jeremyb> this is quite a gemfile. i thought they were usually simple and didn't have logic in them
<jeremyb> maybe i was wrong
<Neener54> No normally they aren't filled with that kind of logic
niklasb has quit [Ping timeout: 240 seconds]
<Neener54> And you don't normally see so many required gems
<jeremyb> soooooo, slow
<jeremyb> (rm -rfv)
<jeremyb> i found the comment about --without development:test so i'm going to try that
smathieu has quit [Ping timeout: 268 seconds]
chrisramon has joined #ruby
<jeremyb> errr, wtf. no /proc on this VM??
tjad has joined #ruby
jjbohn has joined #ruby
<jeremyb> (was trying vmstat and it choked)
<Neener54> I think that themes_for_rails is going to choke still
vlad_starkov has joined #ruby
cj3kim has quit [Remote host closed the connection]
jjbohn has quit [Client Quit]
wmoxam has quit [Ping timeout: 268 seconds]
julweber has joined #ruby
tgunr has quit [Quit: Nity nite]
danman has joined #ruby
<jeremyb> btw, was wondering earlier. what's the diff between ~/.gem and ~/.gems ?
vlad_starkov has quit [Ping timeout: 246 seconds]
Wigflip has joined #ruby
Wigflip is now known as elmarrow_
elmarrow_ has quit [Client Quit]
Vivekananda has quit [Ping timeout: 264 seconds]
<Neener54> I can't remember, it's been a while since I dealt with those
* jeremyb waits for the install
xcv has quit [Remote host closed the connection]
xpirator has joined #ruby
etman has joined #ruby
Kruppe has quit [Remote host closed the connection]
sevenseacat has joined #ruby
radic__ has quit [Ping timeout: 246 seconds]
justsee has joined #ruby
stuartrexking has joined #ruby
endash has quit [Quit: endash]
<Neener54> jeremyb did it manage to install everything without the dev requirements?
sambao21 has quit [Quit: Computer has gone to sleep.]
rbento has quit [Quit: ZZZzzz…]
freerobby has joined #ruby
Lewix has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
io_syl has quit [Ping timeout: 246 seconds]
radic__ has joined #ruby
cads has joined #ruby
etman has quit [Quit: etman]
BillCriswell has quit [Remote host closed the connection]
viszu has joined #ruby
randomau_ has joined #ruby
jds has quit [Ping timeout: 240 seconds]
Senjai has joined #ruby
Senjai has joined #ruby
jkline has quit [Quit: jkline]
nucatus has joined #ruby
randomautomator has quit [Ping timeout: 256 seconds]
Lewix has joined #ruby
anonymuse has joined #ruby
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
quazimodo has quit [Ping timeout: 245 seconds]
nucatus has quit [Ping timeout: 245 seconds]
jds has joined #ruby
chrisramon has quit [Quit: chrisramon]
mlpinit has quit [Remote host closed the connection]
Jonah11_ has joined #ruby
zacts has quit [Quit: leaving]
<Jonah11_> anyone know how this output is possible? http://ruby.nopaste.dk/p58385
jds has quit [Ping timeout: 246 seconds]
<buzzybron> writing a ruby script, is there a quick way to change all my puts to print to a log file?
<bnagy> Jonah11_: dunno, try logger.info true
jds has joined #ruby
snovak has joined #ruby
<heftig> Jonah11_: please log session[:myauth].class and existing_auth_token.class
jds has quit [Read error: Connection reset by peer]
jnix has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jds has joined #ruby
jnix-working has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
jnix-working has quit [Changing host]
jnix-working has joined #ruby
jnix-working is now known as jnix
thepumpkin has quit [Remote host closed the connection]
mansi_ has quit [Remote host closed the connection]
<bnagy> heftig: well whether they're equal or not, nil is weird
mansi has joined #ruby
<bnagy> if it had said false I'd be looking at classes etc
<bnagy> buzzybron: you might be able to redefine $>
<bnagy> but I dunno if that works with puts, it should though. Does with print...
jds has quit [Read error: Connection reset by peer]
<Jonah11_> heftig, ty, it was a Fixnum vs String problem
jds has joined #ruby
<bnagy> :/
jds has quit [Read error: Connection reset by peer]
danman has quit [Ping timeout: 245 seconds]
snovak has quit [Ping timeout: 268 seconds]
dodosan has quit [Remote host closed the connection]
jds has joined #ruby
tommyvyo has joined #ruby
browndawg has joined #ruby
anonymuse has quit [Remote host closed the connection]
dodosan has joined #ruby
<bnagy> yeah that would be a bug
jds has quit [Read error: Connection reset by peer]
<bnagy> >> require 'logger'; Logger.new(STDOUT).info false
<eval-in> bnagy => I, [2013-08-16T05:06:54.166530 #22147] INFO -- : nil ... (https://eval.in/43493)
<bnagy> >> require 'logger'; Logger.new(STDOUT).info true
<eval-in> bnagy => I, [2013-08-16T05:07:04.045135 #22153] INFO -- : true ... (https://eval.in/43494)
jds has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
tanema has quit [Remote host closed the connection]
randomau_ has quit [Read error: Connection reset by peer]
amacgregor__ has joined #ruby
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
randomau_ has joined #ruby
JDHankle has quit [Remote host closed the connection]
viszu has quit [Quit: Leaving.]
nanoxd has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
wmoxam has joined #ruby
dodosan has quit [Ping timeout: 276 seconds]
jds has quit [Ping timeout: 268 seconds]
quazimodo has joined #ruby
jjbohn has joined #ruby
jds has joined #ruby
wmoxam has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
randomau_ has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
Lewix has quit [Remote host closed the connection]
jds has quit [Ping timeout: 245 seconds]
Lewix has joined #ruby
Kricir has joined #ruby
thepumpkin has joined #ruby
randomautomator has quit [Ping timeout: 268 seconds]
jjbohn has quit [Quit: Leaving...]
hakunin_ has quit [Read error: Connection reset by peer]
hakunin has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
rbento has joined #ruby
rbento has quit [Max SendQ exceeded]
Lewix has quit [Ping timeout: 256 seconds]
tommyvyo has quit [Quit:]
TheComrade has quit [Quit: TheComrade]
DanielRb has quit [Quit: Quit]
Kricir has quit [Ping timeout: 276 seconds]
Spooner has quit [Remote host closed the connection]
DanielRb has joined #ruby
danman has joined #ruby
jds has joined #ruby
devoldmx has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
baroquebobcat has joined #ruby
jds has quit [Ping timeout: 240 seconds]
jds has joined #ruby
ryandeussing has joined #ruby
Jonah11_ has quit [Ping timeout: 240 seconds]
bzitzow has joined #ruby
justsee has joined #ruby
diegoviola has joined #ruby
amacgregor has joined #ruby
dodosan has joined #ruby
ryandeussing has quit [Ping timeout: 264 seconds]
amacgregor__ has quit [Ping timeout: 264 seconds]
smathieu has joined #ruby
<diegoviola> hi
<diegoviola> do you guys recommend sticking to chruby release or git should be fine as well?
jds has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
<diegoviola> chruby-0.3.6.tar.gz
<postmodern> diegoviola, im going to release 0.3.7 this weekend
<diegoviola> cool thanks
<sevenseacat> oh awesome
<sevenseacat> i'll update from 0.3.4 then :)
brianpWins has joined #ruby
JDHankle has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
jkline has joined #ruby
Guest4737 has joined #ruby
diegoviola is now known as Guest8657
Guest4737 is now known as diegoviola
Guest8657 has quit [Ping timeout: 264 seconds]
dodosan has quit [Ping timeout: 264 seconds]
Neener54 has joined #ruby
crucify_me has joined #ruby
renderful has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
havenwood has joined #ruby
Lewix has joined #ruby
timonv has joined #ruby
moses_m has joined #ruby
mlpinit has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
quazimodo has quit [Ping timeout: 264 seconds]
krz has quit [Quit: krz]
tommyvyo has quit [Quit:]
tjad has quit [Ping timeout: 264 seconds]
krz has joined #ruby
tommyvyo has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
quazimodo has joined #ruby
mlpinit has quit [Ping timeout: 256 seconds]
snovak has joined #ruby
randomautomator has joined #ruby
randomau_ has joined #ruby
poga has quit [Remote host closed the connection]
bluOxigen has joined #ruby
poga has joined #ruby
jds has joined #ruby
horofox has quit [Quit: horofox]
randomau_ has quit [Remote host closed the connection]
randomau_ has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
brunoro_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
randomautomator has quit [Ping timeout: 264 seconds]
pvizcay has joined #ruby
drickaa has joined #ruby
pranny has joined #ruby
randomau_ has quit [Ping timeout: 240 seconds]
lyanchih has quit [Quit: lyanchih]
pen has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
tommyvyo has joined #ruby
pranny has quit [Client Quit]
browndawg has quit [Quit: Leaving.]
flagg0204 has quit [Ping timeout: 245 seconds]
mansi has joined #ruby
scarolan has quit [Ping timeout: 241 seconds]
flagg0204 has joined #ruby
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
drickaa has left #ruby ["Textual IRC Client: www.textualapp.com"]
vlad_starkov has joined #ruby
tacos1de has joined #ruby
bricker`LA has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
swordsmanz has joined #ruby
fridim_ has joined #ruby
carlyle has joined #ruby
i8igmac has quit [Ping timeout: 246 seconds]
rshetty has joined #ruby
dr_ick has joined #ruby
krz has quit [Quit: krz]
tjad has joined #ruby
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
krz has quit [Client Quit]
tommyvyo has quit [Quit:]
vlad_starkov has quit [Ping timeout: 276 seconds]
ukd1 has quit [Remote host closed the connection]
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
tommyvyo has joined #ruby
renderful has quit [Ping timeout: 276 seconds]
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
carlyle has quit [Remote host closed the connection]
noopq has joined #ruby
geometry06 has joined #ruby
fgo has joined #ruby
dr_ick has quit [Quit: Textual IRC Client: www.textualapp.com]
dayepa has quit [Ping timeout: 245 seconds]
ukd1 has joined #ruby
dayepa has joined #ruby
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
crucify_me has quit [Remote host closed the connection]
saarinen has joined #ruby
crucify_me has joined #ruby
smathieu has joined #ruby
io_syl has joined #ruby
saarinen has quit [Client Quit]
<diegoviola> i've just switched to chruby, what do i use instead of gemsets?
<zendeavor> nothing
<zendeavor> but chgems kind of does that
<zendeavor> companion for chruby
<zendeavor> chruby has a channel btw
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
<diegoviola> ok ty
dodosan has joined #ruby
scarolan has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
nanoxd has joined #ruby
saarinen has joined #ruby
ffranz has quit [Quit: Leaving]
smathieu has quit [Ping timeout: 268 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
<sevenseacat> you dont need to use anything instead of gemsets
dodosan has quit [Ping timeout: 276 seconds]
scarolan has quit [Ping timeout: 276 seconds]
Domon has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby
tomzx_mac has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
stuartrexking has quit [Quit: Leaving...]
saarinen has joined #ruby
stkowski has quit [Quit: stkowski]
Megtastique has joined #ruby
love_color_text has joined #ruby
justsee has quit [Ping timeout: 240 seconds]
* quazimodo hugs sevenseacat
<sevenseacat> hallo
<sam113101> allô
iliketur_ has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketur_ has joined #ruby
cj3kim has joined #ruby
havenwood has quit [Remote host closed the connection]
amacgregor_ has joined #ruby
havenwood has joined #ruby
crazymykl has quit [Read error: Operation timed out]
snovak has joined #ruby
love_color_text has quit [Remote host closed the connection]
amacgregor has quit [Ping timeout: 256 seconds]
poga has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 245 seconds]
snovak has quit [Ping timeout: 268 seconds]
anay has joined #ruby
amacgregor has joined #ruby
ezotrank has joined #ruby
iliketu__ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
TechTonics has joined #ruby
iliketur_ has quit [Ping timeout: 276 seconds]
<diegoviola> thanks
girija has joined #ruby
<TechTonics> does anyone have any problems installing ruby gems in ruby2.0?
<zendeavor> i bet you do.
<sevenseacat> lol
<jrobeson> hah
lyanchih has joined #ruby
tommyvyo has quit [Quit:]
<TechTonics> this is true ..
<zendeavor> skip to that part then
<TechTonics> this is what i'm getting
<TechTonics> ERROR: Loading command: install (LoadError)
<TechTonics> cannot load such file -- openssl
<TechTonics> undefined method `invoke_with_build_args' for nil:NilClass
<TechTonics> ERROR: While executing gem ... (NoMethodError)
pen has joined #ruby
<TechTonics> any thoughts?
<bnagy> please don't paste >3 lines in the channel ( /topic )
<bnagy> looks like you don't got ssl, homie
<sevenseacat> you didnt compile ruby with openssl support?
dayepa has quit [Quit: dayepa]
<zendeavor> that's more than 3 lines?
<zendeavor> technically..
<TechTonics> well i have openssl
<TechTonics> i can just run from cli
<zendeavor> but your ruby doesn't, it seems
<TechTonics> yup
<bnagy> "technically" doesn't apply to numbers, zendeavor :) Like, it's more or it's not more
<bnagy> imho it should be 2
havenwood has quit [Remote host closed the connection]
mansi has joined #ruby
<zendeavor> i agree and all
<bnagy> TechTonics: can you fire up irb and try require 'openssl' ?
butblack has joined #ruby
<bnagy> should be the same error, I hope
<TechTonics> pretty close to it yea
<TechTonics> just 1 line ;)
<TechTonics> NameError: undefined local variable or method `openssl' for main:Object
kaldrenon has joined #ruby
<bnagy> uh.. wat? With the quotes?
<bnagy> >> require "openssl"
<eval-in> bnagy => true (https://eval.in/43503)
girija has quit [Ping timeout: 264 seconds]
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
<bnagy> you should either get true or LoadError, not NameError
vlad_starkov has joined #ruby
freerobby has quit [Quit: Leaving.]
Davey has joined #ruby
<TechTonics> i don't really understand .. it i had it running quite nicely before .. then i switched distros .. and havn't gotten to work
<zendeavor> in irb, type "require 'openssl"'
<zendeavor> ooo bad quotes
<zendeavor> require 'openssl'
<zendeavor> like that
anay has quit [Remote host closed the connection]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TechTonics> nah .. i got the same thing
kaldrenon has quit [Ping timeout: 264 seconds]
dankest has joined #ruby
<zendeavor> what same thing
<TechTonics> LoadError: cannot load such file -- openssl
<sevenseacat> well thats a different error entireluy
<sevenseacat> not even close to the same thing
ryandeussing has joined #ruby
dayepa1 has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
nanoxd has joined #ruby
danman has quit [Quit: danman]
vlad_starkov has quit [Ping timeout: 240 seconds]
crucify_me has quit [Remote host closed the connection]
cha1tanya has joined #ruby
cha1tanya has joined #ruby
Domon has joined #ruby
ryandeussing has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
Megtastique has quit [Quit: Megtastique]
vlad_starkov has quit [Remote host closed the connection]
<TechTonics> so .. no ideas?
Lewix has quit [Ping timeout: 268 seconds]
crazymykl has joined #ruby
<sevenseacat> again, you didnt compile ruby with openssl support.
solarnrg has joined #ruby
carlyle has joined #ruby
solarnrg has left #ruby ["Leaving"]
AlHafoudh has joined #ruby
DeanH has quit [Ping timeout: 276 seconds]
cj3kim has quit [Remote host closed the connection]
bzitzow has quit [Ping timeout: 240 seconds]
moses_m has quit [Ping timeout: 268 seconds]
carlyle has quit [Ping timeout: 245 seconds]
lemonsparrow has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
<bnagy> LoadError is good, it's what we were expecting
<bnagy> what's your distro and how did you install ruby?
devoldmx has joined #ruby
jprovazn has joined #ruby
staafl has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
renderful has joined #ruby
smathieu has joined #ruby
AlHafoudh has quit [Quit: Computer has gone to sleep.]
zombiebit has quit [Remote host closed the connection]
alem0lars has joined #ruby
kdaigle_ has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
Lewix has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
renderful has quit [Ping timeout: 264 seconds]
crazymykl has quit [Ping timeout: 264 seconds]
baroquebobcat has joined #ruby
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
pvizcay has quit [Quit: leaving]
ezotrank has joined #ruby
intuxicated has joined #ruby
freerobby has joined #ruby
Zolo has joined #ruby
nucatus has joined #ruby
justsee has quit [Ping timeout: 240 seconds]
tagrudev has joined #ruby
kevinykchan has joined #ruby
havenwood has joined #ruby
nucatus has quit [Ping timeout: 264 seconds]
sergiocampama has quit [Quit: Connection closed for inactivity]
mohits has joined #ruby
xpirator has quit [Quit: Linkinus - http://linkinus.com]
Davey has quit [Ping timeout: 264 seconds]
freerobby has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
vlad_starkov has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
thepumpkin has quit [Remote host closed the connection]
thepumpkin has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.1]
snovak has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
justsee has joined #ruby
girija has joined #ruby
thepumpkin has quit [Ping timeout: 276 seconds]
postmodern has quit [Quit: Leaving]
ukd1_ has joined #ruby
ukd1_ has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 268 seconds]
ukd1_ has joined #ruby
ananthakumaran has joined #ruby
Davey has joined #ruby
ukd1 has quit [Ping timeout: 268 seconds]
scarolan has joined #ruby
Sherwyn has joined #ruby
JDHankle has quit [Remote host closed the connection]
relix has joined #ruby
mansi has joined #ruby
ukd1_ has quit [Ping timeout: 276 seconds]
Notte has joined #ruby
TechTonics has quit [Quit: Leaving]
scarolan has quit [Ping timeout: 240 seconds]
chriskk has quit [Quit: chriskk]
ezotrank has quit [Ping timeout: 276 seconds]
mansi has quit [Ping timeout: 256 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
Sherwyn has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 264 seconds]
girija has quit [Remote host closed the connection]
iliketu__ has quit [Quit: zzzzz…..]
cj3kim has quit [Ping timeout: 245 seconds]
julweber has quit [Remote host closed the connection]
Senjai has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
julweber has joined #ruby
etman has joined #ruby
saarinen has quit [Quit: saarinen]
iliketur_ has joined #ruby
zoee has joined #ruby
_veer has quit [Ping timeout: 240 seconds]
julweber has quit [Ping timeout: 256 seconds]
decoponio has joined #ruby
saarinen has joined #ruby
_veer has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
xhh has joined #ruby
xhh has left #ruby [#ruby]
ItSANgo has quit [Ping timeout: 246 seconds]
BizarreCake has joined #ruby
justsee has joined #ruby
nikolajsen has joined #ruby
codecop has joined #ruby
sayan has joined #ruby
mbytes has joined #ruby
etman has quit [Quit: etman]
ayaz has joined #ruby
apeiros has joined #ruby
pallavi has joined #ruby
robscomputer has joined #ruby
brain_shim has quit [Ping timeout: 264 seconds]
iliketur_ has quit [Quit: zzzzz…..]
robscomputer has quit [Remote host closed the connection]
lq has joined #ruby
robscomputer has joined #ruby
ilyam has quit [Quit: ilyam]
smathieu has joined #ruby
_veer has quit [Ping timeout: 246 seconds]
ntus1017 has joined #ruby
stuartrexking has joined #ruby
ezotrank has joined #ruby
wallerdev has quit [Quit: wallerdev]
butblack has quit [Quit: butblack]
smathieu has quit [Ping timeout: 276 seconds]
JohnBat26 has joined #ruby
Notte has quit [Remote host closed the connection]
wesside has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
_Andres has joined #ruby
lq has quit [Quit: client quit]
apeiros has quit [Remote host closed the connection]
dankest has quit [Quit: dankest]
saarinen has quit [Quit: saarinen]
freerobby has joined #ruby
threesome has joined #ruby
nucatus has joined #ruby
jds has quit [Remote host closed the connection]
Davey has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby
obs has joined #ruby
zombiebit has joined #ruby
jds has joined #ruby
mbytes has quit [Ping timeout: 268 seconds]
lethjakman has joined #ruby
aganov has joined #ruby
boblu has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
persand has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
Cyrus_ has joined #ruby
<lethjakman> hey, I'm trying to use lolcommits and it seems to be using the wrong version of ruby (I'm on 2.0 but it seems to be using the 1.8 framework?) when I commit
Notte has joined #ruby
<lethjakman> that's the error I'm getting
<lethjakman> anyone have an idea what I could be doing wrong?
<sevenseacat> its using your system ruby
<lethjakman> sevenseacat: why would it be doing that?
<sevenseacat> nfi.
<lethjakman> huh
<lethjakman> that's what I thought...figured my path should take care of that
<lethjakman> wonder if it's hard coded or something
<sevenseacat> no, its not.
lyanchih has quit [Quit: lyanchih]
brennanMKE has quit [Remote host closed the connection]
anay has joined #ruby
<lethjakman> hrm...that's not in my path in any way.
Dysruption has quit [Quit: Dysruption]
<lethjakman> ahhh it uses /bin/sh instead of bash
Gooder has joined #ruby
saarinen has quit [Quit: saarinen]
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
ebanoid has joined #ruby
filipe has joined #ruby
huevon has joined #ruby
tvw has joined #ruby
brunoro_ has quit [Ping timeout: 240 seconds]
eka has quit [Ping timeout: 246 seconds]
jkline has quit [Quit: jkline]
tatsuya_o has joined #ruby
snovak has joined #ruby
<zendeavor> ahm
<zendeavor> what's lolcommits
eka has joined #ruby
ephemerian has joined #ruby
<zendeavor> oh i see
amacgregor__ has joined #ruby
<atno> morning
snovak has quit [Ping timeout: 240 seconds]
ryandeussing has joined #ruby
amacgregor_ has quit [Ping timeout: 256 seconds]
amacgregor has quit [Ping timeout: 264 seconds]
tatsuya_o has quit [Remote host closed the connection]
amacgregor has joined #ruby
<zets> lolcommits takes a screenshot and pastes your commit hash and comment onto it, when you make a commit
mneorr has joined #ruby
<zets> it's pretty excellent
amacgregor__ has quit [Ping timeout: 264 seconds]
scarolan has joined #ruby
havenwood has quit [Remote host closed the connection]
ssvo has quit [Ping timeout: 256 seconds]
ryandeussing has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
dash_ has joined #ruby
kaspergrubbe has joined #ruby
dangerousdave has joined #ruby
jonkri has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
ezotrank has quit [Ping timeout: 256 seconds]
ssvo has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
scarolan has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
nikolajsen has quit [Remote host closed the connection]
<sevenseacat> its funny
stef_204 has joined #ruby
poga has joined #ruby
<zendeavor> lethjakman: i don't get what your epiphany relates to; using sh or bash is not meaningful since either one will inherit PATH the same way through the env
<lethjakman> zendeavor: my understanding is that sh uses ~/.path and bash uses ~/.bash_profile
vince_prignano has joined #ruby
stef_204 has quit [Client Quit]
<zendeavor> ~/.profile
JohnBat26 has quit [Remote host closed the connection]
<zendeavor> and that's only relevant for login shells, which doesn't matter in this case.
freerobby has quit [Ping timeout: 276 seconds]
<lethjakman> how is it not relevant?
anay has quit [Remote host closed the connection]
<zendeavor> this is launching a non-interactive non-login /bin/sh
stef_204 has joined #ruby
mneorr has quit [Remote host closed the connection]
lyanchih has joined #ruby
pwh has joined #ruby
intuxicated has quit [Quit: Leaving]
<zendeavor> that means it inherits PATH from the caller
BizarreCake has quit [Read error: Connection reset by peer]
rshetty has quit [Quit: Sleeping]
Heero has joined #ruby
<lethjakman> hrm maybe I'm wrong, I'll have to keep messing with it.
<zendeavor> tell me a few things
<zendeavor> what is your user shell in /etc/passed
brennanMKE has joined #ruby
<zendeavor> /etc/passwd
<zendeavor> sorry
<lethjakman> vim /etc/passed
taion809 has joined #ruby
Heero has quit [Client Quit]
<lethjakman> whoops
<lethjakman> I'm on OSX
<lethjakman> there isnt' an /etc/passwd
devoldmx3 has joined #ruby
<zendeavor> i see
<zendeavor> i'm not sure what osx uses for this stuff
robscomputer has quit [Ping timeout: 264 seconds]
jds has quit [Remote host closed the connection]
anay has joined #ruby
maxmanders has joined #ruby
<zendeavor> what is the value of $PATH in the shell from which you run git commit
JohnBat26 has joined #ruby
ilyam has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
<zendeavor> lethjakman: ?
tmi has joined #ruby
bluenemo has joined #ruby
ahawkins has joined #ruby
<lethjakman> zendeavor: sorry I'm messing with this
<lethjakman> lemme check one sec
<zendeavor> i'm trying to speed up the process for you
ejnahc has quit [Quit: leaving]
ejnahc has joined #ruby
brennanMKE has quit [Ping timeout: 240 seconds]
Dysruption has joined #ruby
optimusprimem has joined #ruby
optimusprimem has joined #ruby
<zendeavor> what is the output of `type -a lolcommits`
smathieu has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
<lethjakman> zendeavor: updated the gist
Matriks has joined #ruby
<zendeavor> does the output of `declare -p PATH` start with 'declare -x'
kdaigle_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<lethjakman> zendeavor: yes
<zendeavor> find the post-commit hook in your git repo, and comment out the lolcommits --capture line
<zendeavor> put echo $PATH in it
<zendeavor> save it, and execute it with ./post-commit
scarolan has joined #ruby
<lethjakman> zendeavor: that's what I did to get you that path
arturaz has joined #ruby
khushildep has joined #ruby
BizarreCake has joined #ruby
<zendeavor> put another line `ruby -e 'puts RUBY_VERSION'`
bluenemo has quit [Remote host closed the connection]
<lethjakman> 2.0.0
ilyam has quit [Quit: ilyam]
lyanchih has quit [Quit: lyanchih]
tommyvyo has joined #ruby
Heskie has joined #ruby
<zendeavor> perhaps it's using the wrong gems
<zendeavor> puts Gem.default_dir
bluenemo has joined #ruby
pwh has quit [Quit: pwh]
Bry8Star{T2 has quit [Remote host closed the connection]
Coffers has joined #ruby
<lethjakman> zendeavor: it's in the gist
<lethjakman> this is weird...
Bry8Star{T2 has joined #ruby
scarolan has quit [Ping timeout: 246 seconds]
<lethjakman> also, it works if I run a regular commit
nucatus has joined #ruby
<zendeavor> what kind of "irregular" commit did you use before
Jeep has quit [Remote host closed the connection]
<lethjakman> just not if it's run through git apparently.
<sevenseacat> what does that even mean?
<zendeavor> your env looks correct to me
jarray52 has left #ruby [#ruby]
<lethjakman> sevenseacat: this gem creates a git hook, when you run a commit it runs it.
apeiros has joined #ruby
<sevenseacat> yes, i know this.
<sevenseacat> i have used the gem before.
<lethjakman> oh irregular
julweber has joined #ruby
<lethjakman> I don't know what I meant by that. sorry.
<lethjakman> if I just run the file it works
<sevenseacat> i was referring to 'it works if i run a regular commit just not if its run through git'
<lethjakman> if I run it through git commit it doesn't
tesuji has joined #ruby
<zendeavor> and by "it doesn't" you mean it spits that first error
Banistergalaxy has joined #ruby
shaunbaker has joined #ruby
<lethjakman> zendeavor: yes
justsee has quit [Quit: leaving]
<zendeavor> i'm currently stumped
<lethjakman> hrm....this is really weird.
lyanchih has joined #ruby
nucatus has quit [Ping timeout: 245 seconds]
<zendeavor> well
MrZYX|off is now known as MrZYX
lasdlj has joined #ruby
pranny has joined #ruby
<lasdlj> Hi
<zendeavor> printf '%s\n' '#!/bin/sh' 'echo $PATH' "ruby -e 'puts RUBY_VERSION, Gem.default_dir'" > /path/to/post-commit
<zendeavor> or edit it manually if you prefer.
<zendeavor> lethjakman: then, run git commit from the project
<zendeavor> just commit a dummy file or something
AndChat| has quit [Ping timeout: 268 seconds]
lyanchih has quit [Client Quit]
<lethjakman> ahhh there we go, there's an error here
<zendeavor> and it is...
io_syl has quit [Quit: io_syl]
<lethjakman> big_check_error.txt: https://gist.github.com/lethjakman/6247983
lasdlj has quit [Client Quit]
tommyvyo has quit [Quit:]
GeissT_ has joined #ruby
ezotrank has joined #ruby
<zendeavor> lethjakman: require 'rubygems'
<lethjakman> zendeavor: what do you mean?
<lethjakman> zendeavor: where?
<zendeavor> ruby -e "require 'rubygems'; puts RUBY_VERSION, Gem.default_dir"
Dysruption has quit [Quit: Dysruption]
GeissT has quit [Ping timeout: 240 seconds]
<lethjakman> 1.8.7
<zendeavor> no default dir?
<lethjakman> it's in the gist
<lethjakman> sorry I was updating it
camilasan has joined #ruby
<zendeavor> okay
Tricon has quit [Ping timeout: 264 seconds]
<zendeavor> there's your answer, it seems
<zendeavor> git is piddling with PATH or something
<lethjakman> the path seemed the same though.
<zendeavor> "or something"
marr has joined #ruby
<zendeavor> the post-commit hook is running the system's ruby, not the one in your PATH
<lethjakman> hrm...alright, thank you for your help
gokul has joined #ruby
snovak has joined #ruby
gokul has quit [Client Quit]
<zendeavor> where did git come from lethjakman
<zendeavor> homebrew, i guess?
gokul has joined #ruby
<lethjakman> zendeavor: ports
<zendeavor> noted
gokul has quit [Client Quit]
<zendeavor> your two culprits, then, are git and macports
gokul has joined #ruby
<zendeavor> either this is something git does, or macports patches it do do so
<lethjakman> alright
<zendeavor> to do so*
<zendeavor> i'd start with #git
ssvo has quit [Ping timeout: 246 seconds]
<lethjakman> zendeavor: sure think, thank you zendeavor :)
<zendeavor> okay #ruby can i go back to the pseudo-trolling now
platzhirsch has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
<platzhirsch> Module Metrics, base class Metric, many Metric subclasses. How would you name a method, that returns a list of symbols representing these subclasses?
<platzhirsch> I think Metrics.metrics() is a bit low :)
<zendeavor> and misleading, as you're not returning a measure of anything
<platzhirsch> yep
<zendeavor> .subclasses() sounds good to me
<zendeavor> straight to the point.
marius has joined #ruby
<platzhirsch> well, but it reflects more the implementation detail. I am using this method among other places to generate the view, just list the metrics which are available
gadgetoid_ has joined #ruby
vlad_starkov has joined #ruby
<zendeavor> okay, what is a "high-level" synonym for 'subclass'
havenwood has joined #ruby
troessner has joined #ruby
<zendeavor> .childrenses()
<zendeavor> .subordinates()
<platzhirsch> I thought about Metrics.identifier(): give me the list of Metric identifiers
<zendeavor> .hierarchy()
<zendeavor> .taxonomy()
<zendeavor> .family() ?
<platzhirsch> family is nice ^^
<platzhirsch> thanks for the input ;)
Astralum has joined #ruby
<zendeavor> i like .childrenses()
Al_ has joined #ruby
<zendeavor> Nilium: you'll back me up on this rite
Astral_ has quit [Ping timeout: 240 seconds]
<Nilium> what yeah sure huh
amacgregor has quit [Ping timeout: 256 seconds]
<bnagy> what's wrong with Metrics.list?
<Nilium> High-level synonym for subclass? Parent? Ancestor?
<Nilium> Oh wait, subclass, not superclass.
<Nilium> Child/descendant/kitten
<apeiros> turtle
<apeiros> because it's all turtles all the way down
<zendeavor> turtles vs cattens go
kaspergrubbe has quit [Ping timeout: 240 seconds]
sarbull has joined #ruby
<apeiros> defwin by turtle as the cat walks away bored when the turtle hides in its shell.
barratt has joined #ruby
niceguyjames has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
<bnagy> I have so seen that gof
<bnagy> *gif
<sarbull> Hello, i have a HomeController(with a simple index view), how do i make the route so that it should render to the application index with yield? Thanks
freerobby has joined #ruby
pranny1 has joined #ruby
<bnagy> #rubyonrails
<apeiros> sarbull: you wanted #rubyonrails
<zendeavor> don't forget to ask #rubyonrails
<sarbull> apeiros, \i guess so
tvw has quit []
julweber has quit [Remote host closed the connection]
pranny has quit [Ping timeout: 240 seconds]
gokul_ has joined #ruby
anay has quit [Remote host closed the connection]
Xeago has joined #ruby
<platzhirsch> bnagy: list() i salso very nice, have thought about this, too
<platzhirsch> wat, Ruby and Rails are different things?
<platzhirsch> go into #Java and ask an Android-related Java question, they will try to put you to the torch
<sam113101> are you serious
freerobby has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
<sevenseacat> they shouldnt help with android-things in Java. but they should help with java things in android
<bnagy> platzhirsch: I just try and name stuff as naturally as possible, like if I want a list of things in the Metrics module ...
tatsuya_o has joined #ruby
pranny1 has quit [Quit: Leaving.]
tatsuya__ has joined #ruby
<platzhirsch> sevenseacat: yes, I guess it's too hard to separate, maybe it's a Java problem, but they use Android SDK libraries, guess they cannot stand it, but what matters #android-dev is well populated
jim0thy_ has joined #ruby
persand has quit [Quit: persand]
gyre007 has quit [Remote host closed the connection]
tatsuya_o has quit [Ping timeout: 264 seconds]
DanBoy has quit [Quit: Leaving]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
razi has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
gokul_ is now known as gokulnath
smathieu has joined #ruby
jds has joined #ruby
gokulnath has quit [Quit: Leaving]
gokul has quit [Remote host closed the connection]
gokul has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
Al_ has quit [Quit: Al_]
dodosan has joined #ruby
noname001 has joined #ruby
elaptics`away is now known as elaptics
smathieu has quit [Ping timeout: 240 seconds]
jds has quit [Ping timeout: 240 seconds]
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dodosan has quit [Ping timeout: 240 seconds]
anay has joined #ruby
wolcanus has joined #ruby
Bry8Star{T2 has quit [Quit:]
fixl has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
arietis has joined #ruby
ewnd9 has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
blackmesa has joined #ruby
zoee_ has joined #ruby
wolcanus has quit [Ping timeout: 245 seconds]
zoee has quit [Ping timeout: 245 seconds]
zoee_ is now known as zoee
stuartrexking has quit [Quit: Linkinus - http://linkinus.com]
dash_ is now known as d45h
freerobby has quit [Ping timeout: 256 seconds]
gokul has quit [Quit: Leaving]
foo_ has joined #ruby
foo_ has quit [Client Quit]
ryandeussing has joined #ruby
ahawkins has quit [Quit: Lost terminal]
ahawkins has joined #ruby
Criztian has joined #ruby
banister`sleep has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
ryandeussing has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
Speed has joined #ruby
ayaz has joined #ruby
khushildep_ has joined #ruby
gokul has joined #ruby
snovak has joined #ruby
Bry8Star{T2 has joined #ruby
amacgregor has joined #ruby
khushildep has quit [Ping timeout: 245 seconds]
khushildep_ is now known as khushildep
kevinykchan has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
lethjakman has quit [Ping timeout: 264 seconds]
khushildep has quit [Client Quit]
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Alina-malina has quit [Read error: Connection reset by peer]
snovak has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
klaut has joined #ruby
jlebrech has joined #ruby
kaldrenon has joined #ruby
mansi has joined #ruby
ntus1017 has quit [Remote host closed the connection]
foo_ has joined #ruby
foo_ has quit [Client Quit]
khushildep has joined #ruby
foo_ has joined #ruby
lyanchih has joined #ruby
kaldrenon has quit [Ping timeout: 240 seconds]
<jlebrech> why does tmp_file.read not come up with any thing? https://gist.github.com/jlebrech/f7320acd9c76d200889f
banister`sleep has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
xpirator has joined #ruby
Jonah11_ has joined #ruby
Jonah11_ has quit [Client Quit]
kaspergrubbe has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
<bnagy> jlebrech: it's a filehandle
<bnagy> writing advances the cursor
mneorr has joined #ruby
pallavi has quit [Ping timeout: 246 seconds]
<jlebrech> bnagy: ah awesome thank you
<bnagy> np
niceguyjames has quit [Quit: Computer has gone to sleep.]
foo_ has quit []
foo_ has joined #ruby
kaspergrubbe has quit [Ping timeout: 264 seconds]
foo_ has left #ruby [#ruby]
foo_ has joined #ruby
foo_ has left #ruby [#ruby]
tvw has quit []
arietis has joined #ruby
girija has joined #ruby
gyzmodo has joined #ruby
foo_ has joined #ruby
sevenseacat has quit [Quit: Leaving.]
ehc has joined #ruby
anay has quit [Remote host closed the connection]
niceguyjames has joined #ruby
buzzybron has quit [Quit: Leaving.]
amacgregor_ has joined #ruby
anay has joined #ruby
kevinykc_ has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
girija has quit [Ping timeout: 268 seconds]
tesuji has quit [Read error: Connection reset by peer]
smathieu has joined #ruby
tesuji has joined #ruby
amacgregor has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
dangerousdave has joined #ruby
dodosan has joined #ruby
obs has quit [Remote host closed the connection]
foo_ has left #ruby [#ruby]
hogeo_ has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
aces1up has left #ruby [#ruby]
hogeo has quit [Ping timeout: 256 seconds]
dodosan has quit [Ping timeout: 240 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
nucatus has joined #ruby
dawkirst has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
girija has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 264 seconds]
ezotrank has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
robonerd has joined #ruby
<robonerd> hey what's the most groovy way lately to write web services? not web sites as much as services web sites and mobile apps will communicate? in 2005 i would have used ruby on rails, in 2008 i would have used ruby directly, and now?
anay has quit [Remote host closed the connection]
<Quadlex> robonerd: You're trying to optimize for HackerNews coverage?
<banister`sleep> robonerd: use go or haskell or something :)
mneorr_ has joined #ruby
<robonerd> this tough to find real answers?
browndawg has joined #ruby
<bnagy> embed clojure in Rust
<robonerd> i hear good things about rust
<banister`sleep> robonerd: well i know a number of people who are using go to write their webservices
<Kelet> Groovy is clearly the most groovy way to write web services.
<robonerd> banister`sleep yea?
<robonerd> how is the job market for ruby coders?
<robonerd> still very strong or?
sjltaylor has joined #ruby
<Xeago> robonerd: strong
<Xeago> for anyone that is looking for a job, revibe.fm we accept remote applicants
gyzmodo has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
<banister`sleep> Xeago: your name is twan wolthof? my gosh, you need to do something about that ;)
mneorr has quit [Ping timeout: 264 seconds]
mneorr_ has quit [Remote host closed the connection]
Xiti` has joined #ruby
mneorr has joined #ruby
BRMatt has joined #ruby
Es0teric has quit [Ping timeout: 240 seconds]
lyanchih has quit [Quit: lyanchih]
Gooder has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
snovak has joined #ruby
julweber has joined #ruby
nkts_ has joined #ruby
Pixi__ has quit [Ping timeout: 246 seconds]
cek has joined #ruby
mneorr has quit [Ping timeout: 245 seconds]
<shevy> robonerd I would have always used ruby ;)
<robonerd> shevy even now? instead of rust/go?
lyanchih has joined #ruby
gokul has quit [Quit: Leaving]
<shevy> I dont use rust nor go, I dont see the big step forward in either of these two
marius has quit [Ping timeout: 264 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
<bnagy> go is pretty nice
snovak has quit [Ping timeout: 245 seconds]
JDHankle has joined #ruby
fantazo has joined #ruby
<Xeago> banister`sleep: what is wrong with it?
mansi has joined #ruby
julweber has quit [Ping timeout: 268 seconds]
lyanchih has quit [Quit: lyanchih]
Lewix has quit [Ping timeout: 264 seconds]
JDHankle has quit [Ping timeout: 240 seconds]
m8 has joined #ruby
camilasan has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
mikecmpbll has joined #ruby
camilasan has joined #ruby
hogeo_ has quit [Remote host closed the connection]
<zendeavor> rust is pretty cool too
hogeo has joined #ruby
anay has joined #ruby
freerobby has joined #ruby
<sjltaylor> (re Go) if you're doing network programming having a channels as a language primitive is a big step forward
freerobby has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
* Xeago slaps banister`sleep with a shiny ruby. ***SMACK***
<sjltaylor> your code starts to look like what you're doing
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has joined #ruby
geometry06 has quit [Quit: Leaving.]
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
<robonerd> sjltaylor url to page talking about this channels feature?
woolite64 has quit [Read error: Connection reset by peer]
<sjltaylor> but then there are some talks too: http://www.youtube.com/watch?v=f6kdp27TYZs
<sjltaylor> and if you scroll down to "Talks" on http://golang.org/doc/ (no bookmark)
freerobby has quit [Ping timeout: 240 seconds]
julweber has joined #ruby
julweber has quit [Read error: Connection reset by peer]
julweber has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
Tippler has joined #ruby
banister`sleep has quit [Remote host closed the connection]
<robonerd> hm looks like a cool lang
<sjltaylor> depends what you're building
xpirator has quit [Quit: Linkinus - http://linkinus.com]
zoee has quit [Quit: zoee]
kaspergrubbe has quit [Remote host closed the connection]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
banister`sleep has joined #ruby
<shevy> p0rn sites
<banister`sleep> Xeago: goddamnit, it's un-american
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<sjltaylor> I think that's oin the standard lib
camilasan has quit [Read error: Connection reset by peer]
platzhirsch1 has joined #ruby
camilasan has joined #ruby
Fire-Dragon-DoL1 has joined #ruby
fgo has quit [Remote host closed the connection]
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
ezotrank has joined #ruby
platzhirsch has quit [Ping timeout: 245 seconds]
Fire-Dragon-DoL has quit [Read error: Connection reset by peer]
<dangerousdave> Hi, could some explain to me what is happening in the first code snippet here: http://www.tutorialspoint.com/ruby/ruby_sending_email.htm . specifically the line "message = <<MESSAGE_END"
<banister`sleep> dangerousdave: it's called a heredoc
<banister`sleep> dangerousdave: just lets you conveniently enter large multiline strings
<dangerousdave> banister`sleep: *googleing*
<dangerousdave> ah, ok, thanks v much
<banister`sleep> dangerousdave: if you know python, i think it's like """
<dangerousdave> funny looking thing, thanks for your help
Spooner has joined #ruby
platzhirsch1 has quit [Ping timeout: 276 seconds]
camilasan has quit [Read error: Connection reset by peer]
BizarreCake has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
pranny has joined #ruby
Fire-Dragon-DoL1 has quit [Quit: Leaving.]
Fire-Dragon-DoL has joined #ruby
ehaliewicz has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
tmi has quit [Quit: tmi]
camilasan has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
ryandeussing has joined #ruby
taion809 has quit [Ping timeout: 268 seconds]
tmi has joined #ruby
scarolan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
Domon has quit [Remote host closed the connection]
noopq has quit [Ping timeout: 264 seconds]
Domon has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
Neomex has joined #ruby
noopq has joined #ruby
arietis has joined #ruby
nucatus has joined #ruby
dodosan has quit [Ping timeout: 264 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
ryandeussing has quit [Ping timeout: 276 seconds]
ferdev has joined #ruby
scarolan has quit [Ping timeout: 240 seconds]
Domon has quit [Ping timeout: 245 seconds]
mlpinit has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
blackmesa has joined #ruby
nucatus has quit [Ping timeout: 268 seconds]
banister`sleep has quit [Remote host closed the connection]
pranny has quit [Quit: Leaving.]
ebanoid has quit [Quit: brbomgwtfbbq]
kaspergrubbe has joined #ruby
freerobby has quit [Ping timeout: 264 seconds]
d45h has quit [Ping timeout: 246 seconds]
platzhirsch has joined #ruby
ebanoid has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
_main_ has joined #ruby
tanema has joined #ruby
fantazo has quit [Remote host closed the connection]
_main_ has quit [Read error: Connection reset by peer]
browndawg has left #ruby [#ruby]
_main_ has joined #ruby
lyanchih has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
lyanchih has quit [Client Quit]
dash_ has joined #ruby
banister`sleep has joined #ruby
moura has joined #ruby
fantazo has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
moura has quit [Max SendQ exceeded]
jandres has joined #ruby
_main_ is now known as __main__
jandres has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<_br_> whats my server side push lib of choice these days in Ruby?
<banister`sleep> _br_: cool kidz use websockets
jim0thy_ has quit [Quit: jim0thy_]
IceyEC has quit [Quit: IceyEC]
<_br_> banister`sleep: thanks, anything @ ruby community that does some nice fallback like socket.io does?
Neomex has quit [Quit: Neomex]
<Banistergalaxy> I think someone tried to implement that but not sure how reliable it is
niceguyjames has quit [Quit: Computer has gone to sleep.]
rshetty has joined #ruby
<_br_> hm I see
BizarreCake has joined #ruby
smathieu has joined #ruby
Neomex has joined #ruby
pedda has joined #ruby
dawkirst has joined #ruby
yfeldblum has joined #ruby
xcv has joined #ruby
smathieu has quit [Ping timeout: 268 seconds]
butblack has joined #ruby
mansi has joined #ruby
<sarbull> could somebody explain me what is "Singleton"
banister`sleep has quit [Remote host closed the connection]
<bnagy> is the answer 'never'?
Neomex has quit [Quit: Neomex]
<sarbull> butblack, _br_ thanks guys
<apeiros> bnagy: IMO yes
<apeiros> IMO singleton -> never. use multiton instead. singleton paints you in a corner.
<sarbull> butblack, _br_ or gays, sorry for my bad englis
moura has joined #ruby
<apeiros> sarbull: then let me tell you that 'gays' are homosexual people. you probably meant 'guys' :-p
butblack has left #ruby [#ruby]
moura has quit [Max SendQ exceeded]
<sarbull> apeiros, oh sorry for saying "guys", ^^
<_br_> lol
<sarbull> :))
<sarbull> joking
robonerd has quit [Quit: zzz]
Fire-Dragon-DoL has quit [Ping timeout: 276 seconds]
moura has joined #ruby
moura has quit [Max SendQ exceeded]
mansi has quit [Ping timeout: 264 seconds]
moura has joined #ruby
moura has quit [Max SendQ exceeded]
moura has joined #ruby
moura has quit [Max SendQ exceeded]
niklasb has joined #ruby
xcv has quit [Remote host closed the connection]
freerobby has joined #ruby
zeromodulus has quit [Read error: Connection reset by peer]
zeromodulus has joined #ruby
zeromodulus has quit [Read error: Connection reset by peer]
foo_ has joined #ruby
daxroc has joined #ruby
zeromodulus has joined #ruby
zeromodulus has quit [Read error: Connection reset by peer]
zeromodulus has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 264 seconds]
moura has joined #ruby
gsvolt has joined #ruby
Al_ has joined #ruby
persand has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
jleishman has joined #ruby
banister`sleep has joined #ruby
<banister`sleep> sarbull: are oyu sure you're not confusing Singleton pattern with singleton classes?
<banister`sleep> sarbull: i often confused them when i started out in ruby too...singleton classes are a much more important concept
<sarbull> banister`sleep, i think you are right, please tell me more
zoee has joined #ruby
<banister`sleep> sarbull: after lunch, but really there's a lot of content about them online
fgo has joined #ruby
<sarbull> banister`sleep, gimme a link, ma nigga
Evixion has joined #ruby
<banister`sleep> dont wanna
nfk has quit [Quit: yawn]
jtgiri_ has joined #ruby
sevenseacat has joined #ruby
snovak has joined #ruby
<jtgiri_> hey guys, I have a file which has variables like ip_address='10.0.0.1' , I included that file in different file but these variables are not available, any idea why ?
<bnagy> singleton pattern is basically a code smell
<banister`sleep> jtgiri_: those are local variables, locals typically don't extend across file boundaries
<bnagy> singleton classes, aka eigenclasses, aka metaclasses are pretty crucial to understanding how ruby works
<banister`sleep> jtgiri_: call it IP_ADDRESS or $ip_address instead, and it'll be available
rdxc has joined #ruby
fgo has quit [Ping timeout: 276 seconds]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
<jtgiri_> okay thanks!
anay has quit [Remote host closed the connection]
snovak has quit [Ping timeout: 240 seconds]
zeromodulus has quit [Read error: Connection reset by peer]
zeromodulus has joined #ruby
staafl has quit [Read error: Connection reset by peer]
tealmage has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 276 seconds]
staafl has joined #ruby
anay has joined #ruby
foo_ has quit [Remote host closed the connection]
csiong has joined #ruby
snath has quit [Ping timeout: 268 seconds]
bluOxigen has quit [Ping timeout: 264 seconds]
csiong has quit [Client Quit]
mansi has joined #ruby
ldnunes has joined #ruby
mansi has quit [Remote host closed the connection]
julweber has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
persand has quit [Quit: persand]
freerobby has joined #ruby
persand has joined #ruby
<platzhirsch> banister`sleep: wake up
ArchBeOS has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
pothibo has joined #ruby
mlpinit has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
mmitchell has joined #ruby
noopq has quit [Ping timeout: 240 seconds]
taion809 has joined #ruby
IceyEC has joined #ruby
foo_ has joined #ruby
<platzhirsch> fa
noopq has joined #ruby
kjellski has joined #ruby
vlad_starkov has joined #ruby
Criztian has quit [Remote host closed the connection]
niceguyjames has joined #ruby
mansi has joined #ruby
rshetty has quit [Quit: Sleeping]
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
noopq has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
nomenkun has joined #ruby
Ry0_ has joined #ruby
hamakn has quit [Ping timeout: 245 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
__maes_ has quit [Quit: __maes_]
tanema has quit [Remote host closed the connection]
cody-- has joined #ruby
mark_locklear has joined #ruby
jdenen has joined #ruby
JDHankle has joined #ruby
s0ny123 has joined #ruby
JDHankle has quit [Ping timeout: 245 seconds]
noopq has joined #ruby
frotto has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
GeissT_ has quit [Ping timeout: 268 seconds]
ryandeussing has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
moura has quit [Quit: Computer has gone to sleep.]
fenicks has joined #ruby
fgo has joined #ruby
ryandeussing has quit [Ping timeout: 256 seconds]
jlebrech has quit [Ping timeout: 256 seconds]
shredding has joined #ruby
kaldrenon has joined #ruby
snovak has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dangerousdave> Can i get a review please, just finished script to send a html email with a customisable plain text component. http://pastie.org/8242036
fgo has quit [Ping timeout: 256 seconds]
Fire-Dragon-DoL has joined #ruby
popcornlover has joined #ruby
kiri has quit [Quit: Leaving]
anonymuse has joined #ruby
carlyle has joined #ruby
<dangerousdave> have i included everything i need to create a well formed email header? This is not an area of expertise for me, and I have just been hacking, although it seems to work fine.
snovak has quit [Ping timeout: 264 seconds]
soc42 has joined #ruby
sambao21 has joined #ruby
tanema has joined #ruby
freerobby has quit [Quit: Leaving.]
Zolo has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
Kabaka has quit [Ping timeout: 240 seconds]
Zolo has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
Kabaka has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
julweber has joined #ruby
kiri has joined #ruby
fgo has joined #ruby
asobrasil has quit [Ping timeout: 240 seconds]
ferdev has quit [Quit: ferdev]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
coderhut has joined #ruby
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
julweber has quit [Ping timeout: 246 seconds]
tanema has quit [Remote host closed the connection]
asobrasil has joined #ruby
jonkri has quit [Quit: jonkri]
asobrasil has quit [Max SendQ exceeded]
ferdev has joined #ruby
jtgiri_ has quit [Quit: jtgiri_]
theRoUS has quit [Ping timeout: 276 seconds]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
sjltaylor has joined #ruby
jlebrech has joined #ruby
pipework has quit [Remote host closed the connection]
devoldmx has joined #ruby
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
asobrasil has joined #ruby
wallerdev has joined #ruby
asobrasil has quit [Max SendQ exceeded]
devoldmx3 has quit [Ping timeout: 264 seconds]
scarolan has joined #ruby
julweber has joined #ruby
horofox has joined #ruby
DeanH has joined #ruby
krawchyk has joined #ruby
DeanH has quit [Max SendQ exceeded]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
zarubin has joined #ruby
zarubin has quit [Remote host closed the connection]
hogeo_ has joined #ruby
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
_maes_ has joined #ruby
__maes_ has joined #ruby
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
fgo has quit [Remote host closed the connection]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
kpshek has joined #ruby
hogeo_ has quit [Ping timeout: 256 seconds]
hogeo has quit [Ping timeout: 268 seconds]
cha1tanya has quit [Ping timeout: 240 seconds]
asobrasil has joined #ruby
Ry0_ has quit [Remote host closed the connection]
tomzx_mac has joined #ruby
asobrasil has quit [Max SendQ exceeded]
JZ|Zzz is now known as JZTech101
wolcanus has joined #ruby
asobrasil has joined #ruby
mwmnj has joined #ruby
asobrasil has quit [Max SendQ exceeded]
mwmnj has quit [Remote host closed the connection]
foo_ has quit [Remote host closed the connection]
jp- has joined #ruby
sarbull has quit [Quit: Leaving]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
snovak has joined #ruby
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
khushildep has quit [Quit: khushildep]
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fridim_ has quit [Ping timeout: 264 seconds]
breakingthings has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
asobrasil has joined #ruby
xcv has joined #ruby
asobrasil has quit [Max SendQ exceeded]
nucatus has joined #ruby
khushildep has joined #ruby
wolcanus has quit [Read error: Connection reset by peer]
asobrasil has joined #ruby
wolcanus has joined #ruby
asobrasil has quit [Max SendQ exceeded]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
asobrasil has joined #ruby
asobrasil has quit [Max SendQ exceeded]
Appineer has joined #ruby
martxel has quit [Ping timeout: 240 seconds]
<dangerousdave> ignore last
freerobby has joined #ruby
sml0820 has joined #ruby
<dangerousdave> but don't ignore penultimate question
<dangerousdave> please
anay has quit [Remote host closed the connection]
Appineer has left #ruby [#ruby]
<Xeago> Why is it okay to have trailing comma's in arrays, BUT NOT IN HASHES!
martxel has joined #ruby
<pontiki> what?
martxel is now known as Guest85938
<pontiki> >> h = {:a => 1,}
<eval-in> pontiki => {:a=>1} (https://eval.in/43549)
jonkri has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
hamakn has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
Guest85938 is now known as martxel
martxel has quit [Changing host]
martxel has joined #ruby
<dangerousdave> >> h = {:a => 1,}
<eval-in> dangerousdave => {:a=>1} (https://eval.in/43550)
martxel has quit [Client Quit]
<dangerousdave> cool
jerius has joined #ruby
martxel has joined #ruby
martxel has quit [Changing host]
martxel has joined #ruby
rh1n0 has joined #ruby
zombiebit has quit [Remote host closed the connection]
maz-dev has quit [Read error: Connection reset by peer]
khushildep has quit [Quit: khushildep]
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
yfeldblum has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
pentameter has joined #ruby
khushildep has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 264 seconds]
jprovazn has quit [Quit: Leaving]
cads has quit [Ping timeout: 276 seconds]
xargoon has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
tmi has quit [Quit: tmi]
blackmesa has joined #ruby
<mml> sooo... i have 2M rows of serialized, zipped, b64 encoded ruby objects stored in a db (don't ask). since upgrading to ruby 2.0, i'm seeng random "null byte in string" errors on 3-4 objects in the data set
<mml> have there been any reports of such shenanigans from elsewhere?
tanema has joined #ruby
Lewix has joined #ruby
<mml> the inflate step indicates the strings are identical to what was produced by marshal
St_Marx has quit [Remote host closed the connection]
lyanchih has joined #ruby
obs has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
wmoxam has joined #ruby
io_syl has joined #ruby
colonolGron has joined #ruby
clooth has joined #ruby
ffranz has joined #ruby
clooth has quit [Client Quit]
xargoon has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
clooth has joined #ruby
girija has quit [Ping timeout: 276 seconds]
Lewix has quit [Ping timeout: 256 seconds]
ffranz is now known as ffranz|brb
Kabaka has quit [Remote host closed the connection]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
Kabaka has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
coderhut has quit [Quit: Page closed]
fgo has joined #ruby
aryaching has joined #ruby
Shirakawasuna has joined #ruby
sambao21 has joined #ruby
moses_m has joined #ruby
Beoran_ has joined #ruby
jonathanwallace has quit [Ping timeout: 264 seconds]
sjltaylor has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
Shirakawasuna has quit [Client Quit]
Bry8Star{T2 has joined #ruby
freerobby has quit [Quit: Leaving.]
tealmage has joined #ruby
Beoran__ has quit [Ping timeout: 240 seconds]
khushildep has quit [Quit: khushildep]
fgo has quit [Ping timeout: 240 seconds]
neektza1 has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
dodosan has joined #ruby
fixl has quit [Remote host closed the connection]
khushildep has joined #ruby
fgo has joined #ruby
DrCode has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
DrCode has joined #ruby
workmad3 has joined #ruby
tabolario has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
dodosan has quit [Ping timeout: 246 seconds]
tomzx_mac has quit [Ping timeout: 245 seconds]
v0n has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
endash has joined #ruby
cody-- has joined #ruby
MrZYX is now known as MrZYX|off
tealmage has joined #ruby
sambao21 has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
neektza1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
tealmage has quit [Ping timeout: 256 seconds]
pipework has joined #ruby
frotto has quit [Ping timeout: 268 seconds]
cha1tanya has joined #ruby
nucatus has quit [Read error: Connection reset by peer]
nucatus has joined #ruby
noopq has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Ping timeout: 245 seconds]
plotter has joined #ruby
RubNoob has joined #ruby
huoxito has joined #ruby
<RubNoob> does anyone have a good method to rate-limit a Net::HTTP get request?
nucatus_ has joined #ruby
brbcoding has joined #ruby
nucatus has quit [Read error: Connection reset by peer]
aryaching_ has joined #ruby
taion809 has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
freerobby has quit [Quit: Leaving.]
aryaching has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
<_br_> RubNoob: Rate limit? Can you put rack inbetween there? If yes there is rack::throttle
<RubNoob> _br_ we don't have Rack/can't have Rack for this setup
Kricir has joined #ruby
<_br_> RubNoob: Use haproxy between your proxy and your app server
nucatus has joined #ruby
<_br_> RubNoob: HAProxy can throttle things as well
jerius has quit [Ping timeout: 256 seconds]
jerius_ has joined #ruby
<_br_> RubNoob: Hm, wait. Maybe I got this wrong here. You are serving content and want the outside requests to your service be throttled or you are requesting stuff?
lyanchih has quit [Quit: lyanchih]
<RubNoob> _br_ no, I am making a Net::HTTP GET request to download a file from a remote location
khushildep has quit [Quit: khushildep]
<_br_> Oh, I see. Never mind haproxy etc. then.
MrZYX|off is now known as MrZYX
<RubNoob> _br_ I want to set a bandwidth limit on the transfer to make sure I don't overload the network (i.e. mimicking --bwlimit in an rsync request)
<_br_> hm, not sure if Net::HTTP even supports that. Maybe a different adapter can do that? Look at Faraday gem maybe
fgo has quit [Remote host closed the connection]
nucatus_ has quit [Ping timeout: 268 seconds]
freeayu has joined #ruby
khushildep has joined #ruby
interactionjaxsn has joined #ruby
<dangerousdave> I would like to have arr.join("/n") expand inline within my ruby code, how can i do this please?
ayaz has quit [Ping timeout: 268 seconds]
noopq has joined #ruby
snath has joined #ruby
nucatus_ has joined #ruby
nucatus has quit [Ping timeout: 246 seconds]
shunt has joined #ruby
<dangerousdave> its within a heredoc
<_br_> dangerousdave: expand inline? Also, do you mean \n ?
polysics has joined #ruby
<dangerousdave> _br_: yes, i do mean \n
<polysics> hi! does anybody know how to unbind a socket, please?
<polysics> I am using an UDP socket to listen to some RTCP traffic, but it looks like it does not get released properlu
BillCriswell has joined #ruby
frotto has joined #ruby
<dangerousdave> _br_: by inline, i mean the contents gets expanded within the context of the code
<polysics> @socket.shutdown seems to not unbind it, at least
pen has quit [Remote host closed the connection]
<dangerousdave> _br_: into a heredoc
<_br_> RubNoob: Maybe this could help. But its not really doing what you want its just suspending a thread and resuming it. This could cause a GET request to possbily break off. http://rubydoc.info/gems/rate_throttle/frames
jonathanwallace has joined #ruby
<RubNoob> _br_ yea, not really helpful but thank you
<_br_> polysics: what lib are you using?
lucazi has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<polysics> Just UDPSocket from the standard Ruby
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby
peregrine81 has joined #ruby
mary5030 has joined #ruby
<_br_> dangerousdave: Sorry, still not sure what you want. Do you mean the explode operator in Ruby? http://stackoverflow.com/questions/8508006/how-can-you-explode-an-array-in-ruby
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
shevy has quit [Ping timeout: 256 seconds]
lucazi_ has joined #ruby
<_br_> polysics: Does #close work?
emergion has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Coffers has joined #ruby
lucazi has quit [Ping timeout: 268 seconds]
ryandeussing has joined #ruby
asobrasil has joined #ruby
<withnale> if I want to install a gem from a git repo into my system gem location how do I do it? I thought bundle install would but it only installs the dependencies.
banister`sleep has quit [Read error: Connection reset by peer]
<polysics> _br_: does that method exist? :)
rhys has joined #ruby
Guest9360 has quit [Read error: Operation timed out]
<dangerousdave> _br_: I have a string: "hello world #{arr} " and i would like to expand the array within the string while ensuring that each array element is on a new line.
_serial_ has joined #ruby
thepumpkin has joined #ruby
mohits has quit [Read error: Connection reset by peer]
ryandeussing has quit [Ping timeout: 276 seconds]
<wuest> dangerousdave: the string is a literal "hello world \#{arr} "? Just for clarity. If it's not, then Array#join will help.
pen has joined #ruby
<_br_> polysics: Hm, true sorry. I thought that method would be there due to BasicSocket. Maybe this works? s.shutdown(Socket::SHUT_RDWR)
digifiv5e has joined #ruby
<canton7> dangerousdave, "hello world#{arr.join("\n")}"
digifiv5e is now known as Guest84900
<_br_> dangerousdave: #join( "\n" ) does that
<dangerousdave> I did try this, and new lines were not preserved, will try again now and post code if its still not working
<_br_> dangerousdave: maybe needs a \r\n
Neener54 has joined #ruby
kaspergrubbe has joined #ruby
mephux has quit [Quit: w0ots...]
bamdad has joined #ruby
sqd has joined #ruby
mephux has joined #ruby
mephux is now known as Guest18267
Neener54 has quit [Client Quit]
Zolo has quit [Remote host closed the connection]
shevy has joined #ruby
vince_prignano has quit [Ping timeout: 264 seconds]
mwmnj has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 276 seconds]
mneorr has joined #ruby
moses_m has quit [Ping timeout: 268 seconds]
Criztian has joined #ruby
anonymuse has quit [Read error: Connection reset by peer]
callmeivan has quit [Ping timeout: 264 seconds]
taion809 has joined #ruby
KneferilisHome has joined #ruby
<KneferilisHome> hello, advantages of mixins over traits?
mneorr_ has joined #ruby
anonymuse has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<shevy> KneferilisHome what are traits
mneorr__ has joined #ruby
<dangerousdave> _br_: now working, thanks
<dangerousdave> thanks to all others too
<KneferilisHome> shevy: traits are similar to mixins, PHP has traits instead of mixins
lyanchih has joined #ruby
<_br_> I wasn't even aware Ruby supports traits.
elux has joined #ruby
Kricir has joined #ruby
<shevy> KneferilisHome I dont know traits
mneorr has quit [Ping timeout: 246 seconds]
<canton7> traits appeared to be slightly more powered, but I haven't dug into them
elux has quit [Remote host closed the connection]
lucazi_ has quit [Ping timeout: 240 seconds]
rh1n0 has quit [Quit: -- I'm out --]
<canton7> *powerful
lucazi has joined #ruby
tagrudev has quit [Remote host closed the connection]
devoldmx has joined #ruby
sml0820 has quit [Quit: sml0820]
<_br_> ups, wrong paste.
ehaliewicz has joined #ruby
tommyvyo has joined #ruby
callmeivan has joined #ruby
mneorr_ has quit [Ping timeout: 268 seconds]
scarolan has quit [Ping timeout: 268 seconds]
Tippler has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> lol traitor?
mneorr has joined #ruby
<KneferilisHome> what a colorfull library name
mneorr__ has quit [Read error: No route to host]
ffranz|brb has quit [Ping timeout: 245 seconds]
<ericwood> that's nothing
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
<ericwood> there are much worse ones, trust me
<sevenseacat> indeed
carlyle has quit [Remote host closed the connection]
<KneferilisHome> who is going to use a library called traitor?
<ericwood> me
xcv has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
sml0820 has joined #ruby
camilasan has quit [Remote host closed the connection]
dawkirst has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
solussd has joined #ruby
nkts_ has quit [Ping timeout: 268 seconds]
solussd has left #ruby [#ruby]
jerius_ has quit [Read error: Connection reset by peer]
ehaliewicz has quit [Ping timeout: 246 seconds]
Coffers_ has joined #ruby
<polysics> _br_: it looks like it might be a OS thing
jerius has joined #ruby
k610 has joined #ruby
apeiros has joined #ruby
burlyscudd has joined #ruby
Tippler has joined #ruby
Tippler has quit [Max SendQ exceeded]
burlyscudd has quit [Client Quit]
acrussell has joined #ruby
cha1tanya has quit [Quit: cha1tanya]
<_br_> polysics: what os are you using?
acrussell has left #ruby [#ruby]
mwmnj has quit [Ping timeout: 276 seconds]
Tippler has joined #ruby
Xeago has quit [Remote host closed the connection]
Tippler has quit [Max SendQ exceeded]
Coffers has quit [Read error: Connection reset by peer]
<polysics> OSX
Coffers has joined #ruby
snath has quit [Ping timeout: 240 seconds]
Tippler has joined #ruby
marius has joined #ruby
baordog has joined #ruby
<_br_> hm, polysics, try to use strace or dtrace on a VERY simple program to see if the actual syscalls are made to close the socket. Maybe its a corelib issue on OSX.
Kricir has quit [Remote host closed the connection]
jonathanwallace1 has joined #ruby
pentameter has quit [Ping timeout: 256 seconds]
<_br_> KneferilisHome: Seems mixins and traits are very similar. Mixins keep state though and are very explicit which is not really the ruby duck typing way. Pretty interesting though.
devoldmx has quit [Ping timeout: 264 seconds]
<polysics> this sounds like a bitch to debug. Happy times ahead. :)
camilasa_ has joined #ruby
Coffers_ has quit [Ping timeout: 240 seconds]
mneorr_ has joined #ruby
i_s has joined #ruby
<KneferilisHome> _br_: I see, thank you.
burlyscudd has joined #ruby
jonathanwallace has quit [Ping timeout: 264 seconds]
<_br_> polysics: e.g. strace -o /tmp/blubb.log ruby myprog.rb ; check /tmp/blubb.log starting from the bottom to see if the actual syscall is made.
BrianJ has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
pen has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
alem0lars has quit [Ping timeout: 268 seconds]
camilasan has quit [Ping timeout: 276 seconds]
banister`sleep has joined #ruby
mneorr has quit [Ping timeout: 264 seconds]
banister`sleep is now known as banisterfiend
ffranz|brb has joined #ruby
freeayu has quit [Remote host closed the connection]
i_s has quit [Ping timeout: 268 seconds]
companion is now known as Companion
tealmage has joined #ruby
jarray52 has joined #ruby
marius has quit [Ping timeout: 260 seconds]
dawkirst has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
browndawg1 has joined #ruby
browndawg has quit [Read error: Operation timed out]
sambao21 has quit [Quit: Computer has gone to sleep.]
Kricir has joined #ruby
nucatus_ has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
nucatus has joined #ruby
snath has joined #ruby
devoldmx has joined #ruby
mary5030 has quit [Remote host closed the connection]
Neener54 has joined #ruby
mary5030 has joined #ruby
ItSANgo has joined #ruby
ntus1017 has joined #ruby
tealmage has quit [Ping timeout: 256 seconds]
zoee has quit [Quit: zoee]
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
io_syl has quit [Quit: io_syl]
anay has joined #ruby
evenix has joined #ruby
ffio has joined #ruby
alem0lars has joined #ruby
lucazi_ has joined #ruby
arturaz has quit [Ping timeout: 264 seconds]
mikemar10 has joined #ruby
mwmnj has joined #ruby
anay has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 256 seconds]
lucazi has quit [Ping timeout: 268 seconds]
ItSANgo has quit [Ping timeout: 256 seconds]
zets has quit []
ntus1017 has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Leaving.]
apeiros has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
anonymuse has quit [Read error: Connection reset by peer]
anonymuse has joined #ruby
apeiros has joined #ruby
sambao21 has joined #ruby
pwh has joined #ruby
<zendeavor> you can just strace -e trace=...
splittingred has joined #ruby
Zolo has joined #ruby
geggam has joined #ruby
<shevy> hmmm
<shevy> is syck available as a standalone gem?
kaspergrubbe has joined #ruby
<aedorn> This is awesome. I don't get why I can't replicate this problem in a smaller script, but I'm having a big problem with a begin/rescue block where it gets an error, and just continues on without ever going to the rescue portion.
bamdad has quit [Quit: bamdad]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<shevy> hehe
Zolo has quit [Remote host closed the connection]
linux_noob_666 has joined #ruby
<MrZYX> tried throwing a debugger into the rescue block?
linux_noob_666 has quit [Max SendQ exceeded]
linux_noob_666 has joined #ruby
<MrZYX> multiple rescue's in the block?
tesuji has quit [Read error: Connection reset by peer]
<_br_> aedorn: Is the error of type fatal or systemexit ?
jjbohn has joined #ruby
xcv has joined #ruby
<MrZYX> exception swallowed somewhere inside the part between begin and rescue?
<_br_> aedorn: if its of those types the rescue block might not help anymore
<MrZYX> tried raising the same exception directly in the begin block?
polysics has left #ruby [#ruby]
Kricir has quit [Remote host closed the connection]
<aedorn> Just one rescue, but I know it's getting an error because it's using net/telnet, trying to telnet to a device that doesn't exist and eventually gets "timed out while waiting for more data". Further, even if it does get past that, there's a nil value that's trying to call .length, so it should raise there also.
amacgregor_ has joined #ruby
amacgregor has joined #ruby
pitzips has joined #ruby
<_br_> aedorn: are you just doing "rescue" or something like rescue Exception => e ?
nucatus has quit [Remote host closed the connection]
<aedorn> Better yet, this method should return true or false to the caller, but in the caller we never receive a value back. It just continues on like nothing happened.
sambao21 has quit [Quit: Computer has gone to sleep.]
browndawg1 has quit [Quit: Leaving.]
moses_m has joined #ruby
<aedorn> _br_: It's just begin/rescue/end. So it should only be trying to get standard errors
allanm has quit [Read error: Connection reset by peer]
persand has quit [Quit: persand]
allanm has joined #ruby
ffranz|brb is now known as ffranz
<_br_> odd
ffranz has quit [Quit: Leaving]
<aedorn> It works the majority of the time, and every once in awhile it fails to do what it should do. I just can't seem to track it down.
allanm has quit [Read error: Connection reset by peer]
<MrZYX> what happens if you list the exceptions you expect?
allanm has joined #ruby
ffranz has joined #ruby
wolcanus has quit [Remote host closed the connection]
Kricir has joined #ruby
<_br_> aedorn: try to attach pry when that happens to see what is going on maybe
sayan has joined #ruby
wolcanus has joined #ruby
thepumpkin has quit [Remote host closed the connection]
rickruby_ has joined #ruby
kjellski has quit [Quit: Leaving]
<banisterfiend> aedorn: wrap the code with a Pry.rescue { } block
<banisterfiend> that'll catch any escaped exceptions and drop you in the context
<banisterfiend> but you'll need to install pry-rescue gem
k610 is now known as anick
ananthakumaran has joined #ruby
rickruby has quit [Ping timeout: 268 seconds]
<aedorn> The way these work I wouldn't be able to do that. I need to figure out how to replicate the same issue off a production system on a local test system. I just can't run the same amount of tests the guys in production can so I still haven't seen it in development.
<_br_> uhuh a heisenbug
anonymus_ has joined #ruby
brennanMKE has joined #ruby
<aedorn> indeed
Xiti` has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 276 seconds]
anonymuse has quit [Read error: Connection reset by peer]
<banisterfiend> aedorn: you don't have a backtrace to look at?
wolcanus has quit [Ping timeout: 264 seconds]
<aedorn> banisterfiend: Nope.
<aedorn> All errors get logged, all things require returning true, if not they are forced to run again, and everything is logged. We don't get an exception where we should, we don't see a return value, and the retest never occurs.
amacgregor_ has quit [Ping timeout: 245 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
randomautomator has joined #ruby
rcosta has joined #ruby
rippa has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Xeago has joined #ruby
girija has joined #ruby
anonymuse has joined #ruby
JDHankle has joined #ruby
Megtastique has joined #ruby
jefflyne has joined #ruby
stkowski has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
boblu has quit [Read error: Operation timed out]
anonymus_ has quit [Ping timeout: 260 seconds]
sporkbomb has joined #ruby
ryannielson has joined #ruby
BSaboia has joined #ruby
dash_ has quit [Ping timeout: 268 seconds]
soulrain has quit [Remote host closed the connection]
soulrain has joined #ruby
zachrab has joined #ruby
JDHankle has quit [Ping timeout: 276 seconds]
JDHankle has joined #ruby
<aedorn> *head explodes*
zachrab has quit [Read error: Connection reset by peer]
crazymykl has joined #ruby
dash_ has joined #ruby
zachrab has joined #ruby
malcolmva has quit [Ping timeout: 276 seconds]
_serial_ has quit [Quit: Ex-Chat]
sambao21 has joined #ruby
Xiti has joined #ruby
vince_prignano has joined #ruby
jtgiri_ has joined #ruby
theRoUS has quit [Ping timeout: 256 seconds]
Zolo has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
t0rc has joined #ruby
sjltaylor has joined #ruby
freerobby has quit [Quit: Leaving.]
julweber has quit [Remote host closed the connection]
zachrab has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
zachrab has joined #ruby
mwmnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Solnse has joined #ruby
<_br_> aedorn: take it easy
rickruby_ has quit [Ping timeout: 256 seconds]
anay has joined #ruby
ukd1 has joined #ruby
jnix has quit [Changing host]
jnix has joined #ruby
sml0820 has quit [Quit: sml0820]
lethjakman has joined #ruby
blackmesa has joined #ruby
julweber has joined #ruby
Xiti has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
geometry06 has joined #ruby
BSaboia has quit [Ping timeout: 248 seconds]
taion809 has quit []
Kruppe has joined #ruby
Ry0_ has joined #ruby
<denken> so... i must be doing something fundamentally wrong here but im not sure what https://gist.github.com/jlott/b8be2f7739aa1d24d932
<waxjar> my guess is node.chef_environment returns a Symbol instead of a String
anick has quit [Quit: Leaving]
nucatus has joined #ruby
<denken> hmm
colonolGron has quit [Quit: Lost terminal]
adambeynon has joined #ruby
amacgregor_ has joined #ruby
amacgregor has joined #ruby
aganov has quit [Quit: aganov]
AndChat| has joined #ruby
Megtastique has quit [Quit: Megtastique]
amacleod has joined #ruby
sayan has quit [Quit: Leaving]
malcolmva has joined #ruby
freerobby has quit [Quit: Leaving.]
sayan has joined #ruby
Ry0_ has quit [Remote host closed the connection]
tanema has quit [Remote host closed the connection]
gadgetoid_ has quit [Ping timeout: 268 seconds]
aryaching_ has quit []
aryaching has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
Banistergalaxy has quit [Ping timeout: 240 seconds]
pothibo has quit [Quit: pothibo]
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
zachrab has quit [Remote host closed the connection]
Ry0_ has joined #ruby
ahawkins has quit [Quit: Lost terminal]
thepumpkin has joined #ruby
amacgregor_ has quit [Ping timeout: 245 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
lkba has joined #ruby
Megtastique has joined #ruby
BSaboia has joined #ruby
camilasan has quit [Remote host closed the connection]
ukd1 has quit [Read error: Connection reset by peer]
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
thebastl has joined #ruby
camilasan has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
tealmage has joined #ruby
ukd1 has joined #ruby
dankest has joined #ruby
nucatus has quit [Remote host closed the connection]
avril14th has quit [Remote host closed the connection]
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ry0_ has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
camilasan has quit [Remote host closed the connection]
burlyscudd has joined #ruby
Desert_eagle has quit [Remote host closed the connection]
ukd1 has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
chinno998 has joined #ruby
dodosan has joined #ruby
devoldmx has joined #ruby
tealmage has quit [Ping timeout: 276 seconds]
soc42 has quit [Remote host closed the connection]
rickruby has joined #ruby
niklasb has joined #ruby
filipe has quit [Remote host closed the connection]
cha1tanya has joined #ruby
ryandeussing has joined #ruby
ssvo has joined #ruby
dodosan has quit [Ping timeout: 245 seconds]
Cyrus_ has quit [Quit: Cyrus.close()]
St_Marx has joined #ruby
vince_prignano has quit [Read error: Connection reset by peer]
vince_prignano has joined #ruby
Davey has joined #ruby
vince_prignano has quit [Max SendQ exceeded]
brain_shim has joined #ruby
t0rc has quit [Quit: WeeChat 0.4.1]
io_syl has joined #ruby
ColKurtz has joined #ruby
ryandeussing has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
carlyle has joined #ruby
robbyoconnor has quit [Excess Flood]
darrik has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
Matriks has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
dankest has quit [Quit: dankest]
arietis has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
Matriks has joined #ruby
Matriks has quit [Remote host closed the connection]
shaunbak_ has joined #ruby
shaunbaker has quit [Ping timeout: 276 seconds]
zastern_ has joined #ruby
zastern_ has quit [Remote host closed the connection]
bamdad has joined #ruby
saarinen has joined #ruby
brunoro_ has joined #ruby
zeade has joined #ruby
RichardBaker has joined #ruby
ukd1 has joined #ruby
Nisstyre-laptop has joined #ruby
zastern has quit [Ping timeout: 264 seconds]
mneorr_ has quit [Remote host closed the connection]
daxroc has quit [Ping timeout: 246 seconds]
jjbohn is now known as jjbohn|afk
Xeago has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
tjad has quit [Ping timeout: 240 seconds]
pel_daniel has joined #ruby
ewnd9 has joined #ruby
Splourian has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bamdad has quit [Client Quit]
efrainolivares has joined #ruby
zastern has joined #ruby
zastern has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
Megtastique has quit [Quit: Megtastique]
marcdel has joined #ruby
St_Marx has quit [Remote host closed the connection]
brunoro_ has quit [Ping timeout: 264 seconds]
gadgetoid_ has joined #ruby
ukd1 has quit [Remote host closed the connection]
tgunr has joined #ruby
St_Marx has joined #ruby
chinno998 has quit [Quit: Leaving.]
ukd1 has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
tanema has joined #ruby
zastern has joined #ruby
moses_m has quit [Ping timeout: 246 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
* Donovan is trying to wrap his head around BDD and failing
axl_ has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troessner has quit [Quit: Leaving]
<Donovan> starting a new project (mostly for learning purposes) but I'm struggling with writing tests for code I don't know how I want to look yet
havenwood has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<spike|spiegel> no worries, BDD is most hype.
<spike|spiegel> mostly*
<Donovan> I know it's because this is new to me, but it's becoming daunting. Normally I would tease out the code in development, then write a test for it.
jjbohn|afk is now known as jjbohn
<Donovan> putting the test first seems, 'wrong' to me
mansi has quit [Remote host closed the connection]
anirudh24seven has joined #ruby
<spike|spiegel> it is :) at many levels
<Donovan> at least, for the way I'm using to thinking
<Donovan> good, at least I'm not alone then. =)
mansi has joined #ruby
emptyflask has joined #ruby
<spike|spiegel> don't ride the hype train, do what works best for you
brunoro_ has joined #ruby
<Donovan> well, the problem with the normal way is that I sometimes don't get the tests written
<Donovan> that's the habit I'm trying to cure
mary5030 has joined #ruby
fantazo has quit [Ping timeout: 246 seconds]
<spike|spiegel> and the tests you write first won't be far from being any better
anirudh24seven has left #ruby [#ruby]
noname001 has quit [Ping timeout: 264 seconds]
<Donovan> I suppose that's also true
<Donovan> I find I spend more type refactoring the test to match the code than on the code itself, sometimes.
<spike|spiegel> I write automated tests to cover the tricky bits of implementation / the boundaries,edges
workmad3 has joined #ruby
kiri has quit [Quit: Leaving]
gadgetoid_ has quit [Ping timeout: 256 seconds]
<spike|spiegel> or when manual testing would be tedious, never ever aim for 100% coverage, that makes no sense
<Donovan> good point
<Donovan> refactoring code is nice with a working test suite, though
Megtastique has joined #ruby
<theRoUS> ruby 1.8.7, rubygems 2.0.7, RHEL6. i'm getting this from 'bundle install --standalone': Gem::RemoteFetcher::UnknownHostError: no such name (https://rubygems.org/gems/rake-0.9.2.2.gem)
ferdev has quit [Quit: ferdev]
<Donovan> but yeah, I suppose just the bits that are hard/tedious to manually test makes the most sense
snath has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 256 seconds]
zastern has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
robscomputer has joined #ruby
sjltaylor has joined #ruby
anonymuse has joined #ruby
anirudh24seven_ has joined #ruby
anirudh24seven_ has quit [Client Quit]
Al_ has quit [Quit: Al_]
pjeide has joined #ruby
anirudh24seven_ has joined #ruby
anirudh24seven_ is now known as anirudh24seven
devoldmx3 has joined #ruby
anirudh24seven has left #ruby [#ruby]
geometry06 has quit [Quit: Leaving.]
jonkri has quit [Quit: jonkri]
<_br_> theRoUS: Rubygems seems down to me.
<_br_> This again.
barratt has quit [Ping timeout: 240 seconds]
Karai-ramen has joined #ruby
<_br_> cancel after good morning.
<theRoUS> meh. plus, my problem turned out to be due to an http_proxy setting
obs has quit [Remote host closed the connection]
<_br_> at least its fixed :)
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
robbyoconnor has quit [Excess Flood]
dankest has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
devoldmx has quit [Ping timeout: 268 seconds]
khushildep has quit [Quit: getting the flock() outta here]
jonathanwallace1 has quit [Quit: WeeChat 0.4.1]
bzitzow has joined #ruby
chrisja has joined #ruby
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
spider-mario has joined #ruby
<Donovan> _br_: good stuff
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
renderful has joined #ruby
pjeide has quit [Quit: Leaving.]
geometry06 has joined #ruby
geometry06 has quit [Max SendQ exceeded]
interactionjaxsn has quit [Remote host closed the connection]
shaunbak_ has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 276 seconds]
geometry06 has joined #ruby
interactionjaxsn has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
codecop has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
geometry06 has quit [Max SendQ exceeded]
mary5030 has joined #ruby
clocKwize has joined #ruby
pskosinski has joined #ruby
geometry06 has joined #ruby
zastern has joined #ruby
goganchic has joined #ruby
Karai-ramen has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more?]
BizarreCake has joined #ruby
Splourian has left #ruby ["Leaving"]
interactionjaxsn has quit [Read error: No route to host]
a7d7p has joined #ruby
interactionjaxsn has joined #ruby
DanKnox_away is now known as DanKnox
bigkevmcd has quit [Quit: Ex-Chat]
kaspergrubbe has quit [Remote host closed the connection]
nucatus has joined #ruby
saarinen has quit [Quit: saarinen]
brain_shim has quit [Ping timeout: 246 seconds]
mary5030 has quit [Ping timeout: 245 seconds]
wald0 has joined #ruby
iliketur_ has joined #ruby
<wald0> how to know the actual version of a public gem ?
workmad3 has quit [Ping timeout: 260 seconds]
klaut has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
ebanoid has quit [Quit: brbomgwtfbbq]
devoldmx has joined #ruby
tealmage has joined #ruby
robscomputer_ has joined #ruby
robscomputer_ has quit [Read error: Connection reset by peer]
robscomputer has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
<apeiros> wald0: you look it up on rubygems.org?
<apeiros> or you use the gem command
robscomputer has joined #ruby
<waxjar> gem list gemname
zastern has quit [Remote host closed the connection]
<_br_> Donovan: welcome, hope it entertained and helped a bit to get the TDD flow
nucatus has quit [Ping timeout: 264 seconds]
<wald0> i checked the site, but i wanted to know the way via commands
brunoro_ has quit [Ping timeout: 276 seconds]
<a7d7p> apeiros - cool. i didn't know that command either. thx
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
burlyscudd has quit [Quit: Leaving.]
brennanMKE has quit [Remote host closed the connection]
browndawg has joined #ruby
brunoro_ has joined #ruby
dash_ has quit [Ping timeout: 245 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
interactionjaxsn has quit [Remote host closed the connection]
tealmage has quit [Ping timeout: 240 seconds]
araujo has quit [Read error: Connection reset by peer]
interactionjaxsn has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
TheComrade has joined #ruby
m8 has quit [Ping timeout: 268 seconds]
goleldar has joined #ruby
<goleldar> how can I make a ruby gem to connect through a proxy server?
Celelibi has quit [Ping timeout: 264 seconds]
i_s has joined #ruby
_Andres has quit [Ping timeout: 240 seconds]
girija has quit [Quit: Ex-Chat]
<_br_> Is gem search <name> --both the only way you can search externally for gems? Just curious..
tylersmith has joined #ruby
i_s has quit [Remote host closed the connection]
interactionjaxsn has quit [Ping timeout: 240 seconds]
tatsuya__ has quit [Remote host closed the connection]
brain_shim has joined #ruby
Neener54 has quit [Quit: Adios muchachos!!!]
_Andres has joined #ruby
brain_shim has quit [Max SendQ exceeded]
lucazi has joined #ruby
Celelibi has joined #ruby
brain_shim has joined #ruby
i_s has joined #ruby
lucazi_ has quit [Ping timeout: 240 seconds]
anay has quit [Remote host closed the connection]
atyz has joined #ruby
brain_shim has quit [Max SendQ exceeded]
brain_shim has joined #ruby
twoism has joined #ruby
Megtastique has quit [Quit: Megtastique]
AlHafoudh has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Dysruption has joined #ruby
<Donovan> _br_: entertained for sure. =)
Voodoofish430 has joined #ruby
dangerousdave has quit [Quit: Leaving...]
Megtastique has joined #ruby
baroquebobcat has joined #ruby
andrew565 has joined #ruby
Senjai has joined #ruby
Senjai has joined #ruby
zastern has joined #ruby
freerobby has joined #ruby
<goleldar> is there a way to start a ruby instance and have that instance connect through a proxy?
zastern has quit [Remote host closed the connection]
Spami has joined #ruby
<_br_> goleldar: connect through a proxy?
RichardBaker has quit [Quit: RichardBaker]
<_br_> goleldar: You mean like having several worker instances running remotely and then just sending them work to do or something?
<goleldar> I am trying to avoid API limits. The API restrictions are per IP so I thought I could start up a few threads using different proxies to avoid the limits
Matriks has joined #ruby
scarolan has joined #ruby
<goleldar> I am trying to pull down all the API data to a local DB
zeromodulus has quit [Read error: Connection reset by peer]
<_br_> certainly its possible to write something like that, but seems you are trying to flood and dump some remote service which is rather uncool.
zeromodulus has joined #ruby
zeromodulus has quit [Changing host]
zeromodulus has joined #ruby
tazz has joined #ruby
tazz has left #ruby [#ruby]
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 240 seconds]
<goleldar> It is a movie database .. they do not provide a way to download it.. They said themselves that the only way to get a local copy is to use the API
systing has joined #ruby
SHyx0rmZ has joined #ruby
<_br_> well api limits are normally there for a reason because these guys are apparently providing a free service and trying to avoid paying excessive bills by some people going nuts with scripting.
baroquebobcat has quit [Quit: baroquebobcat]
nucatus has joined #ruby
<waxjar> maybe cache your responses instead of trying to get around the limit
<goleldar> Well that is what I am doing.. I am saving it to my local DB and then I will only have to check for updates
c0rn has joined #ruby
<_br_> can't you just scrape a bit slower? Is it necessary to hammer the service?
artm has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
m8 has joined #ruby
Heskie has quit []
<goleldar> I am not hammering it.. I am now within the limits.. I am just trying to cut the time in half or a third.. as it stands now it will take 15 days to grab just a portion of what I need
jonathanwallace has joined #ruby
<onewheelskyward> You could ask them for the bulk of data you need.
ilyam has joined #ruby
efrainolivares has joined #ruby
cads has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
motto has joined #ruby
alem0lars has quit [Ping timeout: 245 seconds]
ebanoid has joined #ruby
reset has joined #ruby
Evixion has quit [Read error: Connection reset by peer]
m8 has quit [Ping timeout: 240 seconds]
stuartrexking has joined #ruby
sml0820 has joined #ruby
jjbohn is now known as jjbohn|afk
Evixion has joined #ruby
RichardBaker has joined #ruby
frotto has quit [Ping timeout: 264 seconds]
nadirvardar has joined #ruby
mansi has joined #ruby
jaynewstrom has quit [Ping timeout: 264 seconds]
tommyvyo has quit [Quit:]
zastern has joined #ruby
artm has quit [Quit: Ex-Chat]
bricker`LA has quit [Ping timeout: 276 seconds]
Zeeraw has joined #ruby
strgbrew has joined #ruby
amacgregor_ has joined #ruby
amacgregor has joined #ruby
systing has quit [Quit: leaving]
kaspergrubbe has quit [Remote host closed the connection]
elux has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
leeurooi has joined #ruby
freerobby has joined #ruby
Mon_Ouie has joined #ruby
momomomomo has joined #ruby
mansi has joined #ruby
motto has quit [Read error: Connection reset by peer]
stuartrexking has quit [Quit: Leaving...]
barratt has joined #ruby
motto has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
brunoro_ has quit [Ping timeout: 248 seconds]
stuartrexking has joined #ruby
<shevy> will rails become an OS?
ffio_ has joined #ruby
ffio has quit [Ping timeout: 248 seconds]
<_br_> oh god please no
<_br_> how many SLOC does it have? Still around 80k+ ?
elux has quit [Quit: Bye!]
c0rn has joined #ruby
<_br_> (insane)
diegoviola has joined #ruby
mikepack has joined #ruby
<galdor_> I wrote a gem (bindings for the gumbo html5 parser); what would be the 'right' way to make it available so that people can just gem install it without any problem ?
barratt has quit [Client Quit]
ryandeussing has joined #ruby
<_br_> galdor_: Nice!
<_br_> galdor_: Package it as a proper gem? What kind of deps?
<galdor_> rubygems.org seems the way to go
<galdor_> no deps; my Rakefile produces a .gem file
motto has quit [Ping timeout: 246 seconds]
<_br_> ah, sure, rubygems
zastern has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
rcosta has quit [Remote host closed the connection]
tommyvyo has joined #ruby
browndawg has left #ruby [#ruby]
iliketur_ has quit [Quit: zzzzz…..]
ryandeussing has quit [Ping timeout: 264 seconds]
wald0 has quit [Quit: Lost terminal]
zastern_ has joined #ruby
sporkbomb has quit [Quit: leaving]
Tricon has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
loophole has joined #ruby
zastern_ has quit [Remote host closed the connection]
<shevy> _br_ cool, only 80k?
zastern has joined #ruby
<shevy> I think all my ruby projects together reach about 50k
twoism has quit [Remote host closed the connection]
<shevy> including comments though
<shevy> an average class I have may have about 80 lines in total, 30 lines of code, 20 lines empty newlines, rest comments
<shevy> give or take a bit
twoism has joined #ruby
iliketur_ has joined #ruby
ferdev has joined #ruby
moses_m has joined #ruby
<_br_> shevy: If you are on a *nix env, just do e.g. emerge sloccount ; fun little tool written in perl to measure this stuff.
<_br_> sinatra is 1k SLOC btw.
tealmage has joined #ruby
<banisterfiend> shevy: i'm on 8.25 million ;)
scarolan has quit [Ping timeout: 276 seconds]
<banisterfiend> oh you weren't talking about gem downloads
Megtastique has quit [Quit: Megtastique]
jjbohn|afk is now known as jjbohn
interactionjaxsn has joined #ruby
platzhirsch has left #ruby [#ruby]
twoism_ has joined #ruby
twoism_ has quit [Remote host closed the connection]
twoism has quit [Read error: Connection reset by peer]
twoism has joined #ruby
dankest has quit [Quit: dankest]
pooriaazimi has joined #ruby
chrisja has quit [Quit: leaving]
endash has quit [Read error: Connection reset by peer]
endash_ has joined #ruby
robonerd has joined #ruby
dankest has joined #ruby
BSaboia has quit [Ping timeout: 276 seconds]
twoism_ has joined #ruby
raul782_ has joined #ruby
popcornlover has quit []
twoism has quit [Read error: Connection reset by peer]
moses_m_ has joined #ruby
Megtastique has joined #ruby
shevy has quit [Quit: ""]
mrsolo has joined #ruby
dtcrshr has quit [Quit: poff]
tealmage has quit [Ping timeout: 248 seconds]
pentameter has joined #ruby
moses_m has quit [Ping timeout: 264 seconds]
mark_locklear has joined #ruby
mary5030 has joined #ruby
johnmlocklear_ has joined #ruby
jduan1981 has joined #ruby
tommyvyo has quit [Quit:]
cha1tanya has quit [Quit: cha1tanya]
elux has joined #ruby
jduan1981 has quit [Client Quit]
mark_locklear has quit [Read error: Connection reset by peer]
ryannielson has quit [Quit: ryannielson]
<eka> hi all… what's the default for hashes keys? symbol or string?
<eka> I mean, what's the most used or convention
havenwood has quit [Remote host closed the connection]
axl__ has joined #ruby
twoism_ is now known as twoism
carlyle has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
<apeiros> eka: the one which makes sense for your situation
<apeiros> eka: the point of using different hash keys is exactly because there's no "one size fits all"
<eka> apeiros: making a gem that returns a hash…
axl_ has quit [Ping timeout: 276 seconds]
axl__ is now known as axl_
<eka> apeiros: and found a bug… sometimes I use string sometimes symbol :P
workmad3 has joined #ruby
blackmesa has joined #ruby
horofox has quit [Quit: horofox]
<apeiros> well, that's inconsistent and thus bad
<apeiros> eka: are the keys always from the same pool of possible keys?
<eka> apeiros: what do you mean?
Megtastique has quit [Quit: Megtastique]
iliketur_ has quit [Quit: zzzzz…..]
<apeiros> I mean like your possible keys are 'a', 'b' or 'c', and it can always only be any of them
<apeiros> so {'a' => 1, 'b' => 2} # <-- possible
<apeiros> {'x' => 1} # <-- not possible because 'x' is not part of your set of possible keys
forced_request has joined #ruby
<eka> apeiros: there is a set of key names, fixed
three18ti has quit [Ping timeout: 268 seconds]
<apeiros> then use symbols
Megtastique has joined #ruby
<apeiros> now: is it always *all* of those keys? or is it usually only a couple of them?
m8 has joined #ruby
<eka> all
<apeiros> then don't use a hash
<apeiros> write a proper class and return that instead.
<eka> apeiros: ok… will think about it… will break previous versions though
m8 has quit [Read error: Connection reset by peer]
dash_ has joined #ruby
<apeiros> you can add a to_h method on that class, to make the transition easier.
m8 has joined #ruby
<apeiros> changing from mixed symbol/string keys to symbols only will break previous versions too btw.
<eka> apeiros: yes that can be.. but can't do the class thing cause I'm doing a thin oembed wrapper that returns hash
<apeiros> so if you make the change, now is a good moment anyway :-p
l33 has joined #ruby
three18ti has joined #ruby
Matriks has quit [Remote host closed the connection]
renderful has quit [Remote host closed the connection]
<eka> apeiros: my bad was to use symbol… seems that the oembed ruby api returns string keys
<eka> will see
stkowski has quit [Quit: stkowski]
<apeiros> that's not really a viable excuse for not doing the class thing :-p
<eka> apeiros: thanks
julweber has quit [Remote host closed the connection]
dash_ has quit [Max SendQ exceeded]
<eka> apeiros: mmm ok… could wrap the response from the oembed and return a class
<_br_> lol this whole discussion reminded me of this http://bash.org/?925050
dash_ has joined #ruby
<eka> _br_: lol
aryaching_ has joined #ruby
<apeiros> _br_: lol. ideal for gays, though :)
aryaching has quit [Ping timeout: 246 seconds]
<apeiros> you're a colon sex symbol
Zolo has quit [Remote host closed the connection]
aryaching_ is now known as aryaching
phantummm has joined #ruby
<_br_> hehe true that
pjeide has quit [Quit: Leaving.]
Zolo has joined #ruby
Zolo has quit [Read error: Connection reset by peer]
wolcanus has joined #ruby
JZTech101 has quit [Read error: Connection reset by peer]
Zolo has joined #ruby
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
tmi has joined #ruby
<eka> apeiros: I could always do OpenStruct.new(my_hash) ;)
devoldmx3 has joined #ruby
Dysruption has quit [Quit: Dysruption]
iliketur_ has joined #ruby
devoldmx3 has quit [Client Quit]
<apeiros> eka: you could, but it'd be stupid
devoldmx3 has joined #ruby
<jeremyb> gah, remissed neener
devoldmx has quit [Ping timeout: 245 seconds]
<eka> apeiros: why?
lord1234 has joined #ruby
<_br_> its a hack and not a proper solution
<apeiros> because it beats the purpose of creating a class for your response.
<apeiros> purposes: a) make your response discoverable (you can look up docs on it and discover its members)
Dysruption has joined #ruby
<apeiros> b) make it easier to spot bugs (NoMethodError instead of just getting nils back)
<apeiros> c) provide a place to put methods to make dealing with your response easier
<lord1234> so i am trying to use bundler for the first time...I created a Gemfile...but am getting some errors http://pastie.org/8242969 this might have to do with the fact that I don't have a gemfile.lock file in the same dir as Tester.rb(which is also where the current Gemfile is located)....how do I make a .lock file, and is that my problem? Ruby 1.9.3 in case that matters
c0rn has quit [Quit: Computer has gone to sleep.]
smathieu has joined #ruby
leeurooi has quit [Quit: I'm outta here]
<apeiros> lord1234: did you run `bundle` first?
<_br_> apeiros: good writeup
<apeiros> _br_: thank you
<MrZYX> lord1234: also it's bundle exec ruby Tester.rb
<lord1234> Could not find gem 'debugger-ruby_core_source (>= 0) x86-mingw32' in the gems available on this machine.
eldariof has joined #ruby
<lord1234> just got that when running bundle...wierd
* apeiros thinks the exception of `bundle exec` could be more self-explaining
Neomex has joined #ruby
robscomputer_ has joined #ruby
robscomputer_ has quit [Remote host closed the connection]
<lord1234> i had a space lemm see fi that helps
d2dchat has joined #ruby
dodosan has joined #ruby
Authenticator has joined #ruby
robscomputer_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
andrew565 has left #ruby [#ruby]
Criztian has joined #ruby
pooriaazimi has quit [Quit: pooriaazimi]
<apeiros> lord1234: 'debugger-ruby_core_source (>= 0) x86-mingw32' <-- that's an odd gem name
Nisstyre-laptop is now known as Nisstyre
nomenkun has quit [Ping timeout: 264 seconds]
<apeiros> I'd bet that 'debugger-ruby_core_source' should be the gem name
<loophole> how can you suspend/resume a thread, outside of the thread from main
robscomputer has quit [Ping timeout: 240 seconds]
<apeiros> loophole: I don't think you can
<apeiros> not really the point of threads anyway
mdpatrick has joined #ruby
<loophole> well i basically want to monitor the load of the system
evenix has quit [Ping timeout: 260 seconds]
<MrZYX> since you can't stop a thread in a thread safe manner I'd be very surprised if you could pause it
<loophole> and if it reachs X threshold, pause the full script until it goes down
<rhys> what is the << symbol called in ruby so I can google it?
<loophole> any ideas?
<lord1234> apeiros: yea it had a space in it somewhere(after the name in the string text), but i fixed that and got the following: http://pastie.org/8242985
<loophole> (from inside the script)
<apeiros> rhys: it doesn't have a name. and google is the wrong tool.
<Authenticator> Is there a way to perform 2way certificate auth for HTTP? (I see people talking about the SMTP version)
<MrZYX> lord1234: just get rid of debugger and use pry instead
<apeiros> rhys: << in most cases is a method name. you'd use the docs of the class you call << on.
<lord1234> MrZYX: pry?
<rhys> i see it used in what looks like inheritance of classes.
dodosan has quit [Ping timeout: 264 seconds]
<MrZYX> lord1234: http://pryrepl.org/
<loophole> apeiros: mutexes will work in some cases, but not for what i need
AlHafoudh has quit [Quit: Computer has gone to sleep.]
russt has joined #ruby
<apeiros> lord1234: your first project with bundler and you have like 20 gems in it? :)
ecart has joined #ruby
<rhys> right. ruby docs. got it.
havenwood has joined #ruby
<apeiros> rhys: all other cases are syntax. zenspiders quickref does a good job of documenting these
<eka> apeiros: hi, back… thanks for the explanation, still doubting on a class when there is no behaviour needed for that data… but I will surely consider it.
<lord1234> apeiros: this is an old project...i've just never used bundler before
<lord1234> MrZYX: how can I configure RubyMine to use pry instead of IRB?
breakingthings has quit [Quit: breakingthings]
jjbohn is now known as jjbohn|afk
<MrZYX> I don't know, I don't use RubyMine
Fire-Dragon-DoL has joined #ruby
brunoro_ has joined #ruby
<lord1234> apeiros: cute
<lord1234> StackOverflow says "its not working yet"
<lord1234> so that sorta screws me over if I want to develop with rubymine eh?
<lord1234> (which I use)
jds has joined #ruby
vlad_starkov has joined #ruby
Kricir has joined #ruby
<Authenticator> Authenticator: Does anyone know how to do Mutual-TLS auth for HTTP in Ruby?
jjbohn|afk is now known as jjbohn
<MrZYX> lord1234: well then your repl might not be pry, you can still use it as debugger
ffio_ has quit [Quit: WeeChat 0.4.1]
<apeiros> lord1234: you can always use the shell directly, you know? :-p
jerius_ has joined #ruby
<apeiros> as in "oh my god, 2 windows!" :-D
<eka> lord1234: seems available at the EAP http://youtrack.jetbrains.com/issue/RUBY-9302
<apeiros> eka: pm?
<lord1234> aha got it
<lord1234> some versions weren't matching up with what already working on my machine
<lord1234> so i just set the version #'s
<eka> apeiros: ?
<apeiros> pm = private message. whether it's ok if I send you a private message.
<eka> apeiros: oh yes np
i_s has quit [Remote host closed the connection]
loophole has left #ruby [#ruby]
braincrash has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
<lord1234> ok so it seems: http://pastie.org/8243012 bundle completed successfully, but failing when I bundle exec
jerius has quit [Ping timeout: 245 seconds]
bleubeard has joined #ruby
i_s has joined #ruby
predator117 has quit [Ping timeout: 268 seconds]
braincra- has quit [Ping timeout: 276 seconds]
<MrZYX> lord1234: read what I wrote earlier
ntus1017 has joined #ruby
<lord1234> which part of that?
<lord1234> sorry you wrote a bunch earlier...
i_s has quit [Remote host closed the connection]
Monie has joined #ruby
i_s has joined #ruby
<MrZYX> the very first thing I said to you...
l33 has quit [Disconnected by services]
l33_ has joined #ruby
Neomex has quit [Quit: Neomex]
renderful has joined #ruby
<lord1234> aaah ok MrZYX i didn't notice when you said that
blackmesa has quit [Ping timeout: 240 seconds]
bleubeard has quit [Remote host closed the connection]
Matriks has joined #ruby
moses_m_ has quit [Ping timeout: 246 seconds]
ry4nn has joined #ruby
ry4nn has quit [Remote host closed the connection]
JDHankle has quit [Remote host closed the connection]
bsaboia_ has joined #ruby
dankest has quit [Quit: dankest]
predator117 has joined #ruby
lebek has joined #ruby
vlad_sta_ has joined #ruby
brunoro_ has quit [Ping timeout: 276 seconds]
dankest has joined #ruby
carlyle has joined #ruby
dankest has quit [Client Quit]
colonolGron has joined #ruby
pjeide has quit [Quit: Leaving.]
iliketur_ has quit [Quit: zzzzz…..]
wolcanus has quit [Remote host closed the connection]
bleubeard has joined #ruby
iliketur_ has joined #ruby
wolcanus has joined #ruby
St_Marx has quit [Quit: Leaving]
shevy has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
lebek has quit [Client Quit]
noopq has quit [Ping timeout: 260 seconds]
lebek has joined #ruby
daxroc has joined #ruby
<lord1234> so since I did the bundling, and created the lockfile, from now on can another user just DL the repo and run "bundle exec ruby Tester.rb" instead of running bundle by itself first in the folder?
<lord1234> or do they also have to run bundle as well?
daxroc has quit [Client Quit]
predator117 has quit [Ping timeout: 248 seconds]
peregrine81 has quit [Quit: peregrine81]
<MrZYX> they have to run it as well
Kricir has quit [Read error: Connection reset by peer]
Kricir_ has joined #ruby
<MrZYX> bundler primarily ensures he gets the same versions as you
peregrine81 has joined #ruby
<MrZYX> also that only the right versions get loaded, in case you have multiple versions of a gem installed
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cortexman has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
cortexman has joined #ruby
<lord1234> got it
efrainolivares has quit [Quit: efrainolivares]
<lord1234> thank you
atno has quit [Quit: Leaving]
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
wolcanus has quit [Ping timeout: 260 seconds]
Vivekananda has joined #ruby
freerobby has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
bradleyprice has joined #ruby
s0ny123 has quit [Quit: leaving]
tealmage has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
splittingred has quit [Ping timeout: 260 seconds]
chriskk has joined #ruby
<apeiros> lord1234: you can package the gems
Megtastique has quit [Quit: Megtastique]
<apeiros> it's not what you normally do, though
<apeiros> that's something to do with apps you want to deploy to a server which should not connect to the internet
<apeiros> anyway, more info via `bundle help package`
breakingthings has joined #ruby
kirun has joined #ruby
Vivekananda has joined #ruby
<MrZYX> don't you still have to bundle install though? It just doesn't download the gem files anymore but uses the packaged ones, or am I wrong here?
saarinen has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
Monie has joined #ruby
Vivekananda has joined #ruby
<apeiros> hm, not sure actually
<apeiros> not having the work laptop here and not having the patience to package another project :-)
<lord1234> apeiros: here's a question, I have a gem(curb) which doesn't seem to work on windows. How can I get the bundler to use a specific gemfile if it's on a linux system vs a windows system?
<MrZYX> afaik, what you can do is bundle install --path something and commit something and .bundle/config
horofox has joined #ruby
<MrZYX> not that I'd recommend that in any way
<apeiros> lord1234: I only know it's possible, I don't remember how, though
<apeiros> we had that issue with v8
<apeiros> used different gems on osx and linux
peregrine81 has quit [Quit: peregrine81]
<lord1234> --gemfile: Use the specified gemfile instead of Gemfile
<apeiros> the poor mans solution would probably to use groups
<lord1234> got it
<lord1234> have a windows and linux gemfile
<apeiros> yeah, or just have windows_only and linux_only groups
predator117 has joined #ruby
AlHafoudh has joined #ruby
nadirvardar has quit [Quit: Computer has gone to sleep.]
tealmage has quit [Ping timeout: 264 seconds]
saarinen has quit [Client Quit]
Megtastique has joined #ruby
devoldmx has joined #ruby
mary5030 has quit [Remote host closed the connection]
saarinen has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
Es0teric has joined #ruby
mary5030 has joined #ruby
pwh has quit [Quit: pwh]
RichardBaker has joined #ruby
jonathanwallace has quit [Ping timeout: 264 seconds]
peregrine81 has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
altamic has joined #ruby
atno has joined #ruby
altamic has left #ruby [#ruby]
stuartrexking has quit [Quit: Leaving...]
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
sambao21 has joined #ruby
JZ|Zzz has joined #ruby
pjeide has quit [Client Quit]
JZ|Zzz is now known as JZTech101
nmabry has joined #ruby
awwaiid has quit [Ping timeout: 248 seconds]
BizarreCake has quit [Ping timeout: 240 seconds]
awarner_ has joined #ruby
brennanMKE has joined #ruby
AndChat| has quit [Ping timeout: 276 seconds]
bleubeard has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
predator117 has quit [Ping timeout: 264 seconds]
jjbohn has quit [Quit: Leaving...]
anonymuse has quit [Remote host closed the connection]
alvaro_o has joined #ruby
Banistergalaxy has joined #ruby
MrZYX is now known as MrZYX|off
jjbohn has joined #ruby
awarner has quit [Ping timeout: 256 seconds]
ner0x has joined #ruby
freerobby has quit [Quit: Leaving.]
i_s has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
raul782_ has quit [Remote host closed the connection]
robscomputer_ has quit [Read error: Connection reset by peer]
carlyle has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
atno has joined #ruby
blackmesa has joined #ruby
pwh has joined #ruby
predator117 has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ukd1 has quit [Remote host closed the connection]
mdpatrick has quit [Quit: mdpatrick]
pkrnj has joined #ruby
ukd1 has joined #ruby
clooth has quit [Quit: clooth]
sml0820 has quit [Quit: sml0820]
amacgregor_ has quit [Ping timeout: 245 seconds]
amacgregor has quit [Ping timeout: 245 seconds]
wolcanus has joined #ruby
phantummm has quit [Quit: phantummm]
lord12341 has joined #ruby
emptyflask has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
shredding has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.1]
johnmlocklear_ has quit [Quit: Leaving]
ukd1 has quit [Ping timeout: 240 seconds]
lord1234 has quit [Ping timeout: 246 seconds]
jleishman has quit [Remote host closed the connection]
ziggles has joined #ruby
freerobby has joined #ruby
robscomputer has joined #ruby
wolcanus_ has joined #ruby
Sid_ has joined #ruby
<ziggles> I'm using Mechanize and "randomly" getting Zlib::BufError exceptions that look similar to this: http://pastie.org/private/vfs9y5kk6awobogqtd0nw Any tips for where i should start to debug this would be greatly appreciated.
<ziggles> Specifically, i'm not sure how to investigate if it's my code causing problems or the response from the host I'm doing a GET on
brennanMKE has quit [Remote host closed the connection]
St_Marx has joined #ruby
baroquebobcat has joined #ruby
c0rn has joined #ruby
brennanMKE has joined #ruby
<eka> ziggles: just asking… which version of mechanize? cause there is an old bug open like that
<ziggles> eka: mechanize (2.7.2)
<eka> I was just curious
wolcanus has quit [Ping timeout: 256 seconds]
elepedus has joined #ruby
lord12341 has left #ruby [#ruby]
ebanoid has joined #ruby
<ziggles> eka: thanks for the input. I'm kind of thinking that the proxy I'm running through is screwing with the responses or something
<ziggles> I'm just not really sure where/how to start
eldariof has quit [Ping timeout: 260 seconds]
Hobogrammer has quit [Ping timeout: 268 seconds]
<eka> ziggles: did you try a direct connection with no proxy?
snath has joined #ruby
daniel_hinojosa has joined #ruby
<ziggles> eka: Yeah i have. And it works fine... It also works fine 99% of the time through the proxy lol... I've just never seen it happen when running locally (non-proxied)
jpinnix has joined #ruby
axl_ has quit [Quit: axl_]
ryandeussing has joined #ruby
robustus has quit [Ping timeout: 245 seconds]
jpinnix has left #ruby [#ruby]
Kruppe has quit [Remote host closed the connection]
a7d7p has quit [Quit: a7d7p]
c0rn has quit [Quit: Computer has gone to sleep.]
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
rickmasta has quit [Quit: Leaving...]
robustus has joined #ruby
emptyflask has joined #ruby
emptyflask has quit [Remote host closed the connection]
wolcanus_ has quit [Remote host closed the connection]
ryandeussing has quit [Ping timeout: 240 seconds]
goganchic has quit []
wolcanus has joined #ruby
djmitche has joined #ruby
Zolo has quit [Remote host closed the connection]
awwaiid has joined #ruby
axl_ has joined #ruby
c0rn has joined #ruby
c0rn has quit [Client Quit]
pjeide has joined #ruby
pjeide has joined #ruby
MrZYX is now known as MrZYX|off
ukd1 has joined #ruby
Matriks has quit [Remote host closed the connection]
elepedus has quit [Quit: elepedus]
reset has quit [Quit: Leaving...]
elepedus has joined #ruby
Monie has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
saarinen has quit [Quit: saarinen]
AlHafoudh has quit [Quit: Computer has gone to sleep.]
sml0820 has joined #ruby
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
pjeide has quit [Ping timeout: 256 seconds]
choobie has left #ruby [#ruby]
mansi has quit [Remote host closed the connection]
i_s has joined #ruby
teddyp1cker has joined #ruby
tjbiddle has joined #ruby
tjad has joined #ruby
mikepack has quit [Remote host closed the connection]
Nisstyre has quit [Quit: Leaving]
mansi has joined #ruby
smathieu_ has joined #ruby
MrZYX|off is now known as MrZYX
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
clocKwize has quit [Quit: clocKwize]
rickmasta has joined #ruby
djmitche has left #ruby [#ruby]
daniel_hinojosa has quit [Quit: Leaving.]
Companion is now known as companion
smathieu has quit [Ping timeout: 276 seconds]
forrest has joined #ruby
dtcrshr has joined #ruby
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
forrest has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 264 seconds]
redmenace has joined #ruby
brennanMKE has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
iliketur_ has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
dodosan has joined #ruby
tatsuya_o has joined #ruby
stkowski has joined #ruby
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
kaldrenon has quit [Remote host closed the connection]
stkowski has quit [Client Quit]
pwh has quit [Quit: pwh]
devoldmx has quit [Ping timeout: 276 seconds]
Kelet has quit [Read error: Connection reset by peer]
Dysruption has quit [Quit: Dysruption]
MrZYX is now known as MrZYX|off
v0n has quit [Ping timeout: 248 seconds]
sml0820 has quit [Quit: sml0820]
dash_ has quit [Quit: dash_]
babykosh has joined #ruby
redmenace has quit [Quit: leaving]
zombiebit has joined #ruby
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
altamic has joined #ruby
krawchyk has quit [Remote host closed the connection]
moses_m_ has joined #ruby
zmansiv has quit [Read error: Connection reset by peer]
MrZYX|off is now known as MrZYX
altamic has left #ruby [#ruby]
sml0820 has joined #ruby
sml0820 has quit [Client Quit]
mansi_ has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
Kricir_ has quit [Remote host closed the connection]
mansi has joined #ruby
pitzips_alt has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
Lewix has quit [Remote host closed the connection]
pitzips has quit [Ping timeout: 268 seconds]
reset has joined #ruby
Lewix has joined #ruby
Megtastique has quit [Quit: Megtastique]
mansi has quit [Ping timeout: 248 seconds]
zmansiv has joined #ruby
elaptics is now known as elaptics`away
mikepack has joined #ruby
Zolo has joined #ruby
jkline has joined #ruby
Zolo has quit [Remote host closed the connection]
brbcoding has quit [Ping timeout: 246 seconds]
Lewix has quit [Ping timeout: 240 seconds]
froy has quit [Read error: Connection reset by peer]
iliketur_ has quit [Quit: zzzzz…..]
Kricir has joined #ruby
v0n has joined #ruby
reset has quit [Ping timeout: 276 seconds]
froy has joined #ruby
razi has quit [Quit: Leaving.]
razi has joined #ruby
pskosinski has joined #ruby
Paradigm_ has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
jjbohn has quit [Quit: Leaving...]
Paradigm_ has quit [Remote host closed the connection]
i_s has joined #ruby
Paradigm_ has joined #ruby
elepedus has quit [Quit: elepedus]
workmad3 has joined #ruby
horofox has quit [Quit: horofox]
Paradigm_ has quit [Remote host closed the connection]
Paradigm_ has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
lebek has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaynewstrom has joined #ruby
Kricir has quit [Remote host closed the connection]
huevon has quit [Quit: huevon]
moses_m has joined #ruby
smathieu_ has quit [Remote host closed the connection]
jaynewstrom has quit [Remote host closed the connection]
jaynewstrom has joined #ruby
mansi has joined #ruby
Paradigm_ has quit [Remote host closed the connection]
sml0820 has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
Paradigm_ has joined #ruby
smathieu has joined #ruby
brennanMKE has joined #ruby
moses_m_ has quit [Ping timeout: 245 seconds]
froy has quit [Quit: kablam!]
<babykosh> question codeer gods….I want to check if index == either 1,2 or 3…how could I say this?
<eka> babykosh: you could do this [1] pry(main)> [1,2,3].include? 1
* havenwood bows to the co-deer gods
w3pm has quit [Ping timeout: 246 seconds]
<eka> lol
<havenwood> babykosh: (1..3).cover? index
zmansiv has quit [Disconnected by services]
Paradigm_ is now known as zmansiv
thebastl has quit [Quit: Ex-Chat]
<havenwood> babykosh: Using Range#cover? is nice for very large ranges because it checks for inclusion without iterating like #include?
Paradigm_ has joined #ruby
<havenwood> (If your range is contiguous.)
snovak has joined #ruby
KneferilisHome has quit [Quit: Page closed]
iliketur_ has joined #ruby
yacks has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
<babykosh> lol…codeeeeeer gooods
<babykosh> thank you
Nisstyre has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
hamakn has joined #ruby
brennanMKE has quit [Ping timeout: 276 seconds]
soulrain has quit [Ping timeout: 260 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
ebanoid has quit [Quit: brbomgwtfbbq]
tgunr has quit [Ping timeout: 246 seconds]
tommyvyo has joined #ruby
saarinen has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
w3pm has joined #ruby
tatsuya_o has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 268 seconds]
colonolGron has joined #ruby
gadgetoid_ has joined #ruby
cek has quit [Quit: жопа диридай диридиридай]
virtualize has quit [Ping timeout: 240 seconds]
brennanMKE has joined #ruby
mosez has joined #ruby
tgunr has joined #ruby
<eka> havenwood: that's familiar… from which anime it's?
<shredding> is it more rubyish to use and then &&?
ilyam has quit [Quit: ilyam]
sml0820 has quit [Quit: sml0820]
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
<eka> ahh princess mononoke
<shredding> I just found out, they are not equal.
interactionjaxsn has quit [Remote host closed the connection]
<shredding> These binding strength is interesting.
<Spooner> shredding, They operate at different operator precedences, so are not quite equivalent. In either case, use one or the other exclusively and make sure you know how they work ;)
elux has quit [Quit: Bye!]
c0rn has joined #ruby
<shredding> Spooner: Thanks.
<havenwood> shredding: `&&` is oft recommended over `or` due to 'confusing' precedence.
iliketur_ has quit [Quit: zzzzz…..]
dankest has joined #ruby
<Spooner> Yeah, but the "confusing precedence" isn't confusing if you know how it works.
<Morrolan> havenwood: Well, replacing all occurences of 'or' with '&&' is *definitely* going to lead to some confusing behaviour. :D
<havenwood> Spooner: Agreed. And it is hardly the 'hard' thing about Ruby. I totally disagree with the recommendation to treat `or` as plagued.
nadirvar_ has joined #ruby
evenix has joined #ruby
Paradigm_ has quit [Remote host closed the connection]
IceyEC has quit [Quit: IceyEC]
<Spooner> I am mostly working in Python at the moment and find "and/or" a lot nicer to look at (there is no &&|| in Python).
<shredding> I'm not really getting what "presedence" mean, but i guess i'll find in it the docs.
heftig has quit [Ping timeout: 245 seconds]
<shredding> Spooner: I'm coming from python, that's why I asked.
<shevy> shredding it means to find out "what comes first"
<Morrolan> shredding: Operators have a certain precedence, which defines the order in which they'll get evaluated.
<havenwood> shredding: Like in math, where * gets precedence over +, or / gets precedence over -.
<shredding> Ah, ok.
<shredding> Interesting.
<Morrolan> e.g. 1 + 2 * 3 = 1 + (2 * 3), and not (1 + 2) * 3
<prophile> needs moar S expressions
<Spooner> shredding, As with maths stuff, you can just overuse brackets and never worry about arcane precedence rules ;)
<shredding> btw, shevy, I've solved my httparty mocking!
devoldmx3 has quit [Read error: Connection reset by peer]
altamic has joined #ruby
devoldmx has joined #ruby
gadgetoid_ has quit [Ping timeout: 264 seconds]
<havenwood> shredding: You'll notice on the quickref list the math operators are on the precedence list.
carlyle has joined #ruby
<shredding> Thanks for clearing that out!
pjeide has quit [Ping timeout: 256 seconds]
<shevy> shredding cool
<shredding> The rspec syntax is by far the most elegant I have ever worked with. I would not say it's fun to write test, but it's ok!
<shredding> In phpunit for example, it's really not fun.
sayan has quit [Ping timeout: 264 seconds]
devoldmx has quit [Read error: Connection reset by peer]
<eka> shredding: sorry to say that php is not fun at all
c0rn has quit [Quit: Computer has gone to sleep.]
<Authenticator> Authenticator: Does anyone know how to do Mutual-TLS auth for HTTP in Ruby?
<shredding> damn, i did not want to write php in #python or #ruby ever
<shredding> again
<shredding> :)
<shevy> hehe
<shevy> php is like a melting pot without a chef cook
andrew565 has joined #ruby
Lewix has joined #ruby
iliketur_ has joined #ruby
saarinen has quit [Quit: saarinen]
<shredding> Authenticator: I'm really new to ruby and i have only worked with one gem until now, but it can do it: https://gist.github.com/floehopper/714136
altamic has quit [Ping timeout: 245 seconds]
<mjc_> shevy: php is like a melting pot with a chef who is blind, deaf, and anosmic :P
<shevy> now you make me lookup anosmic
<mjc_> no sense of smell
<shevy> aha
<eka> mjc_: just learned a new word… :)
<mjc_> :)
<shevy> it's like those three monkeys that cover ears, eyes or mouth
<shevy> well... with the mouth being the nose of course here...
bsaboia_ has quit [Ping timeout: 246 seconds]
atyz has quit [Quit: Leaving...]
v0n has quit [Ping timeout: 256 seconds]
interactionjaxsn has joined #ruby
<mjc_> heh
<eka> just a crippled programming language
moses_m has quit [Quit: 0.4.1]
sqd has quit [Quit: sqd]
havenwood has quit [Remote host closed the connection]
jjbohn has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
pwh has joined #ruby
efrainolivares has joined #ruby
maxmanders has joined #ruby
<shevy> hmm
<shevy> it's more like a chaotic growth
<shevy> somewhat limited in its direction as well
cantonic has joined #ruby
sml0820 has joined #ruby
ilyam has joined #ruby
heftig has joined #ruby
saarinen has joined #ruby
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
arietis has joined #ruby
pjeide has quit [Client Quit]
evenix has quit [Remote host closed the connection]
andrew565 has quit [Quit: andrew565]
tealmage has joined #ruby
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
<alvaro_o> php is not that bad if you know what you do
maxmanders has quit [Ping timeout: 246 seconds]
anderson has quit [Read error: Connection reset by peer]
<alvaro_o> I prefer it over writing webpages with C++
anderson has joined #ruby
d2dchat has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
snath has quit [Ping timeout: 248 seconds]
Dysruption has joined #ruby
pentameter has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 276 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<mjc_> alvaro_o: the problem is that nobody else knows what they're doing, so you end up reinventing things
<banisterfiend> alvaro_o: i prefer git to php
atyz has joined #ruby
<alvaro_o> banisterfiend: you are comparing oranges with apples
<banisterfiend> alvaro_o: git makes websites faster and more powerful
<banisterfiend> than php
<xybre> No, he's comparing a steam engine to a poodle.
yfeldblum has quit [Ping timeout: 276 seconds]
<alvaro_o> banistefiend: do you mean this git http://git-scm.com/ ?
pooriaazimi has joined #ruby
<eka> alvaro_o: why you would choose c++ for webdev when you have a lot of options around?
tatsuya_o has quit [Remote host closed the connection]
<xybre> eka: the only way to do webapps is to write them in assembler.
<prophile> integration into an existing system perhaps
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
<alvaro_o> eka: is not that you can always choose your stack. Whatever company you work for, they have they preferred stack.
tealmage has quit [Ping timeout: 256 seconds]
<eka> alvaro_o: yes, but mentioning c++ is a little off
<eka> alvaro_o: and we have to admit… php would be the last option… you can do a lot better and fast with python, ruby et al
sml0820 has quit [Quit: sml0820]
brennanMKE has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
devoldmx has joined #ruby
<xybre> Oh, and the best part about the contractor shit is that he said everything is going to be done today - and now he says he's going to work on it over the weekend. So my boss is happy. WAT.
reset has joined #ruby
sml0820 has joined #ruby
<xybre> Woops wrong channel!
pooriaazimi has quit [Client Quit]
<xybre> lol
s0ber_ has joined #ruby
babykosh has quit [Quit: babykosh]
jds has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
s0ber has quit [Read error: Operation timed out]
s0ber_ is now known as s0ber
marr has quit [Ping timeout: 264 seconds]
reset has quit [Ping timeout: 240 seconds]
Sid_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Criztian has quit [Remote host closed the connection]
agr has joined #ruby
<alvaro_o> eka: I do know Ruby and Python [the languages] , but I haven't learned Rais or Django yet. I've only worked with Sinatra
Megtastique has quit [Quit: Megtastique]
verto has joined #ruby
<onewheelskyward> sinatra++
<sml0820> i need to code something for hacker school? does anyone have any interesting ideas, besides tic-tac-toe. I was thinking bingo, but that doesnt seem very promising
<sml0820> cant be rails related
yacks has joined #ruby
mary5030 has joined #ruby
<alvaro_o> I didn't know that comparing git with php was a joke :S
jerius has joined #ruby
ryandeussing has joined #ruby
yacks has quit [Read error: Connection reset by peer]
dtcrshr has quit [Quit: poff]
jkline has quit [Quit: jkline]
jerius_ has quit [Ping timeout: 245 seconds]
<eka> alvaro_o: still… with sinatra you can have a site in no time and add many different things as rack plugins in no time also :)
<eka> sml0820: do a game
yacks has joined #ruby
jerius has quit [Read error: Operation timed out]
bamdad has joined #ruby
tommyvyo has quit [Quit:]
robbyoconnor has joined #ruby
ryandeussing has quit [Ping timeout: 245 seconds]
Megtastique has joined #ruby
sparq_ has joined #ruby
Spami has quit [Read error: Connection reset by peer]
rhys has quit [Quit: Leaving]
<onewheelskyward> sml0820 battleship
<sml0820> both are great ideas
Zeeraw has quit [Quit: Computer has gone to sleep.]
mansi has quit [Remote host closed the connection]
theRoUS has quit [Ping timeout: 256 seconds]
tealmage has joined #ruby
mansi has joined #ruby
tommyvyo has joined #ruby
maxmanders has joined #ruby
allsystemsarego has quit [Quit: Leaving]
orolo has quit [Quit: orolo]
optimusprimem has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
freerobby has quit [Client Quit]
jaimef has quit [Excess Flood]
whowantstolivefo has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
optimusprimem has joined #ruby
optimusprimem has quit [Changing host]
optimusprimem has joined #ruby
mmitchell has quit [Remote host closed the connection]
<onewheelskyward> Global Thermonuclear War
geometry06 has quit [Quit: Leaving.]
<apeiros> A strange game. The only winning move is not to play.
atyz has quit [Quit: Leaving...]
maxmanders has quit [Ping timeout: 264 seconds]
entelechios has quit [Quit: leaving]
tatsuya_o has joined #ruby
<shevy> hehe
snath has joined #ruby
Neener54 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
jaimef has joined #ruby
Danze has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
amacgregor_ has joined #ruby
amacgregor has joined #ruby
mneorr has joined #ruby
MrPoT4tO has joined #ruby
mrpot4to_ has joined #ruby
ColKurtz has joined #ruby
mrpot4to_ has quit [Remote host closed the connection]
MrPoT4tO has quit [Remote host closed the connection]
<_br_> Hobson's choice..
<arietis> hello
TheComrade has quit [Quit: TheComrade]
<arietis> what's the difference between mysql and mysql2 gems?
mneorr has quit [Read error: Connection reset by peer]
Davey has joined #ruby
jdenen has quit [Read error: Connection reset by peer]
mneorr has joined #ruby
<arietis> hm, i see, thanks :)
<Authenticator> shredding: Thanks, looking at floehopper now
postmodern has joined #ruby
tealmage has quit [Remote host closed the connection]
vlad_sta_ has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jshakespear has joined #ruby
<jshakespear> hey all
<apeiros> what are your favored plain-text markup languages?
<apeiros> (that's @ all)
yacks has quit [Quit: Leaving]
<apeiros> e.g. things like markdown
Davey has quit [Ping timeout: 256 seconds]
spider-mario has quit [Remote host closed the connection]
yacks has joined #ruby
axl_ has quit [Quit: axl_]
<xybre> GitHub-flavored markdown.
<eka> yea that
<_br_> seconded
Megtastique has quit [Quit: Megtastique]
shunt has quit [Ping timeout: 268 seconds]
virtualize has joined #ruby
<jshakespear> any begin/rescue gurus here?
<jshakespear> i've got a little question
<_br_> One can become a guru at begin/rescue o.O ?
<jshakespear> ha
<xybre> It took me a while to accept Markdown as my lord and savior .. and I can still imagine a better one .. but with GitHub's changes.. its pretty nice and the gains are small.
tommyvyo has quit [Quit:]
<jshakespear> here's what i'm observing
tgunr has quit [Quit: Nity nite]
<jshakespear> i have a rails app
<apeiros> _br_: yes, once you've mastered all parts and understand redo/retry
<jshakespear> code in begin/rescue/end
<xybre> Well thats your first problem.
<jshakespear> works fine locally
<_br_> Markdown is fun, particularly if you throw it together with Dillinger http://dillinger.io/
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jshakespear> but for some reason, when deployed to both heroku and ec2, no code within the begin/rescue/end block runs
<eka> _br_: bookmarking that
brennanMKE has joined #ruby
<jshakespear> it's as if it is acting like a block comment or something
<jshakespear> any suggestions?
<_br_> apeiros: makes sense
<_br_> jshakespear: pastie?
<jshakespear> sec
Tricon has quit [Quit: Leaving...]
efrainolivares has quit [Quit: efrainolivares]
<xybre> _br_: Dillinger looks nice
<apeiros> _br_: there's also showdown
lushious has quit [Remote host closed the connection]
ziggles has quit [Remote host closed the connection]
<apeiros> though, might be dillinger does more
tacos1de has quit [Ping timeout: 240 seconds]
<apeiros> given that it claims to be a "cloud editor" (whatever that means :D)
<eka> apeiros: it saves to your Dropbox etc… ;)
lushious has joined #ruby
tgunr has joined #ruby
<_br_> interesting, wasn't aware of showdown
lushious has quit [Remote host closed the connection]
<jshakespear> 2.0.0p247
<xybre> jshakespear: you said this is Rails? Isn't the "response" method used by Rails?
ukd1_ has joined #ruby
amacleod has quit [Quit: Leaving]
motto has joined #ruby
<jshakespear> i'd imagine that could be a problem in a controller
<jshakespear> but this code is in a lib method
<jshakespear> lemme see
<_br_> anyone here still using usenet ? nzb ?
asobrasil has left #ruby [#ruby]
nucatus has quit [Remote host closed the connection]
motto has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
motto has joined #ruby
<eka> _br_: is usenet active for other things than warez and porn?
<xybre> jshakespear: Ah, I thought it was in a controller.
<_br_> certainly there is tons of stuff there, admittedly too much bin these days
<jshakespear> nope
<xybre> jshakespear: Do you see the error in the output?
BillCriswell has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
<jshakespear> no
<_br_> the log says nothing intersting?
<jshakespear> it's just as if it doesn't run that block at all
ukd1 has quit [Ping timeout: 268 seconds]
Fire-Dragon-DoL has left #ruby [#ruby]
<xybre> jshakespear: make it noisier? have it throw a weird error or redirect to 404? Make sure its running.
<jshakespear> yeah
jaynewstrom has quit [Remote host closed the connection]
<jshakespear> i've had it outputting to stdout
closer has quit [Ping timeout: 252 seconds]
<jshakespear> it logs everything outside of the begin/rescue
<jshakespear> before and after
<jshakespear> just not within
m8 has quit [Ping timeout: 264 seconds]
jjbohn has quit [Quit: Leaving...]
<jshakespear> well...
closer has joined #ruby
<jshakespear> just ran it again and noticed this following the puts just before the block
<jshakespear> Premature end of script headers: api
<xybre> _br_: Dillinger uses Showdown
<xybre> jshakespear: weird O_o
<_br_> ah awesome! thanks banisterfiend :)
<jshakespear> very
<jshakespear> i'm seriously stumped
<banisterfiend> np
<_br_> jshakespear: throw pry into the mix?
tanema has quit [Remote host closed the connection]
<jshakespear> think i may have to
<_br_> xybre: Interesting, didn't know :)
<xybre> jshakespear: try running it in production mode locally?
<jshakespear> also a good idea
<xybre> _br_: http://dillinger.io/ I noticed it in the Tech section :D
<jshakespear> sec
<_br_> xybre: hehe nice
<_br_> found something else interesting... http://camlistore.org/
carlyle has quit [Remote host closed the connection]
<eka> _br_: that has NSA all over it
peregrine81 has quit [Quit: peregrine81]
axl_ has joined #ruby
<_br_> eh? why do you think so?
rodacato has joined #ruby
zeade has quit [Quit: Leaving.]
efrainolivares has joined #ruby
<banisterfiend> jshakespear: pry-rescue is a particularly good way of groking exceptions
<eka> _br_: cause the google thing… but I was just kidding… now you have to name NSA here and there you know
ephemerian has quit [Quit: Leaving.]
<_br_> hehe I see
gyre007 has joined #ruby
<xybre> _br_: that seems interesting. Makes me think of Riak crossed with Redis, at least from reading the home page blurb
MrPoT4tO has joined #ruby
mrpot4to_ has joined #ruby
mrpot4to_ has quit [Client Quit]
<_br_> xybre: yeah, works internally very similar to git bup I think
<_br_> riak is one fine db btw.
RichardBaker has quit [Quit: RichardBaker]
<xybre> Riak's docs are great but extremely Erlang centric which gives them this weird alien kind of feel.
mary5030 has quit [Remote host closed the connection]
havenwood has joined #ruby
<_br_> well comes with the territory I guess
tealmage has joined #ruby
<xybre> Camlistore is written in Go and not, as you might expect, written in OCAML.
baordog has quit [Remote host closed the connection]
<_br_> you expected ocaml? No... brad fitzpatrick of js fame pushed that.. so a big part is also js ;)
arietis has quit [Quit: Computer has gone to sleep.]
marr has joined #ruby
tealmage has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
lushious has joined #ruby
<xybre> _br_: just from the name which looked like "CAML I Store" at first
tmi has quit [Quit: tmi]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
__maes_ has quit [Quit: __maes_]
<_br_> yeah the name is a bit odd
Zeeraw has joined #ruby
fixl has joined #ruby
ukd1_ has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
ukd1 has joined #ruby
motto has quit [Changing host]
motto has joined #ruby
motto is now known as m8
twoism has joined #ruby
twoism has quit [Read error: Connection reset by peer]
kpshek has quit []
twoism_ has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
<banisterfiend> apeiros: you messed with pry-rescue yet btw?
<apeiros> nope
c0rn has joined #ruby
pjeide has quit [Quit: Leaving.]
<apeiros> what's its use-case?
choobie has joined #ruby
crucif0rm has joined #ruby
shredding has quit [Quit: shredding]
vlad_starkov has joined #ruby
c0rn has quit [Client Quit]
<banisterfiend> apeiros: two use cases: 1. if you're working in the repl and an exception occurs, u can type cd-cause <ex> to drop you into the exception context complete with call-stack to explore. 2. You can wrap arbitrary code in your app with Pry.rescue { } and any unhandled exception will automatically have a pry session started up at the point of the error, complete with call-stack for you to explore (via up/down)
mlpinit has joined #ruby
rodacato has quit [Remote host closed the connection]
daniel_hinojosa has joined #ruby
<banisterfiend> apeiros: i have a tiny text cast of me using it: http://showterm.io/48918775b134ed01f5800#fast
tommyvyo has joined #ruby
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
ner0x has quit [Remote host closed the connection]
<banisterfiend> apeiros: excite?
araujo has quit [Read error: Connection reset by peer]
<apeiros> watching tv :)
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
rcedillor has joined #ruby
multi_io has quit [Ping timeout: 245 seconds]
RichardBaker has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
daniel_hinojosa has quit [Quit: Leaving.]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
rcosta has joined #ruby
daniel_hinojosa has joined #ruby
sml0820 has quit [Quit: sml0820]
whowantstolivefo has quit [Quit: whowantstolivefo]
vlad_starkov has quit [Ping timeout: 260 seconds]
russt has quit [Quit: russt]
Bry8Star{T2 has joined #ruby
saarinen has quit [Quit: saarinen]
rcosta has quit [Remote host closed the connection]
__maes_ has joined #ruby
_maes_ has joined #ruby
pwh has quit [Quit: pwh]
moted has quit [Quit: moted]
moted has joined #ruby
Neomex has joined #ruby
arietis has joined #ruby
nadirvar_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
xcv_ has joined #ruby
colonolGron has quit [Quit: Lost terminal]
maroloccio has joined #ruby
awarner_ has quit [Remote host closed the connection]
pwh has joined #ruby
awarner has joined #ruby
jnix has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
carlyle has joined #ruby
xcv has quit [Ping timeout: 260 seconds]
splittingred has joined #ruby
jnix-working has joined #ruby
brennanMKE has quit [Remote host closed the connection]
jnix-working has quit [Changing host]
jnix-working has joined #ruby
jnix-working is now known as jnix
uxp_ is now known as uxp
<apeiros> _br_: anything you miss from markdown?
xcv_ has quit [Ping timeout: 245 seconds]
mansi has joined #ruby
GreaseMonkey has joined #ruby
GreaseMonkey has quit [Changing host]
GreaseMonkey has joined #ruby
frotto has joined #ruby
shunt has joined #ruby
Davey has joined #ruby
<_br_> me? hm, not really.
jshakespear has quit [Remote host closed the connection]
havenwood has quit [Read error: Connection reset by peer]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
brennanMKE has joined #ruby
<_br_> I think the github flavor touched a nerve though
crucif0rm has left #ruby [#ruby]
<Neener54> Just found this awesomeness in our tests https://gist.github.com/6254190
Kricir has joined #ruby
russt has joined #ruby
gyre007 has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 268 seconds]
<Neener54> Someone stubbed a hash...
cortexman1 has joined #ruby
carlyle has quit [Ping timeout: 245 seconds]
smathieu has quit [Remote host closed the connection]
<xybre> O_o
cortexman has quit [Ping timeout: 260 seconds]
<_br_> nice
<Neener54> I can't stop laughing
ssvo has quit [Ping timeout: 276 seconds]
<banisterfiend> Neener54: junior programmer? :)
Davey has quit [Ping timeout: 268 seconds]
<banisterfiend> probably just cargo-culting some other code he saw
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
<apeiros> awesome :D
daniel_hinojosa has quit [Ping timeout: 264 seconds]
bsaboia_ has joined #ruby
daniel_hinojosa has joined #ruby
<Neener54> They just got tunnel vision I think
<Neener54> But man
devoldmx3 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
Solnse has quit [Ping timeout: 264 seconds]
pwh has quit [Quit: pwh]
DrCode has quit [Remote host closed the connection]
splittingred has quit [Ping timeout: 260 seconds]
Guest18267 is now known as mephux
mephux has quit [Changing host]
mephux has joined #ruby
<sam113101> guys I need help
m8 has quit [Read error: Connection reset by peer]
<sam113101> I want to catch an error but it doesn't work
m8 has joined #ruby
tomzx_mac has joined #ruby
<Neener54> How are you doing that?
pwh has joined #ruby
<sam113101> with a begin rescue end block
mneorr has quit [Remote host closed the connection]
<apeiros> sam113101: note that `catch` means something different from `rescue` in ruby.
<sam113101> what do you mean
<apeiros> I mean that when you said `sam113101: I want to catch an error` you didn't say what you probably wanted to say.
kirun has quit [Quit: Client exiting]
devoldmx has quit [Ping timeout: 240 seconds]
<apeiros> you don't *catch* errors. you *rescue* errors. Kernel#catch exists and is not meant for exceptions.
tanema has joined #ruby
DrCode has joined #ruby
mlpinit has quit [Remote host closed the connection]
<sam113101> that's my code
<apeiros> and what exception do you get?
maxmanders has joined #ruby
efrainolivares has quit [Quit: efrainolivares]
pel_daniel has left #ruby [#ruby]
<sam113101> `module_eval': (eval):1: syntax error, unexpected end-of-input (SyntaxError)
tatsuya_o has quit [Remote host closed the connection]
Zeeraw has quit [Quit: Computer has gone to sleep.]
tommyvyo has quit [Quit:]
<apeiros> SyntaxError is not a descendant of StandardError
<apeiros> which is what plain rescue defaults to
Zeeraw has joined #ruby
sparq_ has quit [Ping timeout: 276 seconds]
twoism_ has quit [Remote host closed the connection]
<sam113101> hmmm, should I do rescue Exception, then?
tommyvyo has joined #ruby
<apeiros> given that you (and that's not meant as an offense) don't seem to know what you're doing, I'd say: no
twoism has joined #ruby
ukd1_ has joined #ruby
<apeiros> rescue Exception is for when you know exactly what implications it has.
efrainolivares has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
horofox has joined #ruby
havenwood has joined #ruby
<apeiros> if you want to rescue SyntaxErrors additionally to StandardException, use `rescue StandardError, SyntaxError`
maxmanders has quit [Ping timeout: 264 seconds]
rcedillor has quit [Ping timeout: 256 seconds]
<sam113101> alright
bzitzow has quit [Ping timeout: 260 seconds]
<apeiros> though even then you should ask yourself why you have to rescue that
<apeiros> it's not quite ordinary to rescue SyntaxError
ukd1 has quit [Ping timeout: 276 seconds]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> generally, having to rescue something which is not a StandardError (or descendant) is a red flag
twoism has quit [Ping timeout: 268 seconds]
<sam113101> I'm programming a robot, and I let the user use the Math module (to do maths) directly
agr has quit [Quit: agr]
<sam113101> well, special users
<apeiros> btw., while Kernel coincidentally works - the toplevel namespace is Object, not Kernel
Deele has quit [Ping timeout: 240 seconds]
<apeiros> compare `Kernel.constants(false)` and `Object.constants(false)`
raar has quit [Read error: Operation timed out]
raar has joined #ruby
callmeivan has quit [Quit: callmeivan]
raar is now known as Guest48734
tealmage has joined #ruby
ryandeussing has joined #ruby
Mon_Ouie has quit [Ping timeout: 248 seconds]
agr has joined #ruby
sst66 has joined #ruby
<sst66> Hi all
sparq_ has joined #ruby
mary5030 has joined #ruby
nfk has quit [Quit: yawn]
<havenwood> hiya
reset has joined #ruby
MrPoT4tO has quit [Remote host closed the connection]
ryandeussing has quit [Ping timeout: 276 seconds]
agr has quit [Client Quit]
alpha123 has joined #ruby
ehc has quit [Quit: ehc]
baroquebobcat has quit [Quit: baroquebobcat]
ehc has joined #ruby
baroquebobcat has joined #ruby
reset has quit [Ping timeout: 276 seconds]
baroquebobcat has quit [Client Quit]
twock has joined #ruby
Dysruption has quit [Quit: Dysruption]
ehc has left #ruby [#ruby]
daniel_hinojosa has quit [Ping timeout: 245 seconds]
hashpuppy has joined #ruby
vlad_starkov has joined #ruby
geggam has quit [Remote host closed the connection]
hashpuppy has quit [Client Quit]
pwh has quit [Quit: pwh]
wolcanus_ has joined #ruby
ukd1_ has quit [Remote host closed the connection]
ukd1 has joined #ruby
ukd1 has quit [Remote host closed the connection]
twock has quit [Client Quit]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
__maes_ has quit [Quit: __maes_]
agr has joined #ruby
ukd1 has joined #ruby
wolcanus has quit [Ping timeout: 248 seconds]
dodosan has quit [Remote host closed the connection]
MrZYX is now known as MrZYX|off
ukd1 has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 256 seconds]
TheFuzzball has joined #ruby
terrellt has joined #ruby
ukd1 has joined #ruby
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
Kricir has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
staafl has quit [Ping timeout: 276 seconds]
wolcanus_ has quit [Ping timeout: 245 seconds]
Lewix has joined #ruby
devoldmx has joined #ruby
pjeide has quit [Quit: Leaving.]
m8 has quit [Quit: Sto andando via]
threesome has joined #ruby
russt has quit [Quit: russt]
tommyvyo has quit [Quit:]
axl_ has quit [Quit: axl_]
shevy has quit [Remote host closed the connection]
IceyEC has joined #ruby
Lewix has quit [Ping timeout: 248 seconds]
pwh has joined #ruby
pwh has quit [Client Quit]
havenwood has quit [Remote host closed the connection]
nmabry has quit [Quit: nmabry]
heftig has quit [Quit: Quitting]
devoldmx has quit [Ping timeout: 246 seconds]
c0rn has joined #ruby
heftig has joined #ruby
Kricir has joined #ruby
bradleyprice has quit [Remote host closed the connection]
Danze has quit [Quit: Textual IRC Client: www.textualapp.com]
rodacato has joined #ruby
Mattx has joined #ruby
<Mattx> Hi
jaimef has quit [Excess Flood]
<Mattx> is there a way to search files in a directory without having to change the current dir?
<apeiros> yes
devoldmx has joined #ruby
<terrellt> Mattx: http://ruby-doc.org/core-1.9.3/Dir.html It's in there.
<Mattx> like in Dir.chdir("foo"); Dir.globs("whatever")
<Mattx> terrellt, I couldn't find it, I already read that page
<apeiros> Dir.glob accepts subdirectories
<Mattx> what?
<Mattx> hmn..
<apeiros> Dir.glob('foo/whatever') is valid
<heftig> Mattx: Dir.glob(File.join("foo", "whatever"))
<apeiros> bah, join…
<terrellt> join++
<heftig> stupid windows
<apeiros> even windows understands 'foo/bar'
<Mattx> ah, ok
<Mattx> that makes sense
mansi has joined #ruby
<terrellt> That's true.
<apeiros> also, File.join on windows uses / too afaik
<terrellt> But I try to not make assumptions.
rickmasta has quit [Quit: Leaving...]
pb2au has joined #ruby
reset has joined #ruby
mary5030 has quit [Remote host closed the connection]
dankest has quit [Quit: Peace]
dankest has joined #ruby
mary5030 has joined #ruby
<terrellt> apeiros: Yup, File.join on windows uses a /.
Kricir has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 256 seconds]
mikepack has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 256 seconds]
JMcAfreak has quit [Quit: Dang it, Moon Moon!]
tylersmith has quit [Read error: Connection reset by peer]
jtgiri_ has quit [Quit: jtgiri_]
jaimef has joined #ruby
predator217 has joined #ruby
tylersmith has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
ilyam has quit [Quit: ilyam]
<xybre> What?!
rdxc has quit [Quit: Textual IRC Client: www.textualapp.com]
<xybre> My life is a lie!
<apeiros> yeah, it is. ALT_LIFE isn't
Neomex has quit [Quit: Neomex]
Kricir has joined #ruby
terrellt has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 264 seconds]
cantonic has quit [Quit: cantonic]