apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
philcrissman has joined #ruby
edwardly has quit [Ping timeout: 255 seconds]
<YamakasY> shevy: I'm stuck
edwardly_ is now known as edwardly
Hjulle has left #ruby ["Konversation terminated!"]
ari-_-e has quit [Ping timeout: 264 seconds]
Aryasam has joined #ruby
zorak has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 260 seconds]
qrest has joined #ruby
freerobby has quit [Quit: Leaving.]
<qrest> fetch(name) { fetch name.to_s } # <- how does this parse differently to -> # fetch name { fetch name.to_s }
lemur has joined #ruby
ghr has joined #ruby
philcrissman has quit [Ping timeout: 264 seconds]
parduse has quit []
ndrei has quit [Ping timeout: 255 seconds]
parduse has joined #ruby
benlieb has joined #ruby
<qrest> I'm playing with monkey patching the Hash class (no need to question why :) and the latter causes too many stacks
Cache_Money has quit [Quit: Cache_Money]
<jhass> it's fetch(name() { fetch(name.to_s) })
<YamakasY> jhass: I cannot print that variable
<YamakasY> that's weird
<qrest> jhass: funny. thanks
jcoglan has quit [Quit: jcoglan]
<YamakasY> it print the whole line
startupality has quit [Quit: startupality]
phoo1234567 has quit [Quit: Leaving]
edwardly has quit [Ping timeout: 240 seconds]
siwica has quit [Ping timeout: 245 seconds]
siwica has joined #ruby
agent_white has joined #ruby
<jhass> qrest: that's basically the difference between { } and do / end, to which method it binds in such an expression
agent_white has quit [Read error: Connection reset by peer]
ari-_-e has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 245 seconds]
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
lemur has quit [Ping timeout: 240 seconds]
nectarys_ has quit [Quit: Ex-Chat]
<YamakasY> damn stupid, code is the same as in other templates but this doesn't work :(
Takle has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
<qrest> jhass: oh, is do / end of lower precedence?
<jhass> YamakasY: be a programmer. formalize your expectations about your code. Verify they are met. Look up by documentation and/or code why they aren't. "Doesn't work" is not a programmers statement
parduse has quit []
<jhass> qrest: I'm still figuring what I call higher and lower there, but yeah
parduse has joined #ruby
JoshGlzBrk has joined #ruby
altern has quit [Quit: This computer has gone to sleep]
emocakes has joined #ruby
<YamakasY> jhass: will ask the enc software tomorrow... it's something in there
<qrest> jhass: well, higher precedence would bind to what's nearest - which would indicate the {}s
<YamakasY> thanks!
<qrest> rule of thumb is that englishy syntax is generally of lower precedence too :)
jcoglan has joined #ruby
sepp2k1 has joined #ruby
agent_white has joined #ruby
<shevy> long live {}
<shevy> down with do end!
agent_white has quit [Write error: Connection reset by peer]
altern has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cpruitt has joined #ruby
<shevy> freedom for the monkeys!
Shidash has joined #ruby
Earl2day has joined #ruby
cpruitt has quit [Client Quit]
jfutbol has joined #ruby
<Earl2day> hi I'm using a library which uses yomu and takes filenames as an argument, but my data comes from a db. is there anyway to fake sending a variable as if it was a file so that i dont have to do slow read-writes to disk?
phutchin1 has quit [Ping timeout: 246 seconds]
sea_local has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
sea_local has joined #ruby
djbkd has quit [Remote host closed the connection]
j75 has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
MatthewsFace has quit [Quit: This computer has gone to sleep]
benlieb has quit [Quit: benlieb]
cpruitt has joined #ruby
patrick99e99 has quit [Ping timeout: 255 seconds]
sea_local has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tomgavin has joined #ruby
MatthewsFace has joined #ruby
djbkd has joined #ruby
axsuul has quit [Ping timeout: 250 seconds]
bricker`LA has joined #ruby
MatthewsFace has quit [Client Quit]
phutchin1 has joined #ruby
gsd has joined #ruby
gtrak has joined #ruby
chipotle has joined #ruby
nanoyak has joined #ruby
agent_white has joined #ruby
maroloccio has quit [Ping timeout: 272 seconds]
agent_white has quit [Read error: Connection reset by peer]
MatthewsFace has joined #ruby
MatthewsFace has quit [Client Quit]
MatthewsFace has joined #ruby
oo_ has joined #ruby
cpruitt has quit [Quit: cpruitt]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ddv has quit [Ping timeout: 260 seconds]
<jhass> Earl2day: named pipe comes to mind
Asher has quit [Quit: Leaving.]
ari-_-e has quit [Ping timeout: 250 seconds]
tlarevo has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ddv has joined #ruby
<jhass> Earl2day: or actually we both scroll but and you just call Yomu.read
<jhass> it's too late here
toastynerd has joined #ruby
echooo has joined #ruby
centrx has joined #ruby
oo_ has quit [Remote host closed the connection]
Aryasam has quit [Read error: Connection reset by peer]
ari-_-e has joined #ruby
oo_ has joined #ruby
alexju has joined #ruby
IceDragon has joined #ruby
<Earl2day> nice one jhass
<jhass> reading docs is so hard, isn't it
IceDragon has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
<Earl2day> doesnt help when the gem has a generic name which returns billions of google results
mary5030 has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
dkamioka has joined #ruby
oo_ has quit [Ping timeout: 272 seconds]
<jhass> generic way to obtain docs for a gem: open rubygems.org -> enter gem name -> click on gem name -> click documentation and hompage
<jhass> if that doesn't work enter rubydoc.info/gems/gemname
<Earl2day> will keep it in mind
<Earl2day> only been using ruby for a couple of days
oo_ has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
nobitanobi has quit [Ping timeout: 240 seconds]
ari-_-e has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
bricker`LA has quit [Ping timeout: 255 seconds]
shredding has joined #ruby
gkagan has joined #ruby
TorpedoSkyline has joined #ruby
ari-_-e has joined #ruby
kristofferR has quit [Ping timeout: 250 seconds]
dkamioka has quit [Ping timeout: 264 seconds]
cleopatra has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
GodPuppet has quit [Remote host closed the connection]
TorpedoSkyline has quit [Client Quit]
sepp2k1 has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
tectonic has quit []
oo_ has quit [Remote host closed the connection]
shredding has quit [Ping timeout: 246 seconds]
agent_white has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
agent_white has quit [Read error: Connection reset by peer]
Fezzler has joined #ruby
mbwe has quit [Quit: WeeChat 0.4.2]
_808chris has joined #ruby
jfutbol has quit [Remote host closed the connection]
axsuul has joined #ruby
sleepee has joined #ruby
yubrew has joined #ruby
cpruitt has joined #ruby
agent_white has joined #ruby
seamon has quit [Quit: Zzzzzzz]
agent_white has quit [Read error: Connection reset by peer]
_cpt_yossarian_ has joined #ruby
seamon has joined #ruby
PanPan has joined #ruby
JoshGlzBrk has quit [Quit: Textual IRC Client: www.textualapp.com]
<_808chris> any one alive?
<centrx> no
<_808chris> thats good
cpt_yossarian has quit [Ping timeout: 250 seconds]
<_808chris> how do you guys handle REST when one route spawns creation of multiple new data objects?
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
nanoyak has quit [Quit: Computer has gone to sleep.]
toastynerd has quit [Remote host closed the connection]
oo_ has joined #ruby
<_808chris> such as, /api/foo , a new foo will be created but also a new foo.bar
sevenseacat has joined #ruby
iteratorP has joined #ruby
mbwe has joined #ruby
<_808chris> since its a nested association im assuming "bar" does not need api routes.. right?
yubrew has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<waxjar> your (i'm assuming) models don't need to map exactly to routes, that'd be ridiculous
Fezzler has quit [Quit: Leaving]
seamon has quit [Quit: Zzzzzzz]
blackmesa has quit [Ping timeout: 264 seconds]
<_808chris> waxjar, yeah, I guess im having a hard time deciding the entry point. I have files that are going to be converted to a new format. Each file will have at least one "job" associated to it. I cant decide if the route should be : (post) /api/media or (post) /api/job
Earl2day has quit [Read error: Connection reset by peer]
TheTopBloke has joined #ruby
Earl2day has joined #ruby
<waxjar> different formats can be requested with an HTTP header, the route could stay the same
<_808chris> could you please explain that a bit more?
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ari-_-e has quit [Ping timeout: 272 seconds]
<waxjar> you can make a GET request for /home and say "I want HTML" or you could say "I want JSON" for example
<TheTopBloke> So I've got this little problem. I started with sudo gem install compass... All went well, until ERROR: rb-inotify-0.9.5-gem... So I went to rubygems.org and found it, and downloaded it, and thats fine... but now, I have no clue whether or not I need anything in addition to what was just installed.
voodoofish has joined #ruby
Guest64491 is now known as mugen
<_808chris> waxjar, true, but how does that relate to my question?
mugen is now known as Guest87552
ghr has joined #ruby
<sevenseacat> TheTopBloke: without knowing what the error is...
<waxjar> well, /api/media wouldn't make much sense in that case
voodoofish1 has quit [Ping timeout: 264 seconds]
<waxjar> because you'll always know what format you're getting as the consumer of the api
<waxjar> i might misunderstand your question entirely :p
<_808chris> waxjar, lol
fabrice31 has joined #ruby
<_808chris> basically im not sure if it should be: api/media - or - api/job
<_808chris> media has_many :jobs
<TheTopBloke> to clarify, the install command fetched a few things... ass, multi-josn, compass-core, compass-import, chunky-png, rb-fservent, ffi, then it failed in rb-inotify. But I did install that, so is there anything else I should install?
<TheTopBloke> ass = sass. sorry
gtrak has quit [Read error: Connection reset by peer]
goodenough has joined #ruby
<sevenseacat> TheTopBloke: if you dont want to actually fix the problem, just go look up the dependencies of the gem and make sure theyre installed
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
senayar has quit [Remote host closed the connection]
<waxjar> _808chris: is "media" actually descriptive of the thing you're about to create?
<TheTopBloke> Is there a problem? The ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
<TheTopBloke> But like I said, I already installed it.
senayar has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<_808chris> waxjar, its one of my models
<sevenseacat> error would imply a problem, yes.
gtrak has joined #ruby
<sevenseacat> great, then you 'fixed' it.
kristofferR has joined #ruby
bmurt has joined #ruby
<TheTopBloke> Right, so I just need the dependencies as you said.
toastynerd has joined #ruby
<TheTopBloke> Just to clarify everything that was supposed to get installed did get installed.
fabrice31 has quit [Ping timeout: 240 seconds]
<sevenseacat> i'm not sure how you know that
oo_ has quit [Remote host closed the connection]
<TheTopBloke> Well, I suppose I could just rerun it from the top
<waxjar> _808chris: idk what you're working on, so it's hard to say. go with whatever is most descriptive for consumers is your safest best i suppose
sparrovv has joined #ruby
oo_ has joined #ruby
<_808chris> TheTopBloke, why dont you try to do a compass build?
<_808chris> waxjar, thanks :D
bmurt has quit [Client Quit]
<TheTopBloke> That seemed to work.
<TheTopBloke> 1 gem installed. I'm a little rusty with this stuff.
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ari-_-e has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
Photism has quit [Quit: Leaving]
sparrovv has quit [Ping timeout: 250 seconds]
DEA7TH has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
chrishough has joined #ruby
tlarevo_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
icedp has quit [Ping timeout: 245 seconds]
jack_rabbit has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
sdrew has joined #ruby
davispuh has quit [Ping timeout: 245 seconds]
tlarevo has quit [Ping timeout: 240 seconds]
goodenough has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
icedp has joined #ruby
dorei has quit []
rmillerx has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
narcan has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
anaeem___ has quit [Remote host closed the connection]
adamski2600 has quit []
narcan has quit [Client Quit]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
iteratorP has quit [Remote host closed the connection]
Cort3z has joined #ruby
tkuchiki has quit [Quit: Leaving...]
toastynerd has quit [Remote host closed the connection]
iteratorP has joined #ruby
phutchin1 has quit [Ping timeout: 272 seconds]
agent_white has joined #ruby
jcoglan has quit [Quit: jcoglan]
agent_white has quit [Read error: Connection reset by peer]
rmillerx_ has joined #ruby
Cort3z has quit [Ping timeout: 250 seconds]
mfmfmfmfmfmf has joined #ruby
bmurt has joined #ruby
dkamioka has joined #ruby
rmillerx has quit [Ping timeout: 240 seconds]
rmillerx_ is now known as rmillerx
agent_white has joined #ruby
abuzze has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
mfmfmfmfmfmf has quit [Ping timeout: 272 seconds]
emmesswhy has joined #ruby
sujumaku has joined #ruby
grenierm has joined #ruby
rmillerx has quit [Quit: rmillerx]
vedis has joined #ruby
dkamioka has quit [Ping timeout: 260 seconds]
EasyCo has joined #ruby
abuzze has quit [Ping timeout: 246 seconds]
agent_white has joined #ruby
beginner_rubyist has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
kaspergrubbe_ has quit []
<beginner_rubyist> Hello.
<_808chris> hi
SirFunk has quit [Remote host closed the connection]
<beginner_rubyist> How can I improve my conventions in ruby? What should I read?
<TheTopBloke> Ola
gkagan has joined #ruby
sujumaku has quit [Quit: ChatZilla 0.9.90.1 [SeaMonkey 2.26.1/20140612173737]]
<beginner_rubyist> Can someone refer me to an online manuel/pdf/guide so I can produce clearer ruby code?
<beginner_rubyist> Someone did maybe a week ago but I forgot the link, they referred me to something on Github.
WildBamboo-Josh has joined #ruby
hamakn has quit [Remote host closed the connection]
grenierm has quit [Quit: grenierm]
starless has quit [Quit: Leaving]
* beginner_rubyist hugs sevenseacat
WildBamboo-Josh has quit [Client Quit]
<beginner_rubyist> Thank you!!!!
<beginner_rubyist> Now I can sign off, have a wonderful day.
flowerhack has joined #ruby
<beginner_rubyist> @sevenseacat
<sevenseacat> yw :)
<beginner_rubyist> :)
<beginner_rubyist> btw I am CuriousMind
beginner_rubyist has quit [Client Quit]
yubrew has joined #ruby
WildBamboo-Josh has joined #ruby
philcrissman has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
edwardly has joined #ruby
TorpedoSkyline has joined #ruby
gkagan has quit [Ping timeout: 255 seconds]
tokik has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
flowerhack has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 264 seconds]
optiz0r has quit [Ping timeout: 250 seconds]
optiz0r has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
phutchin1 has joined #ruby
axsuul has joined #ruby
bmurt_ has joined #ruby
mikeric has quit []
bmurt has quit [Ping timeout: 250 seconds]
ari-_-e has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jefflyne has joined #ruby
hamakn has joined #ruby
bthesorceror has joined #ruby
cpruitt has joined #ruby
bmurt_ has quit []
vedis has quit []
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mikeric has joined #ruby
ghr has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
sleepee has quit [Quit: Leaving]
danijoo has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
sleepee has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
danijoo has joined #ruby
MatthewsFace has joined #ruby
cpruitt has quit [Quit: cpruitt]
narcan has joined #ruby
shredding has joined #ruby
ari-_-e has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
toastynerd has quit [Ping timeout: 245 seconds]
irath96 has joined #ruby
narcan has quit [Client Quit]
Dreamer3 has joined #ruby
zettam_ has joined #ruby
shredding has quit [Ping timeout: 240 seconds]
narcan has joined #ruby
jefflyne has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
moritzschaefer has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
zettam has quit [Ping timeout: 255 seconds]
grenierm has joined #ruby
moritzs has quit [Ping timeout: 245 seconds]
Mattias has quit [Ping timeout: 240 seconds]
iteratorP has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 250 seconds]
Mattias has joined #ruby
agent_white has joined #ruby
iteratorP has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
GriffinHeart has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
lysw123 has joined #ruby
TheNet has quit [Quit: Leaving...]
<mozzarella> what does gcdlcm mean?
bricker`LA has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ValicekB has quit [Ping timeout: 240 seconds]
gwb3 has quit [Quit: leaving]
iteratorP has quit [Remote host closed the connection]
<apeiros_> mozzarella: greatest commod divisor, least common multiple
_808chris has quit [Ping timeout: 240 seconds]
banister has joined #ruby
iteratorP has joined #ruby
_lexjm has joined #ruby
gwb3 has joined #ruby
_lexjm has quit [Max SendQ exceeded]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
maestrojed has joined #ruby
sleepee has quit [Ping timeout: 240 seconds]
gwb3 has quit [Client Quit]
cleopatra has quit [Remote host closed the connection]
dkamioka has joined #ruby
Earl2day has quit [Read error: Connection reset by peer]
Earl2day has joined #ruby
toastynerd has joined #ruby
rjhunter has quit [Remote host closed the connection]
iteratorP has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
iteratorP has joined #ruby
gwb3 has joined #ruby
cashnguns has quit [Remote host closed the connection]
yubrew has joined #ruby
gwb3 has quit [Client Quit]
dkamioka has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
gwb3 has joined #ruby
gwb3 has quit [Changing host]
gwb3 has joined #ruby
stoned has quit [Quit: ZNC - http://znc.in]
toastynerd has quit [Ping timeout: 255 seconds]
ValicekB has joined #ruby
gwb3 has quit [Client Quit]
agent_white has joined #ruby
axsuul_ has joined #ruby
troyready has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gwb3 has joined #ruby
gwb3 has quit [Client Quit]
stoned has joined #ruby
gwb3 has joined #ruby
gkagan has joined #ruby
yubrew has quit [Ping timeout: 250 seconds]
davedev24_ has quit []
SCHAAP137 has quit [Quit: Leaving]
MatthewsFace has quit [Quit: Leaving]
nanoyak has quit [Quit: Computer has gone to sleep.]
axsuul has quit [Ping timeout: 272 seconds]
lysw123 has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gkagan has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
sleepee has joined #ruby
siwica has quit [Remote host closed the connection]
_sillymarkets has quit [Ping timeout: 246 seconds]
siwica has joined #ruby
<apeiros_> mozzarella: yeah, you're welcome…
<sevenseacat> lol
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
bmurt has joined #ruby
bmurt has quit [Client Quit]
jhass is now known as jhass|off
apeiros_ has quit [Remote host closed the connection]
cy is now known as ________
agent_white has joined #ruby
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agent_white has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<Lewoco> What does this error mean when I try to debug using RubyMine?: http://ideone.com/O02cow
danijoo has joined #ruby
bootstrappm has quit [Ping timeout: 255 seconds]
Earl2day has quit []
bootstrappm has joined #ruby
ari-_-e has quit [Ping timeout: 240 seconds]
sleepee has quit [Ping timeout: 250 seconds]
yacks has joined #ruby
________ is now known as cy
sleepee has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
narcan has joined #ruby
braincrash has quit [Quit: bye bye]
<benzrf> Lewoco: it means dont use windows
<Lewoco> benzrf, Thanks, very helpful.
<benzrf> Lewoco: it means youre trying to use nil instead of a string somewhere
cy has quit [Quit: \o]
ghr has joined #ruby
<sevenseacat> why do people always use crazy pasting services
mikeric has quit []
* benzrf shrugs
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<zenspider> Lewoco: it means _exactly_ what it says.
<zenspider> not sure how it could be made clearer
braincrash has joined #ruby
TheTopBloke has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sparrovv has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
jkline has joined #ruby
nanoyak has joined #ruby
TheTopBloke has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
sparrovv has quit [Ping timeout: 255 seconds]
TheTopBl_ has joined #ruby
day has quit [Ping timeout: 264 seconds]
TheTopBloke has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
day- has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Dreamer3 has quit [Quit: Leaving...]
_cpt_yossarian_ has quit [Quit: Leaving]
cpt_yossarian has joined #ruby
mikeric has joined #ruby
dkamioka has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
jerikl has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
thomasxie has joined #ruby
earthquake has joined #ruby
spastorino has joined #ruby
Lewoco has quit [Quit: Leaving]
dkamioka has quit [Ping timeout: 250 seconds]
abuzze has joined #ruby
jkline has quit [Quit: jkline]
mikepack has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emocakes has quit []
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Cort3z has joined #ruby
emocakes has joined #ruby
abuzze has quit [Ping timeout: 246 seconds]
fbernier has joined #ruby
<centrx> ||=
gtrak has quit [Ping timeout: 264 seconds]
Joffily has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
yfeldblu_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Cort3z has quit [Ping timeout: 255 seconds]
mfmfmfmfmfmf has joined #ruby
yubrew has joined #ruby
centrx has quit [Quit: Mead error: Connection reset by beer]
philcrissman has joined #ruby
dkamioka has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
froggy__ has joined #ruby
toastynerd has joined #ruby
freerobby has quit [Quit: Leaving.]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mfmfmfmfmfmf has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 260 seconds]
dkamioka has quit [Ping timeout: 245 seconds]
philcrissman has quit [Ping timeout: 245 seconds]
froggy_ has quit [Ping timeout: 255 seconds]
Lewix has joined #ruby
toastynerd has quit [Ping timeout: 272 seconds]
jusmyth has joined #ruby
sylvanica has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
maestrojed has quit [Quit: Computer has gone to sleep.]
sdwrage_ has joined #ruby
maestrojed has joined #ruby
sea_local has joined #ruby
gkagan has joined #ruby
maestrojed has quit [Client Quit]
skolman has joined #ruby
TrueJet has joined #ruby
sdwrage has quit [Ping timeout: 255 seconds]
threesixes has quit [Quit: SATAN!!!!!!!!]
InhalingPixels has quit []
troyready has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
CaptainJet has quit [Ping timeout: 255 seconds]
krz has joined #ruby
oo_ has quit [Remote host closed the connection]
cy has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
bthesorceror has joined #ruby
toastynerd has joined #ruby
skolman has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
Hanmac has joined #ruby
TrueJet has quit []
SirFunk has joined #ruby
tlarevo_ has quit [Remote host closed the connection]
arup_r has quit [Ping timeout: 250 seconds]
oo_ has joined #ruby
ari-_-e has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tkuchiki_ has joined #ruby
qrest has quit [Ping timeout: 240 seconds]
SilkFox_ has joined #ruby
nanoyak has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
agent_white has joined #ruby
alexju has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
threesixes has joined #ruby
alexju has joined #ruby
ari-_-e has quit [Ping timeout: 250 seconds]
toastynerd has joined #ruby
davedev24_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
maestrojed has joined #ruby
Zespre has joined #ruby
Skwallinux has joined #ruby
sdwrage_ has quit [Quit: This computer has gone to sleep]
sdwrage_ has joined #ruby
fold has joined #ruby
fantazo has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Lewix has quit [Remote host closed the connection]
KatZilla has quit [Quit: Leaving.]
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
tectonic has joined #ruby
JBreit has joined #ruby
Pharaoh2 has joined #ruby
cy has quit [Quit: :q!]
emocakes has quit [Ping timeout: 245 seconds]
axsuul_ has quit [Read error: Connection reset by peer]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
axsuul has joined #ruby
phutchin1 has quit [Ping timeout: 264 seconds]
goodenough has joined #ruby
phutchin1 has joined #ruby
duncannz has joined #ruby
emocakes has joined #ruby
mikepack has quit [Remote host closed the connection]
lxsameer has joined #ruby
cpruitt has joined #ruby
yubrew has joined #ruby
bunzz has joined #ruby
jerikl has quit [Quit: jerikl]
mikepack has joined #ruby
yubrew has quit [Ping timeout: 250 seconds]
Wolland has joined #ruby
toastynerd has quit [Remote host closed the connection]
sdwrage_ has quit [Quit: Leaving]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
goodenough has quit [Remote host closed the connection]
charliesome has joined #ruby
dkamioka has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
Wolland_ has joined #ruby
Wolland has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jon_982b has joined #ruby
RTG`` has joined #ruby
RTG` has quit [Disconnected by services]
dkamioka has quit [Ping timeout: 260 seconds]
toastynerd has joined #ruby
irath96 has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
benlieb has joined #ruby
zeroNones has joined #ruby
zeroNones has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
toastynerd has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gkagan has joined #ruby
toastynerd has quit [Remote host closed the connection]
sdrew has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
sleepee has quit [Ping timeout: 240 seconds]
TheTopBl_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
goodenough has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gkagan has quit [Ping timeout: 250 seconds]
fold has quit [Ping timeout: 246 seconds]
flowerhack has joined #ruby
TheTopBloke has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
j75 has quit [Quit: WeeChat 0.4.3]
Lewix has joined #ruby
Sht0 has joined #ruby
j75 has joined #ruby
ged has quit [Quit: WeeChat 0.4.3]
oo_ has quit [Remote host closed the connection]
bricker`LA has quit [Quit: Lost terminal]
ta_ has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlarevo has joined #ruby
mary5030 has joined #ruby
cpruitt has quit [Quit: cpruitt]
krz has quit [Quit: WeeChat 1.0]
maroloccio has joined #ruby
tlarevo_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ged has joined #ruby
ged is now known as Guest62453
Guest62453 has quit [Client Quit]
tlarevo has quit [Ping timeout: 245 seconds]
Channel6 has quit [Remote host closed the connection]
lemur has joined #ruby
mikepack has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
_tpavel has joined #ruby
armanghassemi_ has quit [Quit: This computer has gone to sleep]
<j75> /bar toggle buffers
<j75> /bar toggle buffer
h0lyalg0_ has joined #ruby
<j75> ignore that
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
luckyruby has joined #ruby
lemur has quit [Ping timeout: 240 seconds]
kristofferR has quit [Read error: Connection reset by peer]
kristofferR has joined #ruby
Asher has joined #ruby
abuzze has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
sylvanica has quit [Quit: z z z]
bthesorceror has quit [Quit: bthesorceror]
timonv_ has joined #ruby
narcan has joined #ruby
abuzze has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tobago has joined #ruby
whyy has joined #ruby
RTG`` has quit [Ping timeout: 260 seconds]
bthesorceror has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
sdrew has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> how do i get an iterator of lines of input
sinkensabe has joined #ruby
yubrew has joined #ruby
dawkirst has joined #ruby
RTG` has joined #ruby
philcrissman has joined #ruby
<Hanmac> benzrf: like that?
<Hanmac> >> STDIN.each_line
<eval-in> Hanmac => #<Enumerator: #<IO:<STDIN>>:each_line> (https://eval.in/182877)
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
karupa has joined #ruby
oo_ has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
philcrissman has quit [Ping timeout: 246 seconds]
bunzz has quit [Ping timeout: 250 seconds]
bunz1 has joined #ruby
mockra has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
ht__th has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<benzrf> oh
<benzrf> thx
kristofferR has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Morrolan has quit [Ping timeout: 264 seconds]
Vile` has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
mockra has quit [Remote host closed the connection]
Shidash_ has joined #ruby
alexju has quit [Remote host closed the connection]
flowerhack has quit [Remote host closed the connection]
mockra has joined #ruby
Vile` has joined #ruby
agent_white has joined #ruby
mfmfmfmfmfmf has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
dkamioka has joined #ruby
Morrolan has joined #ruby
Asher has quit [Quit: Leaving.]
oo_ has quit [Remote host closed the connection]
blueOxigen has joined #ruby
oo_ has joined #ruby
RTG`` has joined #ruby
RTG` has quit [Disconnected by services]
dkamioka has quit [Read error: Connection reset by peer]
p0sixpscl has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
mockra has quit [Ping timeout: 260 seconds]
mfmfmfmfmfmf has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Hobogrammer has quit [Ping timeout: 250 seconds]
tagrudev has joined #ruby
ari-_-e has joined #ruby
Xeago has joined #ruby
p0sixpscl has quit [Ping timeout: 250 seconds]
Mon_Ouie has joined #ruby
agent_white has joined #ruby
fantazo has quit [Ping timeout: 245 seconds]
agent_white has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
kyb3r_ has joined #ruby
micahf has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
gkagan has joined #ruby
jusmyth has left #ruby [#ruby]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
adac has joined #ruby
timonv_ has quit [Remote host closed the connection]
bMalum_ has joined #ruby
agent_white has joined #ruby
RTG`` has quit [Ping timeout: 250 seconds]
agent_white has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
gkagan has quit [Ping timeout: 260 seconds]
lkba has quit [Ping timeout: 250 seconds]
<TheTopBloke> Can anyone recommend a project/module for a local apache server on mac in order to use ruby/ass?
<TheTopBloke> SASS? excuse me
_cake has quit [Ping timeout: 240 seconds]
<sevenseacat> you keep making that typo :P
ari-_-e has quit [Ping timeout: 264 seconds]
olivier_bK has quit [Ping timeout: 260 seconds]
<TheTopBloke> LOL Yeah I know. And right now I feel like one too.
anaeem1 has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<TheTopBloke> I've used textmate and played with some examples and tutorials, and I know my apache is running correctly on my local machine, but whatever sass is supposed to compile to, it's not coming out right in my browser.
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
narcan has joined #ruby
<sevenseacat> it's a css preprocessor, so it compules to css.
<sevenseacat> compiles
Aranshada|W has joined #ruby
mityaz has quit [Quit: See ya!]
<TheTopBloke> Right, and I have seen it produce the proper css in the document, but Im at a loss as to why its not properly being executed as css in the browser.
<sevenseacat> so what is it doing?
<TheTopBloke> The browser will show the HTML, ie. text, but any colors or boxes in a simple test dont show up. Just a white screen with black text.
tvw has joined #ruby
<sevenseacat> so are you including the css correctly?
<sevenseacat> into your HTML
<TheTopBloke> I hope so... if I'm not it must be late and Im making stupid mistakes.
<sevenseacat> so how are you doing it?
Xeago has quit []
<benzrf> bye
Shidash has quit [Quit: Leaving.]
Shidash_ is now known as Shidash
artmann_ has joined #ruby
benzrf is now known as benzrf|offline
agent_white has joined #ruby
axsuul has quit [Ping timeout: 272 seconds]
agent_white has quit [Read error: Connection reset by peer]
artmann has quit [Read error: Connection reset by peer]
<TheTopBloke> adding the link tag to the head of the html doc
ahmads has quit [Ping timeout: 240 seconds]
zettam has joined #ruby
Hobogrammer has joined #ruby
<TheTopBloke> and of course div tags
<TheTopBloke> in the body
<sevenseacat> k lemme ask one more time
<TheTopBloke> basic stuff
<sevenseacat> if you want help with problems in code, you have to *show code*
<TheTopBloke> ok
<TheTopBloke> <link rel="stylesheet" type="text/css" href="newstyle.css">
<sevenseacat> and is that the right path to the css file?
<sevenseacat> does firebug./equivalent show the css being loaded?
zettam_ has quit [Ping timeout: 255 seconds]
<TheTopBloke> using safari... but yeah thats the right path. I just double checked it.
agent_white has joined #ruby
<sevenseacat> well whatever safari's equivalent dev tools are then
agent_white has quit [Read error: Connection reset by peer]
<sevenseacat> because if the css is valid and its being loaded into your HTML correctly then the problem is that it just doesnt match the HTML you've written
sparrovv has joined #ruby
<TheTopBloke> Ok, so I just noticed that compass watch isnt actually doing anything. so the .css is a blank doc. pff.
toastynerd has joined #ruby
roolo has joined #ruby
lemur has joined #ruby
xkickflip has quit [Ping timeout: 260 seconds]
aganov has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensa_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<sevenseacat> :)
craigp has quit [Remote host closed the connection]
xkickflip has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
lemur has quit [Ping timeout: 240 seconds]
toastynerd has quit [Ping timeout: 272 seconds]
ari-_-e has joined #ruby
<TheTopBloke> Hmmm... ok... I got compile to work. Turns out that was the wrong path. So the .css has now been written. But, it still does not work. I will check the debugger in Safari.
siwica has quit [Ping timeout: 240 seconds]
<sevenseacat> good idea.
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
echooo has quit [Quit: echooo]
Arkaniad has joined #ruby
Sawbones has quit []
bMalum_ has quit [Ping timeout: 245 seconds]
micahf has quit [Ping timeout: 245 seconds]
<TheTopBloke> I wonder if its a cache issue. It tells me the error is the file is not there. And its ther.
shevy has quit [Read error: Connection reset by peer]
<xkickflip> /quit
xkickflip has quit [Quit: leaving]
patrick99e99 has joined #ruby
ari-_-e has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
<sevenseacat> are you looking in the right path?
<TheTopBloke> hmm
<TheTopBloke> mhmm
Mon_Ouie has quit [Remote host closed the connection]
bMalum_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<TheTopBloke> very strange. in dreamweaver it works. the colors are there.
j75 has quit [Quit: WeeChat 0.4.3]
* sevenseacat shrugs
irk has joined #ruby
linojon has quit [Quit: linojon]
<TheTopBloke> This is the error message. Failed to load resource: The requested URL was not found on this server.
<sevenseacat> so, wrong path then
<TheTopBloke> I wonder, for safari, if I actually have to put a full path in
<sevenseacat> no.
<TheTopBloke> yeah I shouldnt have to. and its crazy, because its right where it should be, in the files and in the code.
<sevenseacat> ghosts then.
charliesome has quit [Quit: zzz]
starkhalo has quit [Ping timeout: 255 seconds]
patrick99e99 has quit [Ping timeout: 264 seconds]
Arkaniad has quit [Ping timeout: 255 seconds]
<TheTopBloke> sheet! a simple /. I killed the / and it worked. knew it was something stupid.
<sevenseacat> that wasnt in the code you showed me
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<TheTopBloke> I must have thrown it in to try to get it to work before I restart compass watch with the right path
bigkevmcd has joined #ruby
Arkaniad has joined #ruby
<TheTopBloke> and that means its time for bed. Thanks for the help.
<sevenseacat> at least it's solved
<sevenseacat> see ya dood
<TheTopBloke> indeed. catcha ya later.
Wolland has joined #ruby
TheTopBloke has quit [Quit: Textual IRC Client: www.textualapp.com]
Hanmac has joined #ruby
JoshGlzBrk has joined #ruby
bootstrappm has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
Cort3z has joined #ruby
Wolland_ has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
kaffepanna has joined #ruby
fabrice31 has joined #ruby
Cort3z has quit [Ping timeout: 264 seconds]
bMalum_ has quit [Quit: bMalum_]
senayar has joined #ruby
shevy has joined #ruby
jprovazn has joined #ruby
bMalum_ has joined #ruby
Ilyas has joined #ruby
mercerist has joined #ruby
Lewix has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
comma8 has joined #ruby
thomasxie has quit [Remote host closed the connection]
shredding has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
thomasxie has joined #ruby
day- is now known as day
day has quit [Quit: ZNC - http://znc.in]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ahmads has joined #ruby
Lewix has joined #ruby
ari-_-e has joined #ruby
Xeago has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
HelperW has joined #ruby
Xeago has quit [Remote host closed the connection]
gkagan has joined #ruby
Xeago has joined #ruby
jon_982b has quit [Ping timeout: 255 seconds]
kiri has joined #ruby
Xeago has quit [Remote host closed the connection]
Jackneill has joined #ruby
Xeago has joined #ruby
Sht0 has quit [Ping timeout: 246 seconds]
sparrovv has quit [Remote host closed the connection]
echooo has joined #ruby
agent_white has joined #ruby
grenierm has quit [Quit: grenierm]
agent_white has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
gauke has joined #ruby
bMalum_ has quit [Quit: bMalum_]
gkagan has quit [Ping timeout: 250 seconds]
Macaveli has joined #ruby
CorpusCallosum has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 240 seconds]
sparrovv has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
relix has joined #ruby
AlexRussia has joined #ruby
grenierm has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
bMalum has joined #ruby
<certainty> tagrudev: yolo
yottanami has joined #ruby
<yottanami> is Is 1.0.0-alpha0 the wrong conversioning ?
<yottanami> I got Malformed version number string 1.0.0-alpha0 in my gemspec
roolo has quit [Quit: Leaving...]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gaussblurinc1 has joined #ruby
<yottanami> Have I use just number is version string ?
<sevenseacat> cross-posting sucks.
<emocakes> sevenseacat sucks as well
<sevenseacat> hullo emocakes, long time no see
<emocakes> well from what ive heard ;)
<emocakes> hey babes
<emocakes> been a while
<emocakes> how you been?
<sevenseacat> spiraling into endless pits of depression, and you?
<emocakes> ouch
<emocakes> feel kinda bad talking about how great my life is now
<sevenseacat> no need
<sevenseacat> if its good, im happy for you :)
<emocakes> ill just leave it at doing great, loving life etc etc
<Hanmac> imo itwould be more informative if he would have said what gem/program does say that this version is Malformed ... it might be a problem in bundler/rails too if he does not specify it
<emocakes> all that shit
<emocakes> been greasing my ass up recently to get a home loan
<sevenseacat> fun fun
<emocakes> <3 banks
<sevenseacat> sell your soul and your firstborn to one of the big banks
<emocakes> at least the rates are low these days
<sevenseacat> indeed... lower now than when i fixed mine two years ago -_-
<emocakes> ill happily sell my kids to the bank if they will give me a discount
<emocakes> 100% fixed?
<sevenseacat> nah half half
<emocakes> im doing 50/50
<emocakes> right
<sevenseacat> seemed wise
Sgeo has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<emocakes> slimy banks
<sevenseacat> slimy fuckers
<emocakes> shame we didnt catct up at ruby conf
<emocakes> i might go to the next one
<emocakes> incognito
<sevenseacat> hah
<sevenseacat> i'll be there
philcrissman has joined #ruby
<emocakes> make you fall in love with me, then reveal my true form
<emocakes> !!
<sevenseacat> oh dear
<emocakes> or just hook up with Radar
wallerdev has quit [Ping timeout: 255 seconds]
<sevenseacat> nah hes an old married man now
<emocakes> and make his wifey leave him
<emocakes> already?
<emocakes> did you see pictures?
<sevenseacat> yep
<sevenseacat> i was there
gaussblurinc1 has quit [Read error: Connection reset by peer]
<emocakes> did you catch that little bunch of flowers?
<sevenseacat> no :P
gaussblurinc1 has joined #ruby
<emocakes> and then look across the room at epochwolf
<emocakes> ;)
<emocakes> that would top off your depression
alex88 has joined #ruby
<emocakes> you know its kinda rude that he didnt invite me
dumdedum has joined #ruby
<emocakes> i would have given them my blessings
grenierm has quit [Quit: grenierm]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
philcrissman has quit [Ping timeout: 264 seconds]
ta has joined #ruby
noop has joined #ruby
mikeric has quit []
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
<YamakasY> guys why can I not print this variable intface? intface = int.name
Pharaoh2 has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
<sevenseacat> ?
bearish has joined #ruby
Wolland has quit [Remote host closed the connection]
<YamakasY> sevenseacat: ?
<sevenseacat> your question doesnt make sense.
Wolland has joined #ruby
Macaveli has quit [Ping timeout: 246 seconds]
<YamakasY> sevenseacat: that's why I ask it...
* sevenseacat backs away slowly
Pharaoh2 has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
<YamakasY> sevenseacat: here this is my issue: http://pastebin.com/7CtXdVUT
Macaveli has joined #ruby
techsethi has joined #ruby
<sevenseacat> and whats the problem with that?
Wolland has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
catbusters has quit [Quit: Connection closed for inactivity]
<YamakasY> sevenseacat: the iface is not set or used... I need to use what I get from int.name and split someting out and use that... but it doesn't
<sevenseacat> YamakasY: line 3 is ruby code, right?
<sevenseacat> why arent you actually executing it?
<YamakasY> sevenseacat: yes
<YamakasY> sevenseacat: it's a a template IN sftware
<YamakasY> aoftware
<YamakasY> software
<YamakasY> can't do different
<sevenseacat> but you're not executing it
<YamakasY> oh
<sevenseacat> you're just printing it
mikeric has joined #ruby
<YamakasY> I'm not a ruby sepecialist :)
<YamakasY> *specialist
<sevenseacat> i can tell.
gkagan has joined #ruby
<YamakasY> man this short night isn't helping either :D
<YamakasY> sevenseacat: so, what do I need to do
caveat- has quit [Ping timeout: 250 seconds]
<sevenseacat> YamakasY: execute the code like you're doing on line 1.
anarang has joined #ruby
<YamakasY> sevenseacat: with do ?
<sevenseacat> no.
<sevenseacat> with <% %>
<YamakasY> ohkay
<YamakasY> ok :)
<YamakasY> let me see
<YamakasY> I though that where var printers or so
ndrei has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
<YamakasY> sevenseacat: but I can put it in intface like that, so the whole lines needs to be in ?
<sevenseacat> i'm sorry, i can't understand you.
gkagan has quit [Ping timeout: 250 seconds]
<YamakasY> how do I get it in the variable intface ?
<sevenseacat> you evaluate the line of code with <% %>
max06 has joined #ruby
<sevenseacat> just like on line 1.
redlegion_ has quit [Ping timeout: 250 seconds]
ari-_-e has quit [Ping timeout: 260 seconds]
<YamakasY> sevenseacat: that confuses me, "do" there ?
ptrrr has joined #ruby
mercerist has quit [Read error: Connection reset by peer]
<sevenseacat> how does that confuse you?
L8D has quit [Ping timeout: 264 seconds]
arup_r has quit [Remote host closed the connection]
mercerist has joined #ruby
Lewix has quit [Remote host closed the connection]
<YamakasY> normally a foo=blabala would put blablla into foo
hellangel7 has joined #ruby
caveat- has joined #ruby
lkba has joined #ruby
<sevenseacat> yes, its called assignment.
mityaz has joined #ruby
<YamakasY> but that doesn't work in my case ?
<sevenseacat> why not?
sean_1 has joined #ruby
abuzze has joined #ruby
sean_1 has left #ruby ["Konversation terminated!"]
HelperW has quit [Quit: Lingo - http://www.lingoirc.com]
<YamakasY> because it's not usable it seems, is my code OK for the rest in that part ?
radic has joined #ruby
<sevenseacat> did you actually run the code by wrapping it in <% %> ?
<YamakasY> yes
<sevenseacat> what does the code look like now?
RTG` has joined #ruby
<YamakasY> the last part is this : <% int.name.split('-')[-1] %>
Xeago_ has joined #ruby
<sevenseacat> i didnt ask what the last part was
jottr has joined #ruby
<YamakasY> this is what I have now
Sgeo has joined #ruby
<YamakasY> and <% intface = int.name.split('-')[-1] %> doesn't work either
<sevenseacat> sigh
craigp has joined #ruby
LiohAu has joined #ruby
radic_ has quit [Ping timeout: 264 seconds]
redlegion has joined #ruby
<YamakasY> sevenseacat: so, what's wrong here ?
jhass|off is now known as jhass
Photism has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
Xeago_ has quit [Remote host closed the connection]
cornfeedhobo has joined #ruby
<cornfeedhobo> hello. I could use some help. I am having some trouble trying to figure out the logic to tackle a task.
craigp has quit [Remote host closed the connection]
FoxZoOL has joined #ruby
brothmars has quit [Ping timeout: 260 seconds]
craigp has joined #ruby
yottanami has left #ruby [#ruby]
<YamakasY> sevenseacat: I'm kinda lost :)
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
mercerist has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 250 seconds]
chipotle has quit [Quit: cya]
Xeago has joined #ruby
timonv_ has joined #ruby
caveat- has quit [Ping timeout: 260 seconds]
cibs has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
Xeago has quit [Remote host closed the connection]
caveat- has joined #ruby
noshi has quit [Quit: o/]
cibs has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
Arkaniad has quit [Ping timeout: 245 seconds]
<cornfeedhobo> i am trying to figure out an elegant way to turn the first string into the array example https://gist.github.com/cornfeedhobo/94b5d2951aa071b4df71
krisquigley has joined #ruby
Centime has quit [Ping timeout: 260 seconds]
djbkd has quit [Ping timeout: 260 seconds]
yubrew has joined #ruby
Watchmethink has joined #ruby
Pharaoh2 has joined #ruby
Xeago has joined #ruby
arup_r has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has joined #ruby
Xeago has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
narcan has joined #ruby
goodenough has quit []
olivier_bK has joined #ruby
senayar has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
senayar has joined #ruby
<shevy> wow
<shevy> I wake up
<shevy> and YamakasY is still at it
<shevy> cornfeedhobo and what is the formula to use for that?
<shevy> sub1,sub2/sub1,sub2,sub3
<shevy> a,b,c,d,e
<shevy> a,{c,d,e}
<shevy> b,{c,d,e}
<shevy> ok
<cornfeedhobo> i dont understand the question
ari-_-e has joined #ruby
<shevy> ah it is not
<shevy> when it is b, then it becomes
<shevy> /b,{c,d,e}
<cornfeedhobo> it's a complex variable expansion
<YamakasY> shevy: I fixed it
<YamakasY> shevy: no I was sleeping D
<tobiasvl> cornfeedhobo: he means, how do you define what you want ruby to do for you?
<YamakasY> :D
<shevy> it is not only complex, it is also inconsistent
<shevy> "dirname,sub1,sub3",
<shevy> "dirname/sub2,sub1",
<jhass> cornfeedhobo: can you write down the rules? and double check your example is right?
senayar has quit [Ping timeout: 240 seconds]
<cornfeedhobo> shevy: ooops, it would help if i wrote it correctly
<cornfeedhobo> one sec
<shevy> the simpler the better
<jhass> cornfeedhobo: also try to not reuse elements
<shevy> if the same character is used between dirname and sub then the code will be simpler as well
<shevy> emocakes! you are back!
spastorino has quit [Quit: Connection closed for inactivity]
<jhass> oh, tricky
<jhass> so / is just a field separator
<jhass> cornfeedhobo: can you influence how it's entered?
<cornfeedhobo> okay, i simplified and cleaned up. sorry about that
<cornfeedhobo> jhass: i can influence the comma seperated portions, but only to an extent
patrick99e99 has joined #ruby
arup_r has quit [Remote host closed the connection]
Xeago has joined #ruby
<cornfeedhobo> it's a tricky one. i have been trying for a good two hours and havent thought of a slick way
<cornfeedhobo> but, i also suck at recursion
tectonic has quit []
<shevy> actually a regex might suffice here
<cornfeedhobo> ??
<cornfeedhobo> no way
<jhass> cornfeedhobo: do you need to expand it or do you match it against real or artificial files?
marr has joined #ruby
wallerdev has joined #ruby
tlarevo has joined #ruby
tlarevo_ has quit [Read error: Connection reset by peer]
<cornfeedhobo> jhass: expand. the class i am handing back to will handle file operations
<cornfeedhobo> so only string to array
arup_r has joined #ruby
Aranshada|W has quit [Read error: Connection reset by peer]
<jhass> because we got File.fnmatch which would be able to compare something like "/foo/{a,b}/{c,d}" to "/foo/a/c"
patrick99e99 has quit [Ping timeout: 272 seconds]
<cornfeedhobo> damn. i need to bring that up to the puppet folks.... unfortunately i have to work within their system.
osvico has quit [Ping timeout: 250 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
arup_r has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
<cornfeedhobo> string/array manipulation is what i am really left with in this case
davedev24_ has joined #ruby
arup_r has joined #ruby
Xeago has joined #ruby
shevy has quit [Ping timeout: 255 seconds]
<cornfeedhobo> the line example is part of a, potentially, larger array with similar strings, that would need to be expanded and combined into one larger array, while respecting ordering
<cornfeedhobo> i just cant figure out clean rules
Spami has joined #ruby
ari-_-e has quit [Ping timeout: 260 seconds]
<cornfeedhobo> jhass: you would think there would be a string expansion function if that rule set already exists
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cort3z has joined #ruby
<jhass> cornfeedhobo: no, it just matches a given path, it doesn't expand
<cornfeedhobo> oh
roolo has quit [Quit: Leaving...]
wallerdev has quit [Ping timeout: 240 seconds]
<emocakes> shevy!
caveat- has quit [Ping timeout: 240 seconds]
<emocakes> is that you?
<emocakes> <4
gkagan has joined #ruby
timonv_ has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
<emocakes> how have you been shevy?
<emocakes> it feels like a year, or two almost!
pandaant has joined #ruby
caveat- has joined #ruby
roolo has joined #ruby
<emocakes> still using that crappy text editor which has UTF issues? :p
ctp_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<emocakes> ah, he left :(
mijicd has joined #ruby
noshi has joined #ruby
gkagan has quit [Ping timeout: 250 seconds]
Pharaoh2 has quit [Remote host closed the connection]
blueOxigen has quit []
shevy has joined #ruby
Pharaoh2 has joined #ruby
ctp has joined #ruby
<jhass> >> paths.split("/").reject(&:empty?).inject([""]) {|paths, components| components = components.split(","); components = [""] if components.empty?; paths.flat_map {|path| components.map {|component| "#{path}/#{component}" } } } # cornfeedhobo
<eval-in> jhass => undefined local variable or method `paths' for main:Object (NameError) ... (https://eval.in/182941)
<jhass> meh
<jhass> >> "/foo/a,b/c,d".split("/").reject(&:empty?).inject([""]) {|paths, components| components = components.split(","); components = [""] if components.empty?; paths.flat_map {|path| components.map {|component| "#{path}/#{component}" } } } # cornfeedhobo
<eval-in> jhass => ["/foo/a/c", "/foo/a/d", "/foo/b/c", "/foo/b/d"] (https://eval.in/182942)
<cornfeedhobo> wha
flowerhack has joined #ruby
krisquigley has quit [Remote host closed the connection]
<cornfeedhobo> jhass: hmm. give me a bit to understand what is going on
<jhass> mmh, that puts leading slashes if they weren't any
<jhass> >> "foo/a,b/c,d".split("/").inject() {|paths, components| paths = [*paths]; components = components.split(","); components = [""] if components.empty?; paths.flat_map {|path| components.map {|component| "#{path}/#{component}" } } }
<eval-in> jhass => ["foo/a/c", "foo/a/d", "foo/b/c", "foo/b/d"] (https://eval.in/182950)
<cornfeedhobo> there are never preceeding slashes. the beginning array has strings that are relative, and a base dir is prepended later on
bMalum has quit [Quit: bMalum]
<cornfeedhobo> :)
<cornfeedhobo> you are too kind
HelperW has joined #ruby
<cornfeedhobo> you dont happen to have a bitcoin address?
<jhass> nothing active
<jhass> flattr though
<cornfeedhobo> same handle? or you can PM me. i really appreciate this!
Pharaoh2 has quit [Ping timeout: 246 seconds]
riotjon__ has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
oo_ has quit [Remote host closed the connection]
jottr has joined #ruby
oo_ has joined #ruby
startupality has joined #ruby
<jhass> https://flattr.com/thing/928287/Jonne take that one ;)
sparrovv has joined #ruby
Beoran_ has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
<cornfeedhobo> thanks again. i will need to tweak for a minute to make it fit, but i'll let you know how it turns out :D
oo_ has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
qohelet_ has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
sparrovv has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
roolo has quit [Quit: Leaving...]
oo_ has quit [Ping timeout: 240 seconds]
olivier_bK has quit [Quit: Quitte]
sevenseacat has quit [Quit: Leaving.]
olivier_bK has joined #ruby
mikeric has quit []
decoponio has joined #ruby
olivier_bK has quit [Remote host closed the connection]
yubrew has joined #ruby
olivier_bK has joined #ruby
oo_ has joined #ruby
philcrissman has joined #ruby
wallerdev has joined #ruby
djbkd has joined #ruby
<cornfeedhobo> hmm. it says flat_map is not a defined method
shachar has joined #ruby
Skwallinux has quit [Ping timeout: 240 seconds]
<jhass> mh, ruby version?
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<cornfeedhobo> jhass: ruby 1.8.7
<Hanmac> is dead
<jhass> anyway, .flat_map is just an efficient .map { }.flatten
<jhass> and yeah, out of security maintenance
<jhass> try updating to something from this decade
yubrew has quit [Ping timeout: 246 seconds]
<shachar> Hi , an easy question , i am trying to initialize new class within a class. but the class method returns 'no method error "db"'. if you could please look here http://pastebin.com/H71ZesyB (20 lines) THANKS
<cornfeedhobo> jhass: okay. i know, not much i can do about that right now. centos6 is frozen there.
philcrissman has quit [Ping timeout: 250 seconds]
<cornfeedhobo> jhass: i wish it was in my pay grade to enforce these things... its not
<jhass> shachar: db = creates a new local variable, those are not accessible outside the current scope (your method for example)
djbkd has quit [Ping timeout: 240 seconds]
Beoran_ has joined #ruby
<jhass> shachar: what you want is an instance variable (@db), those belong to an object (an instance of a class)
<shachar> jhass , Thanks for your help i`ll give it a try
earthquake has quit [Quit: earthquake]
thomasxie has quit [Remote host closed the connection]
emocakes has quit [Ping timeout: 255 seconds]
Pharaoh2 has joined #ruby
<jhass> shachar: as a little style tip: method definitions have an implicit begin, so if your whole method body is inside a begin / ensure, you can rewrite that as def foo; code; ensure; code; end;
bradleyprice has quit [Ping timeout: 260 seconds]
<jhass> same for rescue or the combination thereof of course
thomasxie has joined #ruby
tvw has quit []
georgesmith has joined #ruby
duncannz has quit [Ping timeout: 260 seconds]
caveat- has quit [Ping timeout: 240 seconds]
<Hanmac> centos ... the bane of ruby developers ...
stef_204 has joined #ruby
W0rmDr1nk has joined #ruby
<zenspider> 1.8.7 is only unmaintained for security as of june...
<jhass> Hanmac: 7 got 2.0 finally :D
<Hanmac> hm ok but centos7 will come when ruby3.0 is released
<jhass> I don't follow that stuff, but wikipedia claims it's released since june
<jhass> er, july
<jhass> problem is more that 5 has maintenance till 2017, 6 till 2020
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
saladspork has joined #ruby
caveat- has joined #ruby
timonv_ has joined #ruby
<cHarNe2_> how would you write this? http://pastie.org/9500812
<zenspider> data_id, *data_values = setting.split(",")
<jhass> ^
<zenspider> then I'd s/data_//g
<zenspider> everything is data
<zenspider> that's beyond redundant
<zenspider> talk on "_var" while you're at it
Xeago_ has joined #ruby
<cHarNe2_> zenspider: that line looks really great!
Xeago has quit [Read error: Connection reset by peer]
AlSquire has joined #ruby
qba73 has joined #ruby
roolo has joined #ruby
wallerdev has quit [Ping timeout: 255 seconds]
maroloccio has quit [Quit: WeeChat 0.4.3]
qohelet_ has quit [Read error: Connection timed out]
Pharaoh2 has quit [Remote host closed the connection]
<noshi> I want to accomplish this using Nokogiri, but my google fu is weak. Does anyone know off the top or their head? <foo><a></a></foo> + <foo><b></b></foo> => <foo><a></a><b></b></foo>
qohelet_ has joined #ruby
bearish_ has joined #ruby
<noshi> <foo> may have an arbitrary number of elements, I want to just stack them after one another
ndrei has quit [Ping timeout: 264 seconds]
<cornfeedhobo> jhass: you are awesome!!!! thank you!
mijicd has quit [Ping timeout: 260 seconds]
threesixes has quit [Remote host closed the connection]
bearish has quit [Ping timeout: 260 seconds]
bMalum has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Skwallinux has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
Spami has joined #ruby
L8D has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
h0lyalg0_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whyy has quit [Remote host closed the connection]
whyy has joined #ruby
emocakes has joined #ruby
<jhass> noshi: just doca.at('foo') << docb.at('foo').children
SilkFox_ has quit [Read error: Connection reset by peer]
<zenspider> noshi: what have you tried?
L8D has quit [Ping timeout: 245 seconds]
einarj has joined #ruby
lemur has joined #ruby
<Hanmac> noshi or you could use the Nokogiri::XML::Builder ... its much nicer than that
caveat- has joined #ruby
<noshi> jhass: hey that worked
gauravagarwalr has joined #ruby
<noshi> zenspider: randomly bashing keys, not effective
<noshi> Hanmac: builder, sounds nicer. I will investigate it. Thank you!
h0lyalg0_ has joined #ruby
lemur has quit [Ping timeout: 240 seconds]
gkagan has joined #ruby
Cort3z has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
ndrei has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: This computer has gone to sleep]
swartwulf has quit [Remote host closed the connection]
qohelet_ has quit [Quit: Linkinus - http://linkinus.com]
gauravagarwalr has quit [Remote host closed the connection]
wallerdev has joined #ruby
dangerousdave has joined #ruby
Xeago has joined #ruby
swartwulf has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
radic has quit [Disconnected by services]
radic_ has joined #ruby
<zenspider> RAWR minitest-bisect is now a lean mean isolating machine
<zenspider> I should release this soon
dangerousdave has quit [Client Quit]
wallerdev has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 246 seconds]
jottr has joined #ruby
Jobygoude has joined #ruby
krz has joined #ruby
yubrew has joined #ruby
Joffily has joined #ruby
<Hanmac> jhass: hm what do you think about:
<Hanmac> >> data = "foo/a,b/c,d".split("/").map {|s| s.split(",") }; data[0].product(*data[1..-1]).map{|a| a.join("/") }
<eval-in> Hanmac => ["foo/a/c", "foo/a/d", "foo/b/c", "foo/b/d"] (https://eval.in/182966)
ari-_-e has joined #ruby
Nahra has quit [Remote host closed the connection]
<jhass> as usual even harder to grasp than mine :P
davedev24_ has quit [Read error: Connection reset by peer]
Nahra has joined #ruby
tvw has joined #ruby
<Hanmac> hm yeah the product method is a bit tricky
davedev24_ has joined #ruby
echooo has quit [Ping timeout: 272 seconds]
yubrew has quit [Ping timeout: 255 seconds]
saladspork has quit [Quit: saladspork]
bjz has joined #ruby
<bjz> I have installed ruby using brew, but any gem I try to install via `gem install` gives "IPv4 address expects 4 bytes but 0 bytes"
<zenspider> bjz: `gem env remotesources`
djbkd has joined #ruby
<bjz> that give "https://rubygems.org/"
<bjz> *gives
<zenspider> `host rubygems.org`
<bjz> "rubygems.org has address 54.186.104.15" "rubygems.org mail is handled by 10 mail.rubygems.org."
<zenspider> `gem i -V -i xxx minitest`
<bjz> btw, my version of ruby is ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
<zenspider> (rm -rf xxx later)
<zenspider> paste output to paste service, not here
kristofferR has joined #ruby
Jobygoude has quit [Quit: Computer has gone to sleep.]
<bjz> cheers for your help btw
Jobygoude has joined #ruby
<bjz> :P
<zenspider> wtf
djbkd has quit [Ping timeout: 240 seconds]
<zenspider> just tell me if it works or not
<bjz> it prints out several lines of info - is that working?
<zenspider> a 304 Moved Temporarily, I assume
<zenspider> ok. fuck
<zenspider> do you have a ~/.gemrc file?
<bjz> lol
<bjz> hmm
<zenspider> man. I should nuke mine... that's some ancient shit
<bjz> no, I don't!
<bjz> :)
<zenspider> double fuck
<bjz> should I have?
<zenspider> nah
<zenspider> just able to specify options there and in this case, I was hoping you did
<zenspider> means it is harder to figure out
* bjz has no idea what he is doing
<zenspider> sec. grepping source
<jhass> bjz: in the meantime what's?: host s3.amazonaws.com
poulet_a has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
Jobygoude has quit [Ping timeout: 264 seconds]
<zenspider> you're using IPv6 ?
<zenspider> this is in resolv.rb in the initializer
<zenspider> bjz: can you go to your network settings to whatever active connection you have (green dot, wifi for me)
qba73 has quit [Remote host closed the connection]
<zenspider> advanced -> tcp/ip
jottr has quit [Ping timeout: 255 seconds]
<zenspider> then see what "Configure IPv6" says
MCDev has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Now with extra fish!]
<bjz> I am on thunderbolt ethernet, IPv6 is set to 'configure automatically'
<bjz> IPv4 is via DHCP
<zenspider> and the DNS tab?
fabrice31 has quit [Remote host closed the connection]
qba73 has joined #ruby
<zenspider> Mine has 3 DNS servers, and says "IPv4 and IPv6 addresses" below
<bjz> 202.171.190.10 and 202.171.191.10 - they are grey - I expect they are the default?
<zenspider> prolly via dhcp, yeah
<zenspider> tho mine are gray because I'm locked
oo_ has quit [Remote host closed the connection]
<zenspider> mmm... wait. go back. tcp v6... does it HAVE a setup?
<zenspider> router/address/prefix?
<zenspider> mine don't
mercerist has joined #ruby
oo_ has joined #ruby
<bjz> they have nothing next to them for IPv6
oo_ has quit [Remote host closed the connection]
<bjz> and values for IPv4
oo_ has joined #ruby
<zenspider> ok. hrm
<bjz> lol
<zenspider> rerun the minitest install but add --debug
* bjz is getting the feeling that something is seriously messed up
<zenspider> that's gonna run with `ruby -d`
<zenspider> and that means EVERY exception will print out, whether handled or not
<zenspider> don't freak
<zenspider> we're only concerned with the end
<zenspider> oops. also --backtrace
roolo has quit [Quit: Leaving...]
<zenspider> that's really what we want, but debug is good too
gauravagarwalr has joined #ruby
shevy2 has joined #ruby
qba73 has quit [Remote host closed the connection]
<zenspider> /usr/local/Cellar/ruby/2.1.2_3/lib/ruby/2.1.0/rubygems/remote_fetcher.rb:88:in `api_endpoint' is the culprit
bradleyprice has joined #ruby
<zenspider> res = @dns.getresource "_rubygems._tcp.#{host}", Resolv::DNS::Resource::IN::SRV
Xeago has quit [Remote host closed the connection]
<zenspider> I have _no fucking clue_ what that crap is. :)
<zenspider> someone networky will have to jump in
jottr has joined #ruby
caveat- has quit [Ping timeout: 250 seconds]
<jhass> SRV records are used to redirect a service to a specific host
patrick99e99 has joined #ruby
<jhass> basically generic MX records
<jhass> you know them from xmpp: _xmpp-client._tcp.example.org
<zenspider> bjz: try some bogus shit: `gem sources -c; gem sources -u`
<zenspider> I doubt that'll do a damn thing...
mounibec has joined #ruby
<jhass> _rubygems._tcp.rubygems.org. 600 IN SRV 0 1 80 api.rubygems.org. looks good
catbusters has joined #ruby
<bjz> IPv4 error again -_-#
Joffily has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zenspider> it sounds like your DNS is fucked, but only for certain things
<zenspider> `dig _rubygems._tcp.rubygems.org. srv`
<zenspider> I think I got that right
sleepee has joined #ruby
<zenspider> only concerned with answer line
<zenspider> paste here
<jhass> bjz: do you have the dig tool available?
<zenspider> he's on a mac
<zenspider> he's good
caveat- has joined #ruby
Pharaoh2 has joined #ruby
<jhass> I've no idea about OS X
<bjz> hmm, ok, now perhaps I should figure out how to unfuck my dns
<bjz> :P
<bjz> any search terms I should try?
<jhass> bjz: dig _rubygems._tcp.rubygems.org SRV
<jhass> what's that saying?
<zenspider> bjz: pls run my cmd
godd2 has joined #ruby
<zenspider> I get:
<zenspider> ;; ANSWER SECTION:
<zenspider> _rubygems._tcp.rubygems.org. 600 INSRV0 1 80 api.rubygems.org.
fabrice31 has joined #ruby
<godd2> I have an array of threads and I want to fork off a process to finish up each thread, but when I do, the child process thinks the thread is dead. Any thoughts?
emocakes has quit [Ping timeout: 240 seconds]
TripTastic has joined #ruby
<bjz> ;; ANSWER SECTION:
<bjz> _rubygems._tcp.rubygems.org. 421 INSRV0 1 80 api.rubygems.org.
<bjz> zenspider: ^
<zenspider> FUUUCK
<zenspider> what's the 421?
<zenspider> I don't know this crap
patrick99e99 has quit [Ping timeout: 260 seconds]
<jhass> just the TTL
krz has quit [Quit: WeeChat 1.0]
<zenspider> why is his different? that's specified by the zone
<zenspider> oh. what's the server (at the bottom)?
<jhass> probably reply from his ISP or router
<zenspider> bjz: what's SERVER: say ?
<bjz> ;; SERVER: 202.171.190.10#53(202.171.190.10)
<bjz> should I try switching to something like google dns?
<jhass> doubt that'll help much
<bjz> mmk
<jhass> but can't hurt
<zenspider> yeah. I have a comcast dns server, then: 8.8.8.8 + 4.4.4.4
JBreit has quit [Ping timeout: 240 seconds]
agjacome has joined #ruby
qba73 has joined #ruby
emocakes has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
startupality has quit [Quit: startupality]
jcoglan has joined #ruby
<zenspider> mmmm...
startupality has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> Here's a gist of my threading problemo: https://gist.github.com/nicklink483/7ca5caaa62d16f89fdf5
<zenspider> `dig @202.171.190.10 +norecurse _rubygems._tcp.rubygems.org. srv` gives me no answer
qba73 has quit [Remote host closed the connection]
<godd2> zenspider I thought google's other dns ip was 8.8.4.4 (but im not 100% on that)
redlegion has quit [Ping timeout: 245 seconds]
mockra has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
<bjz> zenspider: no change with google DNS
<zenspider> I think one is AT&T's
<zenspider> bjz: dude. I'm tapped. I blame it on you being in australia. or something.
<bjz> lol
<zenspider> they're still wierd about the internet, right? blame that.
<bjz> thanks so much for your help though
qba73 has joined #ruby
<bjz> what do you mean by weird?
GriffinHeart has quit [Remote host closed the connection]
saladspork has joined #ruby
<jhass> godd2: why fork, why not just start the threads?
<zenspider> you know... firewalled censorship shit. small breasted porn == pedophilia. wierd aussie shit. (no, I have no idea what I'm talking about)
<zenspider> seriously tho. we're on the right track. I just don't have the deep scary networking to help.
<zenspider> if evan phoenix was awake, I'd ask him
<godd2> jhass: I'm trying to run some ALSA library function calls in their own process so I can play two sounds at once.
<zenspider> drbrain in #ruby-lang is also an abvious choice
qba73 has quit [Remote host closed the connection]
<zenspider> obvious
qba73 has joined #ruby
<jhass> godd2: still, you're mixing mechanisms here which is not good
<jhass> godd2: decide if you want threading or forking
<zenspider> fork all the threads!
tkuchiki_ has joined #ruby
<zenspider> thead all the forks!
<zenspider> ok. I shouldn't be awake
<zenspider> laters
tkuchiki_ has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 245 seconds]
karupa is now known as zz_karupa
<bjz> zenspider: I don't think we have a firewall - I'm pretty sure that bad idea was dropped
<godd2> If that's the only way, that's fine. But is there a way to pass a thread to a child proness?
<godd2> process*
<zenspider> bjz: in lieu of finding help here, file a ticket on rubygems on github (NOT a support ticket on rubygems.org, they're understaffed)
<bjz> eh - ok, sure
<bjz> should I post a link to that gist?
<jhass> godd2: also you didn't understand Thread.stop
<jhass> godd2: you can resume a stopped thread
gkagan has joined #ruby
<zenspider> g'night
qba73 has quit [Remote host closed the connection]
<jhass> godd2: and Thread.new won't start it anyway
ctp has joined #ruby
<jhass> so as first statement in a thread, stop is rather useless
<jhass> not that it ever should be called
<godd2> jhass I just put it in as an example of how to pass a thread to a forked process
mounibec has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
roolo has joined #ruby
<jhass> then make a better example
sleepee has quit [Quit: Leaving]
<godd2> in my actual code there is set up for a PCM integer array and some function calls to open the device and set up the buffer
<godd2> and THEN I run Thread.stop
Morkel has joined #ruby
<godd2> so that I can have the sound play on a whim later on
<bjz> zenspider: <3
<jhass> you're still ignoring the fact that you can't resume a stopped thread
<jhass> it's dead then
tkuchiki has quit [Ping timeout: 264 seconds]
<godd2> I don't think that's true
startupality has quit [Quit: startupality]
<jhass> your example demonstrates
<jhass> you're calling run directly, that's executed in the main thread
shredding has quit [Quit: shredding]
<jhass> mah, wait. Okay ruby is weird there
gkagan has quit [Ping timeout: 260 seconds]
<jhass> I still don't understand why you need both though, child processes and threads
redlegion has joined #ruby
emocakes has quit [Ping timeout: 264 seconds]
iterator_ has joined #ruby
qba73 has joined #ruby
krisquigley has joined #ruby
qba73 has quit [Remote host closed the connection]
cocotton has joined #ruby
qrest has joined #ruby
<godd2> Ruby won't let me call the next native library call to ALSA until the previous one is finished.
<jhass> godd2: just build an array of lambda's then
<jhass> sounds.each do |sound| fork do sound.call end end
<godd2> Yea I figured I
caveat- has quit [Ping timeout: 260 seconds]
<godd2> I figured I might have to go back up the chain to where I started the thread and fork from there
<godd2> Thanks for your input :)
wallerdev has joined #ruby
iteratorP has quit [Ping timeout: 240 seconds]
iteratorP has joined #ruby
yfeldblum has quit [Remote host closed the connection]
luckyruby has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
yfeldblum has joined #ruby
yubrew has joined #ruby
dawkirst has quit [Remote host closed the connection]
philcrissman has joined #ruby
iterator_ has quit [Ping timeout: 250 seconds]
blackmesa has quit [Quit: WeeChat 1.0]
Ilyas has quit [Read error: Connection reset by peer]
Ilyas has joined #ruby
wallerdev has quit [Ping timeout: 240 seconds]
caveat- has joined #ruby
sparrovv has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
emocakes has joined #ruby
narcan has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
arup_r has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 255 seconds]
startupality has joined #ruby
philcrissman has quit [Ping timeout: 246 seconds]
bearish_ is now known as bearish
cocotton has quit [Remote host closed the connection]
saladspork has quit [Quit: saladspork]
irath96 has joined #ruby
Cheezebox has joined #ruby
sparrovv has quit [Ping timeout: 246 seconds]
<gaussblurinc1> hey? is anybody here?
<godd2> There are a few
arup_r has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
georgesmith has quit [Ping timeout: 264 seconds]
<wasamasa> there are 876 entities online
<wasamasa> I guess that qualifies as "anybody"
ixti has joined #ruby
phutchin1 has quit [Ping timeout: 264 seconds]
GriffinHeart has joined #ruby
bootstrappm has joined #ruby
emocakes__ has joined #ruby
sevenseacat has joined #ruby
djbkd has joined #ruby
Jobygoude has joined #ruby
caveat- has joined #ruby
angusiguess has joined #ruby
emocakes has quit [Ping timeout: 245 seconds]
georgesmith has joined #ruby
whyy has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
angusigu1ss has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 240 seconds]
jcoglan has quit [Quit: jcoglan]
redlegion has quit [Ping timeout: 255 seconds]
FoxZoOL has quit [Remote host closed the connection]
RTG` has quit [Disconnected by services]
RTG`` has joined #ruby
Xeago has joined #ruby
Cheezebox has quit [Remote host closed the connection]
dawkirst has joined #ruby
Cort3z has joined #ruby
kaspertidemann has joined #ruby
kaspertidemann has quit [Client Quit]
kaspertidemann has joined #ruby
caveat- has quit [Ping timeout: 260 seconds]
Cheezebo_ has joined #ruby
L8D has joined #ruby
<gaussblurinc1> oh, guys, why 'json' gem falls down on JSON file with end-comma like here {"":"",} or here: [{},{},{},] ?
jonathan_alban has joined #ruby
<Hanmac> because it might be invalid?
lkba has joined #ruby
caveat- has joined #ruby
L8D has quit [Ping timeout: 255 seconds]
redlegion has joined #ruby
<sevenseacat> funny about that
starfox_21 has joined #ruby
TorpedoSkyline has joined #ruby
<starfox_21> hi guys, I am looking to convert strings containing numbers to floats. However I have strings in both the American format (1,093.97) and the format used in Germany for instance (1.093,97). Is there a smart to_f that knows how to deal with both formats?
Cort3z has quit [Ping timeout: 255 seconds]
arup_r has joined #ruby
dorei has joined #ruby
RTG` has joined #ruby
<Hanmac> starfox_21: hm no you need an info what format you currently parsing
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DEA7TH has joined #ruby
DEA7TH has joined #ruby
abuzze has quit [Remote host closed the connection]
<starfox_21> Hanmac ok. Do I pass the format to to_f?
abuzze has joined #ruby
Takle has quit [Remote host closed the connection]
saladspork has joined #ruby
RTG`` has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
Cheezebo_ has quit [Remote host closed the connection]
<Hanmac> hm nope i dont think that would work that easily
shevy2 has quit [Ping timeout: 250 seconds]
startupality has quit [Quit: startupality]
nuck has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
<godd2> starfox_21 youll have to write some parsing logic yourself. Ruby doesn't have anything like that out of the box
<godd2> though there might be a gem
<starfox_21> godd2 I was looking for a gem but couldn’t really find it
ldnunes has joined #ruby
<Hanmac> hm there is also a currency gem that might do something similar .. i dont know which one is better
<godd2> starfox_21 try googling 'ruby money' ;)
abuzze has quit [Ping timeout: 272 seconds]
Takle has quit [Ping timeout: 245 seconds]
startupality has joined #ruby
TorpedoSkyline has joined #ruby
<starfox_21> godd2 I will look into it. this is not for money tho which is why I didn’t google ruby money. :) it’s weird to intruduce currencies, when I am not dealing with money
<godd2> Oh I figured your use case was accounting.
yfeldblum has quit [Ping timeout: 240 seconds]
nuck has joined #ruby
<starfox_21> godd2 no. but thanks anyway, this might help
<godd2> the i18n gem might be something to look into
<starfox_21> godd2 will do
phoo1234567 has joined #ruby
startupality has quit [Client Quit]
gkagan has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
godd2 has quit [Remote host closed the connection]
soxet has quit [Ping timeout: 264 seconds]
gkagan has quit [Ping timeout: 255 seconds]
yubrew has joined #ruby
jheg has joined #ruby
qrest has quit [Ping timeout: 255 seconds]
janmuffino has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Logico has joined #ruby
startupality has joined #ruby
Cheezebox has joined #ruby
GriffinHeart has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
whyy has joined #ruby
nahob has joined #ruby
nahob has quit [Client Quit]
livingstn has joined #ruby
Soda has joined #ruby
bjz has quit [Read error: Connection reset by peer]
sevenseacat has quit [Ping timeout: 272 seconds]
bjz has joined #ruby
Sht0 has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
anaeem1 has quit [Ping timeout: 250 seconds]
Pharaoh2 has joined #ruby
krisquigley has quit [Remote host closed the connection]
sevenseacat has joined #ruby
moritzschaefer has quit [Ping timeout: 240 seconds]
arup_r has quit [Remote host closed the connection]
Cheezebox has quit [Remote host closed the connection]
Cheezebox has joined #ruby
andikr has joined #ruby
craigp has quit [Remote host closed the connection]
Pharaoh2 has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
Skwallinux has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
Xeago_ has joined #ruby
krisquigley has joined #ruby
paulfm has joined #ruby
emocakes__ has quit []
jheg has quit [Quit: jheg]
Xeago_ has quit [Remote host closed the connection]
cpruitt has joined #ruby
startupality has quit [Quit: startupality]
Xeago has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
Pharaoh2_ has joined #ruby
Pharaoh2 has quit [Read error: Connection reset by peer]
startupality has joined #ruby
aclearman037 has joined #ruby
cpruitt has quit [Client Quit]
moritzschaefer has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
ahmads has quit [Ping timeout: 264 seconds]
SCHAAP137 has joined #ruby
mercerist has joined #ruby
Takle has joined #ruby
art-solopov has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
moritzschaefer has quit [Ping timeout: 250 seconds]
<art-solopov> Hello! Does anyone know if this book is worth buying? http://pragprog.com/book/achbd/the-rspec-book
kirun has joined #ruby
<sevenseacat> its a good book, but likely quite dated now.
Pharaoh2_ has quit [Quit: Leaving...]
craigp has joined #ruby
<art-solopov> Darn. V_V
krisquigley has quit [Remote host closed the connection]
gccostabr has joined #ruby
kith has quit [Quit: kith]
flowerhack has quit [Remote host closed the connection]
kith has joined #ruby
Ayey_ has joined #ruby
kaspertidemann has quit []
stoffus has joined #ruby
oo_ has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
gccostabr has quit [Client Quit]
Ayey_ has quit [Client Quit]
Ayey__ has joined #ruby
niik00 has joined #ruby
dblessing has joined #ruby
moritzschaefer has joined #ruby
ari-_-e has quit [Ping timeout: 255 seconds]
cocotton has joined #ruby
yfeldblum has joined #ruby
Fire-Dragon-DoL has joined #ruby
flowerhack has joined #ruby
krz has joined #ruby
bmn has quit [Excess Flood]
bmn has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
niik00 has left #ruby [#ruby]
oo_ has joined #ruby
abuzze has joined #ruby
flowerhack has quit [Remote host closed the connection]
ari-_-e has joined #ruby
<YamakasY> this works on the commandline /bin/sed -i '1isource /etc/network/interfaces.d/*.conf\n' /etc/network/interfaces
alexju has joined #ruby
abuzze has quit [Remote host closed the connection]
<YamakasY> but when I paste it in a ruby template I get a .conf file in my interfaces.d
wald0 has quit [Ping timeout: 245 seconds]
wald0 has joined #ruby
claw__ has joined #ruby
<jhass> show code
yfeldblum has joined #ruby
sumark has quit [Remote host closed the connection]
shevy has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
oo_ has quit [Remote host closed the connection]
yubrew has joined #ruby
claw_ has quit [Ping timeout: 240 seconds]
sumark has joined #ruby
oo_ has joined #ruby
philcrissman has joined #ruby
techsethi has quit [Ping timeout: 260 seconds]
<YamakasY> jhass: that is my code
Sonny|3oy has joined #ruby
saladspork has quit [Quit: saladspork]
<jhass> no, the ruby code
gkagan has joined #ruby
moritzschaefer has quit [Ping timeout: 264 seconds]
<jhass> >> /bin/sed -i '1isource /etc/network/interfaces.d/*.conf\n' /etc/network/interfaces
<eval-in> jhass => /tmp/execpad-a820b86705f8/source-a820b86705f8:2: unknown regexp option - d ... (https://eval.in/183014)
<jhass> see, can't be your ruby code
yfeldblum has quit [Ping timeout: 255 seconds]
startupality has quit [Quit: startupality]
ari-_-e has quit [Ping timeout: 245 seconds]
vyorkin has joined #ruby
<YamakasY> jhass: it's in a template of my ENC for puppet... so that's my line there :)
fabrice31 has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
bunz1 has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
<jhass> maybe ask #puppet
<dorei> YamakasY: a wild guess, try " instead of '
phutchin1 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
<jhass> we should adopt a rails policy for puppet
<jhass> redirect all questions to another channel
<jhass> they do more magic than rails
<YamakasY> jhass: indeed, magic it is :D
<YamakasY> we do magic
<YamakasY> :D
philcrissman has quit [Ping timeout: 255 seconds]
<YamakasY> I'm Hans Klok
<YamakasY> but when I don't have shows I try to write some code :P
<jhass> their channel even has 200 more users than we
<jhass> so just go there please
arup_r has quit [Remote host closed the connection]
<YamakasY> jhass: you ask polite :P
gkagan has quit [Ping timeout: 250 seconds]
qmfnp has joined #ruby
fabrice31 has joined #ruby
ari-_-e has joined #ruby
<YamakasY> dorei: the double quotes should not matter as another line with sed works good with it
emocakes has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
jespada has joined #ruby
arup_r has joined #ruby
<dorei> YamakasY: does that other line include a * ?
startupality has joined #ruby
wallerdev has joined #ruby
stoffus has quit [Quit: leaving]
<mostlybadfly> Good morning
saladspork has joined #ruby
<YamakasY> dorei: nope, I hear something in #puppet about a double quote ?
yalue has joined #ruby
<sevenseacat> great, take your puppet problems there.
<jhass> ^ please
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shevy has joined #ruby
himsin has joined #ruby
simpleuser has joined #ruby
<YamakasY> sevenseacat: hehe, the puppet/ruby relation is not that good I get the feeling ?
wallerdev has quit [Ping timeout: 250 seconds]
<sevenseacat> no its fine, its called 'asking your questions in the right place'
<simpleuser> In Ruby, the indentation is meanless (at the contrary to Python)?
<sevenseacat> you have a problem with puppet. puppet has a channel. ask your question there.
luckyruby has joined #ruby
<jhass> just because we're ruby developers doesn't mean we know everything about every library out there
<dorei> simpleuser: yeap
<sevenseacat> simpleuser: its not required like in python, but two spaces is the convention.
<simpleuser> Ok thanks dorei and sevenseacat :)
<jhass> especially if they do tons of strange stuff like puppet
qmfnp has joined #ruby
<simpleuser> Another question: I’m trying to learn Ruby with tryruby.org. I’m here: http://tryruby.org/levels/6/challenges/1 and I don’t understand the |line| part. Does someone has a link to documentation about this "||" strange thing to me?
Xeago has joined #ruby
<sevenseacat> its a block argument.
ari-_-e has quit [Ping timeout: 245 seconds]
<jhass> simpleuser: do you understand what blocks are already?
Wetai has joined #ruby
emocakes__ has joined #ruby
itspots has joined #ruby
itspots has quit [Changing host]
itspots has joined #ruby
<simpleuser> Well, I’m not sure. But I am a PHP dev so I think it’s pretty the same as in PHP.
<simpleuser> (and other languages)
<YamakasY> jhass: hell there is really a bad relation between puppet and Ruby... puppet channel ops just want to have more code when there isn't
emocakes has quit [Ping timeout: 250 seconds]
<jhass> simpleuser: hm, no actually not. a block is more similar to an anonymous function that you can pass to a (any) method
<simpleuser> jhass: Oh.
h0lyalg0_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> simpleuser: so if the block is invoked, it can be passed parameters. And it can accept those parameters via the |param, param| notation
<jhass> you can put the same stuff between the | | as you can put in a method definition between the ( ), { |param| } -> def foo(param) end
britneywright has joined #ruby
tlarevo has quit [Remote host closed the connection]
<YamakasY> at least you guys helped me out here :)
moritzschaefer has joined #ruby
anaeem1_ has joined #ruby
sprihodko has joined #ruby
<simpleuser> jhass: Oh. But here : File.foreach(path) do |line| Could we say it’s like foreach($path as $line) in PHP?
angusiguess has quit [Disconnected by services]
LudicrousMango has joined #ruby
gkagan has joined #ruby
L8D has joined #ruby
<wasamasa> well, it's more general
<wasamasa> you can chain with_index to it and have indices, too
<wasamasa> just forget what you think you've learned from php :P
Ilyas has quit [Ping timeout: 264 seconds]
<simpleuser> ^^ Ok.
RandyT has quit [Ping timeout: 245 seconds]
<jhass> simpleuser: File.foreach is a method call, foreach in PHP is syntax, that's the major difference
relix has quit [Read error: Connection reset by peer]
starfox_21 has quit [Quit: starfox_21]
Xeago has quit [Ping timeout: 260 seconds]
<wasamasa> simpleuser: you have way less arbitrary limitations than in PHP, so stop thinking of ruby as being comparable to it
relix has joined #ruby
poulet_a has quit [Quit: Quitte]
<simpleuser> Yeah, ok. I get it :)
anaeem1_ has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
mary5030 has joined #ruby
Snowstormer is now known as SuperBroke
<simpleuser> By the way, how do you explain that Ruby is declining on Github? http://redmonk.com/dberkholz/2014/05/02/github-language-trends-and-the-fragmenting-landscape/
poulet_a has joined #ruby
mikesplain has joined #ruby
<simpleuser> I thought Ruby was gaining popularity but it seems to be the contrary
<sevenseacat> given that github is written in ruby, well
dorei has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
<sevenseacat> also, those are percentages, not raw numbers
<sevenseacat> so theyre kinda meaningless
<jhass> simpleuser: I think Github was just more popular among rubyists in the beginning and now more and more communities adopt it
startupality has quit [Quit: startupality]
<sevenseacat> theres nothing saying the number of ruby repos is going down
<sevenseacat> just that there are more of other languages
havenwood has joined #ruby
gccostabr has joined #ruby
<simpleuser> Oh, Interesting jhass.
bluOxigen has joined #ruby
Sonny|3oy has quit [Quit: Leaving]
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
EasyCo has quit [Quit: Connection closed for inactivity]
qwyeth has joined #ruby
<jhass> so as the total amount of repos grows, the relative amount sinks
<simpleuser> Could it also be linked to the growth of symfony2, nodejs or django?
<jhass> doesn't mean the absolute number declines
cocotton has quit [Remote host closed the connection]
dawkirst has quit [Remote host closed the connection]
dorei has joined #ruby
Dude007 has joined #ruby
itspots has quit [Remote host closed the connection]
frankle has joined #ruby
itspots has joined #ruby
itspots has quit [Changing host]
itspots has joined #ruby
mary5030 has quit [Remote host closed the connection]
<wasamasa> simpleuser: I interpret it as no more hyping
itspots_ has joined #ruby
mercerist has joined #ruby
mary5030 has joined #ruby
cocotton has joined #ruby
<wasamasa> simpleuser: as in, other hyped languages are taking over the overall activity
tobago has quit [Remote host closed the connection]
ari-_-e has joined #ruby
armanghassemi_ has joined #ruby
<simpleuser> Yeah. Like Javascript.
ffranz has joined #ruby
pandaant has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
itspots has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
djcp has joined #ruby
djcp has left #ruby [#ruby]
Soda has quit [Remote host closed the connection]
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qmfnp has joined #ruby
whyy has quit [Ping timeout: 240 seconds]
grzywacz has quit [Quit: :wq]
yfeldblum has joined #ruby
<YamakasY> dorei: double quotes didn't fix it
<simpleuser> Is the {} and do/end notation equivalent?
<jhass> simpleuser: almost, theirs a difference in precedence, but don't care about that for now
axilla has joined #ruby
sepp2k has joined #ruby
<jhass> there's, silly me
Soda has joined #ruby
<YamakasY> jhass: silly you!
Channel6 has joined #ruby
albedoa has joined #ruby
<simpleuser> ok thanks jhass
himsin has quit [Quit: himsin]
yfeldblum has quit [Ping timeout: 255 seconds]
kalusn has joined #ruby
jottr has joined #ruby
DrShoggoth has joined #ruby
tobago has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
siwica has joined #ruby
yubrew has joined #ruby
cpruitt has joined #ruby
TorpedoSkyline has joined #ruby
<YamakasY> should I do something around an asterisk like \\ or so ?
<sevenseacat> what?
<jhass> sevenseacat: #puppet, ignore him
ta has quit [Remote host closed the connection]
mockra has joined #ruby
<jhass> it's not ruby code
<sevenseacat> oh ffs
shredding has quit [Quit: shredding]
LudicrousMango has quit []
yubrew has quit [Ping timeout: 245 seconds]
Ankhers has joined #ruby
abuzze_ has joined #ruby
rjhunter has joined #ruby
claw___ has joined #ruby
claw__ has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
<YamakasY> jhass: no this is not puppet, it's a foreman template which is ruby :)
<YamakasY> puppet is not even loaded yet :)
<YamakasY> sevenseacat: not everyone is always right ;)
<tobiasvl> what's foreman?
jcoglan has joined #ruby
abuzze has quit [Ping timeout: 260 seconds]
<YamakasY> jhass: read up on theforeman.org... complete ruby
<YamakasY> tobiasvl: and ENC
<tobiasvl> and why didn't you mention the context of your question?
<YamakasY> *an
mockra has quit [Ping timeout: 272 seconds]
snath has quit [Ping timeout: 255 seconds]
<tobiasvl> there are asterisks all over ruby, how were we supposed to guess what you were talking about?
jrunning_ is now known as jrunning
<YamakasY> tobiasvl: no, I do a sed -i which contains a *
roolo has quit [Quit: Leaving...]
<tobiasvl> okay, so it's a bash/sed question, not a ruby question
<YamakasY> tobiasvl: /bin/sed -i '1isource /etc/network/interfaces.d/*.conf\n' /etc/network/interfaces
agent_white has quit [Read error: Connection reset by peer]
maasha has joined #ruby
RandyT has joined #ruby
<jhass> YamakasY: Procfiles are YAML or something custom I think
<jhass> definitely not Ruby
<YamakasY> tobiasvl: nah thejoecarroll it's not yaml :)
<YamakasY> that is after that
<YamakasY> this is just the provisioning
SuperBroke is now known as Snowstormer
<YamakasY> so installing
<tobiasvl> YamakasY: the point is that we don't know or care. I have never heard of Foreman, never used Puppet, and you should ask in the proper channels
klmlfl has joined #ruby
<tobiasvl> this channel is for the programming language Ruby
<YamakasY> tobiasvl: yes true
Zenigor has joined #ruby
ari-_-e has quit [Ping timeout: 255 seconds]
startupality has joined #ruby
bbloom has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ari-_-e has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
sylvanica has joined #ruby
<maasha> So, ramping up my app to real data reveals that it is fubar. The non-forked version is OK. The forked version is extremely slow and lots of defunct processes appears. I am at a loss on where to begin debugging. Somewhere line 101 here: https://github.com/maasha/biopieces/blob/master/lib/biopieces/pipeline.rb
<maasha> *Somewhere around
pigram86 has joined #ruby
siwica1 has joined #ruby
wallerdev has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
siwica has quit [Ping timeout: 246 seconds]
starfox_21 has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
sailias has joined #ruby
<maasha> so where do defunct processes come from? I have a numbers of forks depending on each other and I am waiting for the last one using Process.waitpid.
wallerdev has quit [Ping timeout: 260 seconds]
Channel6 has quit [Quit: Leaving]
<TieSoul> so, erm, I'm using httparty to post to http://sprunge.us, but HTTParty.post('http://sprunge.us', {'sprunge' => 'Hello'}) returns a link to an empty sprunge page.
<TieSoul> I've never done anything like this
rimenes has joined #ruby
<TieSoul> so I might be doing something totally wrong
* maasha is overwhelmed by hundreds of zombies
roolo has joined #ruby
dawkirst has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hamakn has quit [Remote host closed the connection]
<waxjar> maasha: you mean you have a process, that forks a process, that forks a process, etc?
jonathan_alban has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
jackz has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
candelabra has joined #ruby
linojon has joined #ruby
FarlaTux has joined #ruby
danijoo has joined #ruby
jackz has quit [Client Quit]
abuzze_ has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
shredding has joined #ruby
<candelabra> I have a string = "201408242131" which is just YYYYMMDDHHmm date/time. I'm using the following split function .split(/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/)... but for some reason i'm getting an array of 6 items, and the first is just an empty string. any idea why?
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
jheg has joined #ruby
abuzze has quit [Remote host closed the connection]
FarlaTux has quit [Max SendQ exceeded]
abuzze has joined #ruby
<maasha> waxjar: no, it is not a nested fork, but rather a number of forks where there is interprocess communication (IPC) via IO.pipe so it emulates what you do on a command line: cat file | cut | sort | grep ...
FarlaTux has joined #ruby
shackleford has joined #ruby
zeroNones has joined #ruby
<maasha> waxjar: so each command is running on a core on its own.
shackleford has quit [Read error: Connection reset by peer]
dblessing has quit [Quit: dblessing]
<waxjar> i see
shackleford has joined #ruby
<waxjar> i think you shouldn't just wait on the last one though, but on all of them.
GriffinHeart has joined #ruby
mary5030 has quit [Remote host closed the connection]
mercerist has joined #ruby
<albedoa> i can get a random element from an array with `sample`. how can i get that element's index?
jottr has quit [Ping timeout: 260 seconds]
<waxjar> array.index(array.sample)
<albedoa> waxjar thank you!
Morkel has quit [Quit: Morkel]
djbkd has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
gtrak has joined #ruby
anarang has quit [Quit: Leaving]
GriffinHeart has quit [Remote host closed the connection]
ari-_-e has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
GriffinHeart has joined #ruby
pigram86 has quit [Read error: Connection reset by peer]
pigram86_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
sprihodko has quit [Quit: Lingo - http://www.lingoirc.com]
GriffinHeart has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
<jhass> >> require 'time'; Time.parse("201408242131") # candelabra
<eval-in> jhass => 2014-08-24 21:31:00 +0000 (https://eval.in/183035)
oo_ has quit [Remote host closed the connection]
agent_white has joined #ruby
<maasha> waxjar: I tried putting all pids on an array and wait for all, but the result is the same.
agent_white has quit [Read error: Connection reset by peer]
ari-_-e has joined #ruby
mikesplain has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
Logico has quit [Quit: Saindo]
<jhass> candelabra: and I'm surprised the split gives you that many items at all, you probably wanted a .match or a .scan
dkamioka has joined #ruby
Macaveli has quit [Ping timeout: 260 seconds]
<jhass> albedoa: or the other way around: index = rand(array.size-1); item = array[index]
tobago has quit [Remote host closed the connection]
<maasha> waxjar: actually, come to think of it - if I do that and wait for them in the right order, the zombies clear
<jhass> albedoa: er, sans the -1
craigp has quit [Remote host closed the connection]
<albedoa> jhass thanks :)
linojon has quit [Quit: linojon]
devdazed has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<waxjar> tiesoul, i think you need to pass a body like so: HTTParty.post("...", :body => { sprunge: "..." })
GriffinHeart has quit [Remote host closed the connection]
sevenseacat has quit [Quit: Leaving.]
bthesorceror has joined #ruby
TorpedoSkyline has joined #ruby
linojon has joined #ruby
yfeldblum has joined #ruby
<TieSoul> HTTParty.post('http://sprunge.us', 'body' => { 'sprunge' => 'Hello' }) still does nothing
<TieSoul> oh wait
<TieSoul> you say
<TieSoul> sprunge: "..."
<TieSoul> nevermind
<waxjar> that shouldn't matter
<TieSoul> oh
bearish has quit [Remote host closed the connection]
<TieSoul> okay
<TieSoul> it doesn't
bthesorceror has quit [Client Quit]
craigp has joined #ruby
mary5030 has joined #ruby
Ayey__ has quit [Ping timeout: 250 seconds]
TorpedoSkyline has quit [Client Quit]
<waxjar> ah, the body should be a Symbol yes
<waxjar> but the "sprunge" thing shouldn't matter
<TieSoul> ahh
<TieSoul> that works
<TieSoul> thanks
mary5030 has quit [Remote host closed the connection]
gccostabr has quit [Quit: ZZZzzz…]
mary5030 has joined #ruby
sylvanica has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
lxsameer has quit [Quit: Leaving]
agent_white has quit [Read error: Connection reset by peer]
bearish has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
asteve has joined #ruby
patrick99e99 has joined #ruby
charliesome has joined #ruby
osvico has joined #ruby
thomasxie has left #ruby [#ruby]
bootstrappm has quit [Read error: Connection reset by peer]
Zenigor has quit [Read error: Connection reset by peer]
agjacome has quit [Quit: leaving]
Zenigor has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
treehug88 has joined #ruby
toastynerd has joined #ruby
freerobby has joined #ruby
philcrissman has joined #ruby
agent_white has joined #ruby
TieSoul_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
brothmars has joined #ruby
qohelet_ has joined #ruby
TieSoul has quit [Read error: Connection reset by peer]
<maasha> Hm, I think the problem is some conflict with the Parallel gem. Threading something that is forked perhaps
felixjet__ has joined #ruby
osvico has quit [Ping timeout: 246 seconds]
terrell_t has joined #ruby
<treehug88> hi all, i'm trying to use the popup_menu method as shown here: http://apidock.com/ruby/CGI/HtmlExtension/popup_menu , but I can't seem to get the popup_menu method or function working. What do I need to do?
Dude007_ has joined #ruby
tagrudev has quit [Read error: Connection reset by peer]
patronus has joined #ruby
pigram86 has joined #ruby
axilla_ has joined #ruby
radic has joined #ruby
ItSAN____ has joined #ruby
patrick99e99 has quit [Ping timeout: 255 seconds]
pubadubdub2 has joined #ruby
skmp_ has joined #ruby
halfdan_ has joined #ruby
paulog__ has joined #ruby
jerikl has joined #ruby
dioms__ has joined #ruby
FDj_ has joined #ruby
cmaxw______ has joined #ruby
ffranz has quit [Ping timeout: 240 seconds]
daxroc__ has joined #ruby
frode15243_ has joined #ruby
antonishen_ has joined #ruby
bove_ has joined #ruby
starfox_21_ has joined #ruby
tenseiten has joined #ruby
jfutbol has joined #ruby
Scorchin_ has joined #ruby
Su7_ has joined #ruby
shelling_ has joined #ruby
HashNuke_ has joined #ruby
dziga_ has joined #ruby
thalweg_ has joined #ruby
starfox_21_ has quit [Client Quit]
krandi has joined #ruby
<treehug88> what should I be doing differently? http://hastebin.com/urocolumic.hs
dziga_ is now known as Guest77051
ereslibre_laptop has joined #ruby
ereslibre_laptop has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
bcavileer_ has joined #ruby
<treehug88> (that's what I've been trying)
ahmads has joined #ruby
machty_ has joined #ruby
vinky_ has joined #ruby
tskogber1 has joined #ruby
Cope_ has joined #ruby
b1nd_ has joined #ruby
Psy-Q_ has joined #ruby
pydave6377 has joined #ruby
Wayneoween_ has joined #ruby
gzl_ has joined #ruby
ruisanto1 has joined #ruby
oetjenj_ has joined #ruby
agent_white has joined #ruby
akoz has joined #ruby
neoice_ has joined #ruby
Brando753-o_O_o has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
binw_ has joined #ruby
asteve_ has joined #ruby
wmoxam_ has joined #ruby
timmow_ has joined #ruby
ybit has joined #ruby
civillia1 has joined #ruby
jzigmund_ has joined #ruby
<havenwood> maasha: have an example of it going awry? just curious
marcel- has joined #ruby
androidbruce_ has joined #ruby
rtl_ has joined #ruby
Rylee_ has joined #ruby
Gate_ has joined #ruby
Raboo_ has joined #ruby
badhatter_ has joined #ruby
xfz_ has joined #ruby
SpaceKoo- has joined #ruby
ericwood_ has joined #ruby
iamjusthatdude has joined #ruby
Jamo__ has joined #ruby
ddv has quit [Ping timeout: 260 seconds]
amitchellbullard has quit [Ping timeout: 260 seconds]
reprazent has quit [Ping timeout: 260 seconds]
Mars` has quit [Ping timeout: 260 seconds]
cmaxw_____ has quit [Ping timeout: 260 seconds]
skmp has quit [Ping timeout: 260 seconds]
antonishen has quit [Ping timeout: 260 seconds]
daxroc has quit [Ping timeout: 260 seconds]
frode15243 has quit [Ping timeout: 260 seconds]
halfdan has quit [Ping timeout: 260 seconds]
SegFaultAX has quit [Ping timeout: 260 seconds]
timmow has quit [Ping timeout: 260 seconds]
Brando753 has quit [Ping timeout: 260 seconds]
jimeh has quit [Ping timeout: 260 seconds]
oetjenj has quit [Ping timeout: 260 seconds]
phrozen77 has quit [Ping timeout: 260 seconds]
asteve has quit [Ping timeout: 260 seconds]
starfox_21 has quit [Ping timeout: 260 seconds]
marcel has quit [Ping timeout: 260 seconds]
binw has quit [Ping timeout: 260 seconds]
bove has quit [Ping timeout: 260 seconds]
gzl has quit [Ping timeout: 260 seconds]
nighter has quit [Ping timeout: 260 seconds]
neoice has quit [Ping timeout: 260 seconds]
onewheelskyward has quit [Ping timeout: 260 seconds]
pigram86_ has quit [Ping timeout: 260 seconds]
Dude007 has quit [Ping timeout: 260 seconds]
njs126 has quit [Ping timeout: 260 seconds]
HashNuke has quit [Ping timeout: 260 seconds]
terrellt has quit [Ping timeout: 260 seconds]
wmoxam has quit [Ping timeout: 260 seconds]
Zackio has quit [Ping timeout: 260 seconds]
pubadubdub has quit [Ping timeout: 260 seconds]
Norrin has quit [Ping timeout: 260 seconds]
jokke has quit [Ping timeout: 260 seconds]
bcavileer has quit [Ping timeout: 260 seconds]
Scorchin has quit [Ping timeout: 260 seconds]
ItSANgo has quit [Ping timeout: 260 seconds]
Rylee has quit [Ping timeout: 260 seconds]
Psy-Q has quit [Ping timeout: 260 seconds]
dioms_ has quit [Ping timeout: 260 seconds]
dziga has quit [Ping timeout: 260 seconds]
paulog_ has quit [Ping timeout: 260 seconds]
akosednar has quit [Ping timeout: 260 seconds]
machty has quit [Ping timeout: 260 seconds]
lusory has quit [Ping timeout: 260 seconds]
Fraeon has quit [Ping timeout: 260 seconds]
heath has quit [Ping timeout: 260 seconds]
majoh has quit [Ping timeout: 260 seconds]
Wayneoween has quit [Ping timeout: 260 seconds]
ixx has quit [Ping timeout: 260 seconds]
Gate has quit [Ping timeout: 260 seconds]
Raboo has quit [Ping timeout: 260 seconds]
axilla has quit [Ping timeout: 260 seconds]
andikr has quit [Ping timeout: 260 seconds]
radic_ has quit [Ping timeout: 260 seconds]
stoned has quit [Ping timeout: 260 seconds]
seitensei has quit [Ping timeout: 260 seconds]
shelling has quit [Ping timeout: 260 seconds]
badhatter has quit [Ping timeout: 260 seconds]
redondo has quit [Ping timeout: 260 seconds]
jpierre03 has quit [Ping timeout: 260 seconds]
jdguzman has quit [Ping timeout: 260 seconds]
pydave6367 has quit [Ping timeout: 260 seconds]
pagios has quit [Ping timeout: 260 seconds]
androidbruce has quit [Ping timeout: 260 seconds]
Jamo has quit [Ping timeout: 260 seconds]
vinky has quit [Ping timeout: 260 seconds]
patronus_ has quit [Ping timeout: 260 seconds]
ereslibre has quit [Ping timeout: 260 seconds]
thalweg has quit [Ping timeout: 260 seconds]
xlii has quit [Ping timeout: 260 seconds]
Su7 has quit [Ping timeout: 260 seconds]
jzigmund has quit [Ping timeout: 260 seconds]
xfz has quit [Ping timeout: 260 seconds]
felixjet_ has quit [Ping timeout: 260 seconds]
civillian has quit [Ping timeout: 260 seconds]
FDj has quit [Ping timeout: 260 seconds]
b1nd has quit [Ping timeout: 260 seconds]
PixelCrumbs has quit [Ping timeout: 260 seconds]
rtl has quit [Ping timeout: 260 seconds]
tobiasvl has quit [Ping timeout: 260 seconds]
ruisantos has quit [Ping timeout: 260 seconds]
Cope has quit [Ping timeout: 260 seconds]
ericwood has quit [Ping timeout: 260 seconds]
cjk101010 has quit [Ping timeout: 260 seconds]
mnemon has quit [Ping timeout: 260 seconds]
SpaceKookie has quit [Ping timeout: 260 seconds]
tskogberg has quit [Ping timeout: 260 seconds]
rotor has quit [Ping timeout: 260 seconds]
onewheelskyward has joined #ruby
lusory has joined #ruby
jokke has joined #ruby
majoh has joined #ruby
Fraeon has joined #ruby
ixx has joined #ruby
tvl has joined #ruby
PixelCrumbs has joined #ruby
androidbruce_ is now known as androidbruce
androidbruce has quit [Changing host]
androidbruce has joined #ruby
Raboo_ is now known as Raboo
cmaxw______ is now known as cmaxw_____
redondo has joined #ruby
skmp_ is now known as skmp
ddv has joined #ruby
reprazent has joined #ruby
marcel- is now known as marcel
bearish has quit [Remote host closed the connection]
amitchellbullard has joined #ruby
amitchellbullard has quit [Changing host]
amitchellbullard has joined #ruby
<iamjusthatdude> I can't find documentation for rescue method
phrozen7- has joined #ruby
daxroc__ is now known as daxroc
<iamjusthatdude> anywhere
frode15243_ is now known as frode15243
xlii has joined #ruby
<maasha> havenwood: alas, it like a real wold setup with some Gb of data. I should look into collecting something light and reproducible of cause.
halfdan_ is now known as halfdan
<iamjusthatdude> all that I find is stuff about handling error exceptions
ixx is now known as Guest13783
qohelet_ has quit [Quit: Linkinus - http://linkinus.com]
Brando753-o_O_o is now known as Brando753
pagioss has joined #ruby
antonishen_ is now known as antonishen
njs126 has joined #ruby
bearish has joined #ruby
<iamjusthatdude> but I saw a Pascal solution that uses it
SegFaultAX has joined #ruby
<iamjusthatdude> can I post it in here?
rotor has joined #ruby
jimeh has joined #ruby
paulog__ is now known as paulog_
Mars` has joined #ruby
jpierre03 has joined #ruby
stoned has joined #ruby
tlarevo has joined #ruby
HashNuke_ is now known as HashNuke
bove_ is now known as bove
oetjenj_ is now known as oetjenj
neoice_ is now known as neoice
<jhass> iamjusthatdude: rescue is syntax in ruby, not a method and this is #ruby, not #pascal, so I can't see the relevance here
paulfm has quit [Ping timeout: 260 seconds]
cjk101010 has joined #ruby
bcavileer_ is now known as bcavileer
spastorino has joined #ruby
amargherio has joined #ruby
<jhass> treehug88: show your code
<jhass> oh, you did, nvm
<treehug88> jhass : please see my link! :)
shelling_ is now known as shelling
Zackio has joined #ruby
paulfm has joined #ruby
agent_white has joined #ruby
DEA7TH has quit [Ping timeout: 250 seconds]
agent_white has quit [Read error: Connection reset by peer]
<jhass> treehug88: let's take a look to the official docs together. http://ruby-doc.org/stdlib-2.1.1/libdoc/cgi/rdoc/CGI/HtmlExtension.html#method-i-popup_menu
<jhass> treehug88: if we scroll all the way up, we see a "Files" box on the left
nighter has joined #ruby
machty_ is now known as machty
<jhass> that declares the file the method we want is defined in
Scorchin_ is now known as Scorchin
<treehug88> yeah, I can't get that example working either - require 'cgi-html' doesn't work
Norrin has joined #ruby
gccostabr has joined #ruby
<treehug88> nor does gem install cgi-html
<jhass> so let's try requiring that correctly: require 'cgi/html' (we save the .rb extension)
bearish has quit [Ping timeout: 245 seconds]
_tpavel has quit [Quit: Leaving]
<jhass> it's not a gem, we're in the official docs for the stdlib, shipped with ruby
mnemon has joined #ruby
bearish has joined #ruby
toastynerd has quit [Remote host closed the connection]
<treehug88> awesome; so what the correct code to use popup_menu?
<jhass> did you try require 'cgi/html' yet?
<treehug88> yes
<jhass> and?
<dorei> what are the options for cross-platform TUIs @ ruby?
<jhass> dorei: gets, print and puts I fear
<jhass> unicode box characters maybe, but they probably break on win
<iamjusthatdude> lol
<iamjusthatdude> When I said Pascal
<iamjusthatdude> I said Pascal triangle
<treehug88> thanks for your assistance
<jhass> iamjusthatdude: then link to it / make a gist
<dorei> jhass: ncrurses doesnt work with windows? :(
<jhass> dorei: would be surprised but I actually don't know
Magnus has joined #ruby
cocotton has quit [Read error: Connection reset by peer]
cocotton_ has joined #ruby
<treehug88> there's a reason it's called 'curses'
<jhass> I stopped using windows for anything remotely serious like 6 years ago
cocotton has joined #ruby
agent_white has joined #ruby
cocotton_ has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
<treehug88> jhass: so do you know how to get that to work? :)
bearish has quit [Remote host closed the connection]
Zenigor has quit [Ping timeout: 255 seconds]
<jhass> treehug88: you didn't tell me your error message yet
<Magnus> Hello! I'm running Logstash to log things from a XMPP chat. Logstash crashes when parsing Swedish åäö with the following error message:  #<Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)>
<Magnus> Anyone has a suggestion how to work around this problem? Ideally I should be able to log åäö, and other weird characters :)
siwica1 has quit [Ping timeout: 245 seconds]
<jhass> treehug88: meh, ignore me for now
<treehug88> jhass they're in my last pastebin/
<jhass> too many things simultaneously, sorry :/
<havenwood> treehug88: CGI::HTML5.new.popup_menu
the8thbit|work has quit [Read error: No route to host]
ahmads has quit [Ping timeout: 260 seconds]
maasha has quit [Quit: Page closed]
<havenwood> treehug88: Look at the name of the module the method is defined upon and `include` it.
<treehug88> havenwood: I'll try that, thanks
mockra has joined #ruby
Zenigor has joined #ruby
<treehug88> havenwood: that gives "cgi/test-popup.rb:9:in `<main>': uninitialized constant CGI::HTML5 (NameError)
<havenwood> treehug88: did you?: require 'cgi/html'
<treehug88> yes, havenwood : do I need to 'require' something specific other than 'cgi' and 'cgi/html'
ahmads has joined #ruby
ValicekB has quit [Ping timeout: 272 seconds]
<havenwood> >> require 'cgi/html'; CGI::HTML5.new.popup_menu
<eval-in> havenwood => undefined method `escapeHTML' for CGI:Class (NoMethodError) ... (https://eval.in/183047)
<havenwood> meh
dawkirst has quit [Remote host closed the connection]
jobewan has joined #ruby
TieSoul_ is now known as TieSoul
gsd has joined #ruby
<art-solopov> Magnus: Can you please paste the code to reproduce the error?
ericwood_ is now known as ericwood
<treehug88> havenwood: can't believe how much grief this is giving me
claymore has joined #ruby
Mars`` has joined #ruby
reprazent_ has joined #ruby
ahmads has quit [Client Quit]
<havenwood> treehug88: oh, you just have to also require cgi
xxi has joined #ruby
cescalante has joined #ruby
<treehug88> yup did that too havenwood
lusory_ has joined #ruby
tobiasvl has joined #ruby
Freijo has joined #ruby
PixelCru- has joined #ruby
<havenwood> >> require 'cgi'; require 'cgi/html'; CGI::HTML5.new.popup_menu
<eval-in> havenwood => "<SELECT NAME=\"\"></SELECT>" (https://eval.in/183049)
<havenwood> boom
qpok_ has joined #ruby
vereteran has joined #ruby
<treehug88> which version of ruby havenwood ?
<havenwood> 2.1.2
onewheelskyward has quit [Ping timeout: 260 seconds]
Mars` has quit [Ping timeout: 260 seconds]
Norrin has quit [Ping timeout: 260 seconds]
reprazent has quit [Ping timeout: 260 seconds]
Guest13783 has quit [Ping timeout: 260 seconds]
Fraeon has quit [Ping timeout: 260 seconds]
lusory has quit [Ping timeout: 260 seconds]
dkamioka has quit [Ping timeout: 260 seconds]
jpierre03 has quit [Ping timeout: 260 seconds]
ddv has quit [Ping timeout: 260 seconds]
PixelCrumbs has quit [Ping timeout: 260 seconds]
tvl has quit [Ping timeout: 260 seconds]
majoh has quit [Ping timeout: 260 seconds]
jokke has quit [Ping timeout: 260 seconds]
naquad has quit [Ping timeout: 260 seconds]
cescalante_ has quit [Ping timeout: 260 seconds]
qpok has quit [Ping timeout: 260 seconds]
ddv has joined #ruby
onewheelskyward has joined #ruby
jokke has joined #ruby
majoh has joined #ruby
Mars`` is now known as Mars`
dkamioka_ has joined #ruby
<treehug88> shoot, being on an old version is probably messing me up
<havenwood> yeah, that ^ wouldn't work on 1.9
<treehug88> havenwood: any suggestion for a workaround? Sounds like I'll have to implement my own popup_menu()
<treehug88> fg
jpierre03 has joined #ruby
siwica has joined #ruby
SpaghettiCat has joined #ruby
<havenwood> treehug88: or just use the 1.9.3 docs :P
SpaghettiCat has left #ruby ["Leaving"]
<treehug88> havenwood: link?
senayar has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<havenwood> treehug88: better yet, 2.1.2 :P
bearish has joined #ruby
<havenwood> treehug88: latest stable ftw
jshultz has joined #ruby
senayar has joined #ruby
Asher has joined #ruby
paulfm_ has joined #ruby
failshell has joined #ruby
timonv_ has quit [Remote host closed the connection]
tobago has joined #ruby
eka has joined #ruby
timonv_ has joined #ruby
mikepack has joined #ruby
paulfm has quit [Ping timeout: 260 seconds]
<Magnus> art-solopov: well, I'm not a 100% sure where the error is :)
agent_white has joined #ruby
<Magnus> marked the two places where I think the error points to
agent_white has quit [Read error: Connection reset by peer]
ValicekB has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
dkamioka_ has quit [Remote host closed the connection]
dkamioka has joined #ruby
kristofferR has joined #ruby
Morkel has joined #ruby
antonishen has quit []
Takle has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
Norrin has joined #ruby
antonishen has joined #ruby
Takle has joined #ruby
charliesome has quit [Quit: zzz]
momomomomo_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
momomomomo_ has quit [Client Quit]
aganov has quit [Remote host closed the connection]
Neomex has joined #ruby
dkamioka has quit [Ping timeout: 240 seconds]
momomomomo has quit [Ping timeout: 260 seconds]
razum2um1 has quit [Quit: Leaving.]
phoo1234567 has quit [Quit: Leaving]
geggam has joined #ruby
jprovazn has quit [Quit: Leaving]
Takle has quit [Ping timeout: 240 seconds]
balance has joined #ruby
IceDragon has joined #ruby
<balance> hi, I'm a php dev and want to learn ruby, what's the best source?
djbkd has joined #ruby
timonv_ has joined #ruby
hamakn has joined #ruby
ghostmoth has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<havenwood> balance: There're some good resources here: https://www.ruby-lang.org/en/documentation/
gregf has quit [Quit: WeeChat 0.4.3]
<havenwood> balance: Here's a quick rundown for coming to Ruby from PHP: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-php/
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<waxjar> is there a more elegant way of doing class << self; attr_accessor :x; end ?
ruisanto1 is now known as ruisantos
<havenwood> balance: There're a couple great books. Lots of talk on confreaks.
<balance> havenwood, ty
<havenwood> balance: I'd suggest reading through the code of a bunch of gems on the Githubs, after reading up on how to cut a Gem.
lmickh has joined #ruby
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
<balance> havenwood sure, good idea, ty. :)
<havenwood> np
craigp has quit [Remote host closed the connection]
mikesplain has joined #ruby
craigp has joined #ruby
axsuul has joined #ruby
djbkd has quit [Ping timeout: 246 seconds]
craigp has quit [Client Quit]
hamakn has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby
Magnus has quit [Ping timeout: 246 seconds]
agent_white has joined #ruby
Kruppe has quit [Quit: ZNC - http://znc.in]
agent_white has quit [Read error: Connection reset by peer]
Takle has joined #ruby
andrewlio has joined #ruby
oo_ has joined #ruby
charliesome has joined #ruby
echevemaster has joined #ruby
nszceta has joined #ruby
Kruppe has joined #ruby
fabrice31 has quit [Remote host closed the connection]
krisquigley has joined #ruby
sinkensa_ has quit [Remote host closed the connection]
wald0 has quit [Ping timeout: 260 seconds]
<havenwood> waxjar: nope, i don't think so
<albedoa> 10.times.each.with_index(1) do | e, i | <— is this the only way to offset the .times method index by 1?
<havenwood> waxjar: unless you wander into Rails land :O
<havenwood> waxjar: require 'active_support/core_ext/class/attribute_accessors'
<havenwood> waxjar: for #cattr_accessor
wald0 has joined #ruby
mikesplain has quit [Ping timeout: 245 seconds]
wmoxam_ has quit [Quit: leaving]
yfeldblum has quit [Ping timeout: 250 seconds]
wmoxam has joined #ruby
<dorei> albedoa: take a look at #step too
<albedoa> dorei thank you
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ssarah has joined #ruby
<Hanmac> albedoa: you can remove the each when you call with_index at times
<havenwood> like this time :)
shredding has quit [Quit: shredding]
<havenwood> albedoa: passing with_index an arg is a nice way to offset
<dorei> >> 1.step(10, 2).to_a
<eval-in> dorei => [1, 3, 5, 7, 9] (https://eval.in/183053)
<ssarah> hei guys. hmm, it's my first time installing with gem, i did sudo gem install librarian-puppet, and i get a "ERROR: Failed to build gem native extension." while "building native extensions". any ideas?
niklasb has quit [Ping timeout: 255 seconds]
<ssarah> before i did sudo apt-get install ruby
spyderman4g63 has joined #ruby
<albedoa> dorei thanks but i merely want to begin on 1 instead of 0 :)
<Hanmac> albedoa: are you sure you are not looking for
jfutbol has quit [Ping timeout: 240 seconds]
<Hanmac> >> 1.upto(10).to_a
<eval-in> Hanmac => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/183054)
<havenwood> albedoa: oh, not quite sure i follow what you're looking for
<albedoa> boom
<albedoa> Hanmac nice, thanks
<dorei> ssarah: native extensions is C code, I guess you're missing some lib required for the C code to compile
<Hanmac> ssarah: apt-get install ruby-dev too?
<havenwood> >> [*1..10]
<eval-in> havenwood => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/183055)
<havenwood> i like upto
krisquigley has quit [Ping timeout: 260 seconds]
<havenwood> ssarah: if you can, use a newer Ruby than 1.8 ;), like: ruby2.0 ruby2.0-dev
<havenwood> or at least 1.9
irath96 has quit [Read error: Connection reset by peer]
Snowstormer is now known as Bjork
startupality has quit [Quit: startupality]
<ssarah> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
ahmads has joined #ruby
starkhalo has joined #ruby
<havenwood> a release that's still supported :)
agent_white has joined #ruby
<havenwood> not 1.8, whew
oo_ has quit [Remote host closed the connection]
mr-foobar has quit [Read error: Connection reset by peer]
<havenwood> ssarah: so since debian uses ABI version, and 1.9.3's ABI is 1.9.1 confusingly, that'd be: apt-get install ruby1.9.1-dev
Dude007_ has quit [Remote host closed the connection]
diegoviola has joined #ruby
<ssarah> whoa
InhalingPixels has joined #ruby
<ssarah> that's confusing alright
<havenwood> indeed >.>
<ssarah> i hate computers
<ssarah> ty havenwood
<ssarah> :)
mr-foobar has joined #ruby
startupality has joined #ruby
<ssarah> aw... :/ same error
<dorei> ssarah: which gem gives that error?
ryanleesipes has joined #ruby
hamakn has joined #ruby
<havenwood> ssarah: If you have multiple Rubies you may need to select a corresponding `ruby` and `gem` with update-alternatives.
ffranz has quit [Ping timeout: 260 seconds]
ffranz1 has joined #ruby
chrishough has joined #ruby
toastynerd has joined #ruby
<havenwood> ssarah: What is the output of `which gem` and `gem -v`?
<ssarah> hmm, someone told me to apt-get install build-essential. that seems do be doing the trick. it's installing
Takle has quit [Remote host closed the connection]
<ssarah> sounds right?
<havenwood> for sure that's a good package to have installed, just in general
apeiros has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
emocakes__ is now known as emocakes
<ssarah> nice nice ^_^ let me goof around with this then...
<havenwood> you should get the -dev version installed for the Ruby you're using though, if ya can
gauke has quit [Quit: gauke]
eka has joined #ruby
Cheezebox has quit [Remote host closed the connection]
<havenwood> ssarah: might be worth checking out: sudo update-alternatives --config ruby
<havenwood> ssarah: and: sudo update-alternatives --config gem
gsd has joined #ruby
<havenwood> ssarah: (In case you have more than one version of Ruby and its corresponding RubyGems installed.)
Dude007 has joined #ruby
momomomomo has joined #ruby
charliesome has quit [Quit: zzz]
<havenwood> You'd see what is currently selected for each with update-alternatives, and can change the selection if it's not what you wanted.
ffranz1 is now known as ffranz
dawkirst has joined #ruby
Takle_ has joined #ruby
rjhunter has quit [Remote host closed the connection]
Dude007 has quit [Remote host closed the connection]
Dude007 has joined #ruby
Cheezebox has joined #ruby
oo_ has joined #ruby
Neo-- has joined #ruby
<havenwood> another joy of debian's ruby packaging.. you've got to set gem apart from ruby due to 1.8 legacy when they weren't shipped together
bearish has quit [Remote host closed the connection]
HelperW has quit [Ping timeout: 255 seconds]
root3d has joined #ruby
<havenwood> Ruby... horrible to setup then an absolute joy to use. :P
aspires has joined #ruby
skolman has joined #ruby
oo_ has quit [Remote host closed the connection]
<root3d> havenwood, which distro ?
<root3d> sorry if it's windows
<root3d> *its
ahmads has quit [Quit: Bye]
<havenwood> At least they have WindowsInstaller.
ahmads has joined #ruby
<havenwood> Even if it's a year behind latest stable. :P
jfutbol has joined #ruby
oo_ has joined #ruby
altern has quit [Quit: This computer has gone to sleep]
<Neo--> hey guys, a question regarding celluloid - is it any use to set the size of workers to larger than CPU threads_per_core*cores? I was planning to use it use with a large number of actors, but if I'm understanding it correctly that will simply kill machine? original goal was sending 100/1000 requests a second with actors but as I understand ATM actors in celluloid/ruby come with a large overhead (actor per thread) making that attempt rather futile... am I right?
gaussblurinc1 has quit [Quit: Leaving.]
<havenwood> Neo--: Yes, there're sometimes good reasons to set the number of Actors higher than the number of cores.
bthesorceror has joined #ruby
froggy_ has joined #ruby
ahmads has quit [Read error: Connection reset by peer]
ahmads has joined #ruby
<Neo--> havenwood, oh I see - I'll try to implement it then and see where it takes me :)
bthesorceror has quit [Client Quit]
ssvo has quit [Ping timeout: 240 seconds]
<havenwood> Neo--: Celluloid Actors use Fibers for pipelined execution. They're lighter than Threads.
<havenwood> Very small stack size.
<havenwood> 10,000 is no prob
<Neo--> really?
<Neo--> awesome
<Neo--> that could be the solution I'm looking for
<Neo--> will take a look at fibers
Cort3z has joined #ruby
Soda has quit [Remote host closed the connection]
<havenwood> Though... on JRuby there aren't coroutines *yet*, and on MRI the GVL's not got *yet*.
jrhe_ has joined #ruby
<Neo--> nope, pure ruby
<Neo--> writing/extending a plugin for fluentd
jimmyhoughjr has joined #ruby
<havenwood> Neo--: Well, hopefully you're doing IO and all those Threads won't want the GVL at once. :P
froggy__ has quit [Ping timeout: 255 seconds]
Ayey_ has joined #ruby
<Neo--> yup - making HTTP requests (well, calling amazon's SDK, but that's basically HTTP request to it's servers under the hood)
<Neo--> havenwood, was project selected?
<Neo--> oh i see the status now :(
pubadubdub2 is now known as pubadubdub
<havenwood> Neo--: maybe checkout the http gem from celluloid ecosystem: https://github.com/tarcieri/http#celluloidio-support
ssvo has joined #ruby
<havenwood> Neo--: works well with Celluloid::IO
pubadubdub has quit [Changing host]
pubadubdub has joined #ruby
<ssarah> havenwood: i did the update-alternatives --config for ruby and gem and they match, 1.9.1 . Is good?
<havenwood> ssarah: sounds good
shachar has left #ruby ["Leaving"]
<ssarah> never knew about this update-alternatives thingie. It looks neat
<Neo--> havenwood, nice, didn't find that one yet, thanks!
startupality has quit [Quit: startupality]
<havenwood> yeah, handy if you have multiple versions installed for an apt package
momomomomo has quit [Quit: momomomomo]
bthesorceror has joined #ruby
root3d has quit [Ping timeout: 240 seconds]
<ssarah> ty, havenwood <3
<havenwood> np
shachar has joined #ruby
gauravagarwalr has quit []
root3d has joined #ruby
oo_ has quit [Remote host closed the connection]
jerikl has quit [Quit: jerikl]
noop has quit [Ping timeout: 250 seconds]
Aranshada|W has joined #ruby
spyderma_ has joined #ruby
wallerdev has joined #ruby
bthesorceror has quit [Client Quit]
mary5030 has quit [Read error: Connection reset by peer]
mary5030_ has joined #ruby
dkamioka has joined #ruby
webguynow has joined #ruby
ssvo has quit [Ping timeout: 250 seconds]
senayar_ has joined #ruby
shachar has quit [Client Quit]
itadder has joined #ruby
poulet_a has quit [Quit: Quitte]
spyderman4g63 has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
jcp has joined #ruby
jcp is now known as Guest5224
RTG`` has joined #ruby
RTG` has quit [Disconnected by services]
siwica has quit [Ping timeout: 255 seconds]
Kruppe has quit [Read error: Connection reset by peer]
ssvo has joined #ruby
senayar has quit [Ping timeout: 250 seconds]
startupality has joined #ruby
wallerdev has quit [Ping timeout: 264 seconds]
snath has joined #ruby
oo_ has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
L8D has quit [Ping timeout: 240 seconds]
skolman has quit [Remote host closed the connection]
gkagan has left #ruby [#ruby]
pubadubdub2 has joined #ruby
luckyruby has quit [Remote host closed the connection]
moted has joined #ruby
optimator_ has joined #ruby
pubadubdub has quit [Ping timeout: 245 seconds]
<optimator_> I’m using RoR with Passenger and Apache. I want to redirect the friendly passenger error page to a 500.html page. How do i do this?
icarus has joined #ruby
Cort3z has quit [Ping timeout: 260 seconds]
<jhass> optimator_: ask in #passenger
<optimator_> ty
terrell_t is now known as terrellt
oo_ has quit [Remote host closed the connection]
koderok has joined #ruby
fearoffish has joined #ruby
wallerdev has joined #ruby
phrozen7- has quit [Changing host]
phrozen7- has joined #ruby
yfeldblum has joined #ruby
rclements has quit [Quit: Leaving]
troyready has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
Cheezebox has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
relix has quit [Read error: Connection reset by peer]
relix_ has joined #ruby
goleldar has joined #ruby
Cheezebox has joined #ruby
bcavileer has quit [Changing host]
bcavileer has joined #ruby
bcavileer has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
cndiv has joined #ruby
jusmyth has joined #ruby
michaeldeol has joined #ruby
micahf has joined #ruby
qba73 has joined #ruby
max06 has quit [Ping timeout: 272 seconds]
alex88 has quit [Quit: Leaving...]
georgesmith has quit [Quit: georgesmith]
michaeldeol has quit [Client Quit]
kaspertidemann has quit []
krandi has quit [Remote host closed the connection]
olivier_bK has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has quit [Remote host closed the connection]
philcris_ has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
michaeldeol has joined #ruby
RTG`` has quit [Ping timeout: 240 seconds]
pubadubdub2 is now known as pubadubdub
pubadubdub has quit [Changing host]
pubadubdub has joined #ruby
pigram86_ has joined #ruby
michaeldeol has quit [Client Quit]
RTG` has joined #ruby
sdwrage has joined #ruby
vyorkin has quit [Ping timeout: 260 seconds]
pigram86 has quit [Ping timeout: 246 seconds]
balance has quit [Ping timeout: 272 seconds]
philcris_ has quit [Ping timeout: 264 seconds]
goleldar has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0]
jottr has joined #ruby
nobitanobi has joined #ruby
goleldar has joined #ruby
goleldar has quit [Read error: No route to host]
tvw has quit []
geggam_ has joined #ruby
jheg has quit [Quit: jheg]
geggam has quit [Disconnected by services]
goleldar has joined #ruby
itadder has quit [Read error: Connection reset by peer]
geggam_ is now known as geggam
jheg has joined #ruby
qba73 has quit []
RandyT has quit [Ping timeout: 250 seconds]
hamakn has quit [Remote host closed the connection]
bricker`work has joined #ruby
icebourg has joined #ruby
claw has joined #ruby
aspires has quit []
RandyT has joined #ruby
thnee has left #ruby [#ruby]
W0rmDr1nk has quit [Ping timeout: 240 seconds]
roolo has quit [Quit: Leaving...]
Jobygoude has quit [Quit: Lingo - http://www.lingoirc.com]
claw___ has quit [Ping timeout: 250 seconds]
georgesmith has joined #ruby
noeden has joined #ruby
Eiam has joined #ruby
saladspork has quit [Quit: saladspork]
banister has joined #ruby
fantazo has joined #ruby
banister has quit [Max SendQ exceeded]
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
banister has joined #ruby
<ericwood> >> require 'nokogiri'
<eval-in> ericwood => cannot load such file -- nokogiri (LoadError) ... (https://eval.in/183065)
dkamioka has quit [Remote host closed the connection]
<ericwood> :'(
chrishough has joined #ruby
banister has quit [Max SendQ exceeded]
dkamioka has joined #ruby
f0ster has joined #ruby
weems|mac has joined #ruby
krisquigley has joined #ruby
linojon has quit [Quit: linojon]
weems|mac has quit [Changing host]
weems|mac has joined #ruby
goleldar has quit [Remote host closed the connection]
michaeldeol has joined #ruby
linojon has joined #ruby
iamjusthatdude has quit [Ping timeout: 255 seconds]
dkamioka_ has joined #ruby
thousandwich has joined #ruby
Lewix has joined #ruby
dangerousdave has joined #ruby
sailias has quit [Quit: Leaving.]
sailias1 has joined #ruby
sailias1 is now known as sailias
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
dkamioka has quit [Ping timeout: 255 seconds]
apeiros has quit []
sdwrage has quit [Quit: This computer has gone to sleep]
bearish has joined #ruby
maestrojed has joined #ruby
_sillymarkets has joined #ruby
agrinb has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
<_sillymarkets> Can anyone help me with this double while loop? I am getting back undefined method [] for nil:NilClass ... points to [j]
IceDragon has joined #ruby
blackmesa has joined #ruby
<_sillymarkets> When I am trying something similar with r and c variables it works
<jhass> _sillymarkets: worksheet is set to nil
<jhass> _sillymarkets: also use .upto over while
saladspork has joined #ruby
<_sillymarkets> hmm, ok
<_sillymarkets> thanks, let me investigate
balance has joined #ruby
<jhass> 8.upto(149) do |row| 1.upto(9) do |column|
<jhass> _sillymarkets: maybe also worksheets[j] is nil in one iteration, try expanding the expression to two lines
mityaz has quit [Quit: Leaving]
vyorkin has joined #ruby
root3d has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
bearish has quit [Ping timeout: 240 seconds]
banister has joined #ruby
phutchin2 has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
_lexjm has joined #ruby
banister has quit [Max SendQ exceeded]
root3d has joined #ruby
IceDragon has joined #ruby
banister has joined #ruby
skolman_ has joined #ruby
<_sillymarkets> thanks jhaas, one iteration was nil
phutchin1 has quit [Ping timeout: 240 seconds]
agrinb has left #ruby ["Leaving..."]
JohnBat26 has joined #ruby
testcore has joined #ruby
skolman_ has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
zz_anildigital is now known as anildigital
skolman has joined #ruby
vyorkin has quit [Ping timeout: 255 seconds]
bradleyprice has joined #ruby
lost_neo has joined #ruby
lost_neo has left #ruby [#ruby]
dblessing has joined #ruby
banister has quit [Max SendQ exceeded]
gregf has joined #ruby
einarj has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
gregf has quit [Remote host closed the connection]
<_sillymarkets> Is there anything that does Bar AND Line "combo" graphs in Ruby?
rezzack has joined #ruby
<_sillymarkets> Googlecharts ruby gem doesnt support, although googlecharts does
gregf has joined #ruby
gregf has quit [Remote host closed the connection]
bradleyprice has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
moted has quit [Remote host closed the connection]
gregf has joined #ruby
moted has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
saarinen has joined #ruby
root3d has quit [Ping timeout: 260 seconds]
shackleford has quit [Remote host closed the connection]
anildigital is now known as rubydimond
aspires has quit []
ahmads has quit [Ping timeout: 245 seconds]
mrsolo has joined #ruby
krisquigley has quit [Remote host closed the connection]
treehug88 has quit [Ping timeout: 240 seconds]
Wetai has quit [Quit: Leaving]
senayar_ has quit [Remote host closed the connection]
agjacome has joined #ruby
senayar has joined #ruby
aspires has joined #ruby
ssvo has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
pigram86 has joined #ruby
saarinen has quit [Client Quit]
senayar has quit [Read error: Connection reset by peer]
senayar has joined #ruby
kidoz has joined #ruby
mrsolo has quit [Client Quit]
Ankhers has quit [Ping timeout: 264 seconds]
hooper has joined #ruby
elouisyoung has joined #ruby
<elouisyoung> 0
jkline has joined #ruby
Guest5224 is now known as Kruppe
ssvo has joined #ruby
carraroj has joined #ruby
sambao21 has joined #ruby
Spami has joined #ruby
wallerdev has joined #ruby
pigram86_ has quit [Ping timeout: 260 seconds]
benzrf|offline is now known as benzrf
yfeldblum has quit [Ping timeout: 264 seconds]
iceden has quit [Remote host closed the connection]
jcoglan has quit [Quit: jcoglan]
ta has joined #ruby
Zenigor has joined #ruby
root3d has joined #ruby
txdv has quit [Read error: Connection reset by peer]
thumpba_ has quit []
bthesorceror has joined #ruby
mrsolo has joined #ruby
txdv has joined #ruby
thumpba has joined #ruby
Ilyas has joined #ruby
Ilyas has quit [Max SendQ exceeded]
Ilyas has joined #ruby
djbkd has joined #ruby
mattmcclure has joined #ruby
iceden has joined #ruby
jusmyth has left #ruby [#ruby]
ahmads has joined #ruby
ahmads has quit [Read error: Connection reset by peer]
kalusn has quit [Ping timeout: 260 seconds]
xenomorph is now known as {xenomorph}
Xiti has quit [Ping timeout: 240 seconds]
ahmads has joined #ruby
TheTopBloke has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
momomomomo has joined #ruby
skolman__ has joined #ruby
Xeago has quit [Remote host closed the connection]
seamon has joined #ruby
skolman__ has quit [Read error: Connection reset by peer]
timonv_ has quit [Remote host closed the connection]
banister has joined #ruby
skolman__ has joined #ruby
bearish has joined #ruby
skolman has quit [Ping timeout: 240 seconds]
qmfnp has joined #ruby
TTilus has quit [Ping timeout: 245 seconds]
momomomomo has quit [Quit: momomomomo]
TTilus has joined #ruby
nanoyak has joined #ruby
pigram86_ has joined #ruby
Hobogrammer has joined #ruby
pigram86 has quit [Ping timeout: 250 seconds]
bMalum has quit [Quit: bMalum]
seamon has quit [Quit: Zzzzzzz]
kies has quit [Ping timeout: 240 seconds]
Takle_ has quit [Remote host closed the connection]
JohnFord has joined #ruby
cy has joined #ruby
ari-_-e has quit [Ping timeout: 255 seconds]
m8 has joined #ruby
epistrephein has joined #ruby
bjornar has quit [Remote host closed the connection]
shackleford has joined #ruby
krisquigley has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
seamon has joined #ruby
<wallerdev> good morning rubyists
carraroj has quit [Ping timeout: 255 seconds]
dkamioka_ has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
LiohAu has quit [Quit: LiohAu]
echevemaster has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 245 seconds]
<benzrf> dan
<benzrf> g
<benzrf> why is ruby so slow @ delimited continuations
<benzrf> cant it just implement them like closures
Jamo__ is now known as Jamo
shackleford has quit [Ping timeout: 272 seconds]
<TheTopBloke> Question on updating. I'd like to install 2.1.2 because I want to use Rails. There are a couple of options. Anyone have any preference?
Dude007 has quit [Remote host closed the connection]
<benzrf> i use chruby usuly
<TheTopBloke> ok. thanks.
Blizzy has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
mikeric has joined #ruby
hamakn has joined #ruby
<havenwood> TheTopBloke: In development I'd install 2.1.2 with ruby-install and also use chruby to switch Rubies.
<havenwood> TheTopBloke: If you don't need to switch Rubies you could just install 2.1.2 to /usr/local/ and just have one Ruby.
<TheTopBloke> That's right. I do not have any need for two. Just the latest version
<TheTopBloke> just perform make then?
<havenwood> TheTopBloke: ruby-install -i /usr/local/ ruby
elouisyoung has quit [Quit: leaving]
<wallerdev> depends on your system
balance has quit [Ping timeout: 264 seconds]
blueOxigen has joined #ruby
<havenwood> TheTopBloke: ^ that'd install 2.1.2 in /usr/local/ where it'd hopefully be already in your PATH
<wallerdev> like if you have an apt ruby then other binaries might depend on that old version of ruby or something
<havenwood> TheTopBloke: what distro?
<wallerdev> not good to overwrite the system ruby
bluOxigen has quit [Remote host closed the connection]
<TheTopBloke> ruby-lang.org
<TheTopBloke> there's more? lol
<havenwood> TheTopBloke: what OS/distro are you on?
niklasb has joined #ruby
MrL0ngbowman has joined #ruby
<jhass> ^ is what was meant but yeah, there are more ruby implementations
<TheTopBloke> Ah OS, Mac OSX 10.9.4
jcoglan has joined #ruby
startupality has quit [Quit: startupality]
<wallerdev> yeah dont overwrite system ruby on mac pls
hamakn has quit [Ping timeout: 250 seconds]
<TheTopBloke> Thats why I was hoping there might be an update to run.
<havenwood> wallerdev: instaling to /usr/local isn't overwriting system ruby. i don't follow what you mean.
jheg has joined #ruby
<TheTopBloke> If I want to run Rails locally for production
<jhass> update to a linux that ships 2.1.2? :P
<havenwood> TheTopBloke: Can you update to OS X Mavericks?
epistrephein has quit [Quit: Linkinus - http://linkinus.com]
<TheTopBloke> This is MAvericks
<wallerdev> havenwood: i just meant from "That's right. I do not have any need for two. Just the latest version"
lkba has joined #ruby
<havenwood> ah, right - yeah i'm not suggesting removing system ruby :P
<TheTopBloke> Or at least thats what I updated my OS to
<havenwood> just building to /usr/local
<wallerdev> yeah listen to havenwood
<havenwood> TheTopBloke: oh, i misread the version, ha
<wallerdev> mavericks has 2.0.0p451 i think
<wallerdev> thats what i have at least
<havenwood> TheTopBloke: then you already have two system rubies :P
<havenwood> wallerdev: it's actually both 2.0 and 1.8, they just symlink Current to 2.0 by default
<wallerdev> ah
<wallerdev> interesting
freerobby has quit [Quit: Leaving.]
<havenwood> wallerdev: 1.8 is dropped entirely in Yosemite.
<wallerdev> rip
jottr has joined #ruby
<TheTopBloke> ok, I'm new to ruby, so where would I normally find the system Ruby, and I assume it's differnt then a local test Ruby for development because of OS reasons?
bradleyprice has joined #ruby
<wallerdev> i grew up on 1.8
<havenwood> wallerdev: hence projects like brew that hard link to 1.8 have to update :O
<wallerdev> i dont like homebrew much
<wallerdev> or macports
startupality has joined #ruby
<TheTopBloke> So you want me to leave the 2.0.0 version alone, and install a second version, the 2.1.2 version correct?
<wallerdev> always end up just building stuff myself haha
nectarys has joined #ruby
<wallerdev> they dont seem too well put together
havenwood has quit [Remote host closed the connection]
freerobby has joined #ruby
havenwood has joined #ruby
vyorkin has joined #ruby
<wallerdev> plus i feel like a hacker when i run make and see the compile statements flying by
pietr0 has joined #ruby
bMalum has joined #ruby
havenwood has quit [Remote host closed the connection]
jprovazn has joined #ruby
micahf has quit [Ping timeout: 240 seconds]
Wolland has joined #ruby
<TheTopBloke> By default, this will install Ruby into /usr/local. To change, pass the --prefix=DIR option to the ./configure script.
havenwood has joined #ruby
hellangel7 has quit [Quit: Leaving]
<havenwood> TheTopBloke: You have a variety of options, but I like using 2.1.2.
<TheTopBloke> I just want to use whatever Rails is recommending. So I'm building it now.
maroloccio has joined #ruby
<TheTopBloke> So basically I will have two version of Ruby on my Mac. One for the OS and one for developemnt, yes?
FDj_ is now known as FDj
<TheTopBloke> What was that you used for changing between version? chsomething?
alvaro_o has joined #ruby
bMalum has quit [Client Quit]
<TheTopBloke> chruby
<havenwood> TheTopBloke: You'll probably end up wanting to switch Rubies. New versions come out and there're strong alternative implementations like JRuby and Rubinius.
bthesorceror has joined #ruby
<havenwood> TheTopBloke: chruby
<havenwood> TheTopBloke: ruby-install without sudo will by default install to ~/.rubies/ where chruby will automatically detect it
<wallerdev> yeah everyone in the ruby community likes to use the latest version of everything
<wallerdev> kinda the opposite of the python community
<TheTopBloke> I know. This is the frustrating thing about this line of work. If i had to install every latest version and every latest distro of every latest thing, I'd never get anything done.
lidaaa has joined #ruby
anaeem1_ has joined #ruby
<TheTopBloke> Which is pretty much what happens.
<havenwood> TheTopBloke: Or building 2.1.2 yourself isn't hard. Here're instruction for chruby: https://github.com/postmodern/chruby/wiki/Ruby#install-212
<havenwood> hardest part is pointing ./configure at your brew libs :P
DrCode has quit [Remote host closed the connection]
<TheTopBloke> thanks. Just made it. Now installing it. Then Im goign to check out that link and chruby the thing
<havenwood> TheTopBloke: oh, and install the brew deps also listed on that link (ruby-install does this for you)
<TheTopBloke> Yeah I got a few warnings in the make. Maybe it wasa bad ./configure
anaeem1_ has quit [Remote host closed the connection]
ari-_-e has joined #ruby
<havenwood> TheTopBloke: brew install gdbm libffi libyaml openssl readline
nanoyak has quit [Read error: Connection reset by peer]
<havenwood> TheTopBloke: And use the second chruby example, the one for OS X. Those brew links are pesky. Or just use ruby-install and let it do this. :P
nanoyak has joined #ruby
Guest77051 has quit []
DrCode has joined #ruby
gauke has joined #ruby
dziga has joined #ruby
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
root3d has quit [Ping timeout: 255 seconds]
<TheTopBloke> Mmmm sysadmin
jcoglan has quit [Quit: jcoglan]
<TheTopBloke> ok installing brew now.
goleldar has joined #ruby
startupality has quit [Quit: startupality]
ari-_-e has quit [Ping timeout: 250 seconds]
jcoglan has joined #ruby
Eiam has joined #ruby
shackleford has joined #ruby
tobago has quit [Remote host closed the connection]
<havenwood> TheTopBloke: Once you do, you can just: brew install chruby ruby-install; ruby-install ruby # then follow chruby instructions to setup your dotfiles and reload your terminal
bthesorceror has quit [Quit: bthesorceror]
aspires has quit []
<TheTopBloke> Yeah, that is sweet.
seamon has quit [Quit: Zzzzzzz]
<havenwood> TheTopBloke: ruby-install will handle the brew deps for the various Rubies you may want ;)
<TheTopBloke> It looks like osx puts stuff in /usr/bin, rather than /usr/local/bin
<TheTopBloke> So basically, if you dont have brew, your making it harder than it is
shackleford has quit [Read error: Connection reset by peer]
shackleford has joined #ruby
failshell has quit []
seamon has joined #ruby
kidoz has quit [Quit: Ухожу я от вас]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Ankhers has joined #ruby
bklane has joined #ruby
timonv_ has joined #ruby
<havenwood> TheTopBloke: Most OS X devs use Homebrew or MacPorts, which are both supported by ruby-install.
philcris_ has joined #ruby
yetanotherdave has joined #ruby
<havenwood> TheTopBloke: Homebrew is the most popular. Fink is another but I don't think it has much following.
kaspertidemann has joined #ruby
yetanotherdave has quit [Client Quit]
magoo has joined #ruby
MCDev has joined #ruby
bthesorceror has joined #ruby
<TheTopBloke> I've heard of brew, but I dont have any experience developing on the mac or ruby or rails. So this is all new to me. If I had zero linux experience Id be completely lost. But this is very helpful and makes perfect sense. Thank you very much for all the help.
yetanotherdave has joined #ruby
<havenwood> no prob, yeah i'd suggest just using brew (Homebrew)
sambao21 has quit [Quit: Computer has gone to sleep.]
timonv_ has quit [Remote host closed the connection]
aspires has joined #ruby
failshell has joined #ruby
haggen has joined #ruby
<havenwood> TheTopBloke: Homebrew is written in Ruby, so there's that too.
jkline has quit [Quit: jkline]
maestrojed has quit [Quit: Computer has gone to sleep.]
dkamioka has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
dkamioka has joined #ruby
charliesome has joined #ruby
aaronrl has quit [Quit: Leaving]
philcris_ has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
<TheTopBloke> ok, so I've got Homebrew and Ruby installed. But I think I lost the link to cruby.
jottr has quit [Ping timeout: 240 seconds]
charliesome_ has joined #ruby
lmello has joined #ruby
<TheTopBloke> lol NICE :)
vyorkin has quit [Ping timeout: 240 seconds]
<diegoviola> chruby is great imho
<diegoviola> so is ruby-install
claymore has quit [Ping timeout: 250 seconds]
startupality has joined #ruby
<havenwood> :)
mary5030_ has quit [Remote host closed the connection]
_sillymarkets has quit [Ping timeout: 246 seconds]
dkamioka has quit [Ping timeout: 260 seconds]
charliesome has quit [Read error: Connection reset by peer]
jottr has joined #ruby
adamnbowen has joined #ruby
jkline has joined #ruby
claymore has joined #ruby
roolo has joined #ruby
qmfnp has joined #ruby
alexju has quit [Remote host closed the connection]
Insti has joined #ruby
FarlaTux has quit [Quit: Leaving]
RandyT has quit [Ping timeout: 255 seconds]
jprovazn has quit [Quit: Odcházím]
atmosx has joined #ruby
adamski2600 has joined #ruby
RandyT has joined #ruby
jonathan_alban has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bthesorceror has quit [Quit: bthesorceror]
mary5030 has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
<wasamasa> hmm
<wasamasa> how would one make a set that doesn't accept nil as value added to it
mary5030_ has joined #ruby
<wasamasa> or would you just remove the nil when you get to process it?
bMalum has joined #ruby
<waxjar> put nil in the set, take it out later? :p
mary5030_ has quit [Remote host closed the connection]
jonr22 has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
<wasamasa> it just feels wrong to do something like `set.delete(nil).each`
mary5030 has joined #ruby
jonr22 has quit [Client Quit]
jkline has quit [Quit: jkline]
<haggen> on the subject; i've been using rbenv+ruby-install for years now and i love it
L8D has joined #ruby
gauke has quit [Quit: gauke]
nomadic has quit [Ping timeout: 264 seconds]
balazs has joined #ruby
Spami has joined #ruby
jkline has joined #ruby
moritzschaefer has quit [Ping timeout: 255 seconds]
ari-_-e has joined #ruby
startupality has quit [Quit: startupality]
tiguser has quit [Remote host closed the connection]
nomadic has joined #ruby
linojon has quit [Quit: linojon]
momomomomo has joined #ruby
timonv_ has joined #ruby
ahmads has quit [Quit: Bye]
patrick99e99 has joined #ruby
<balazs> pulling my hair out with the oauth2 gem. does anyone know how to log the requests it is doing ?
benzrf is now known as benzrf|offline
thomasxie has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.0]
moted has quit []
Sauvin has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 260 seconds]
frankle has quit [Quit: Connection closed for inactivity]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
x1337807x has joined #ruby
bricker`work has quit [Ping timeout: 250 seconds]
saladspork has quit [Quit: saladspork]
obscured has joined #ruby
<atmosx> Hello
spyderma_ has quit [Remote host closed the connection]
bearish has quit [Remote host closed the connection]
chrishough has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
spyderman4g63 has joined #ruby
hsps_ has quit [Ping timeout: 250 seconds]
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
saladspork has joined #ruby
manolo_ has joined #ruby
jhc76 has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
bMalum has quit [Quit: bMalum]
jkline has quit [Quit: jkline]
momomomomo has quit [Ping timeout: 250 seconds]
marr has quit []
<dorei> balazs: personally, i'd look for an oauth2 gem that uses faraday
<balazs> dorei: it does use faraday
sambao21 has joined #ruby
tiguser has joined #ruby
bMalum has joined #ruby
momomomomo has joined #ruby
<dorei> balazs: well, u can insert code in the farady stack to log or do whatever you wish
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkline has joined #ruby
gauke has joined #ruby
chrishough has joined #ruby
St_Marx has joined #ruby
shackleford has quit [Remote host closed the connection]
<dorei> balazs: take a look at faraday's documentation on how to write your own middleware (pretty easy) and then insert it at the faraday rack
<balazs> dorei: thanks
<dorei> np
Blizzy has joined #ruby
advorak has joined #ruby
eka has quit [Remote host closed the connection]
gauke has quit [Client Quit]
haggen has quit [Ping timeout: 250 seconds]
thomasxie has left #ruby [#ruby]
skolman__ has quit [Remote host closed the connection]
<hooper> question: what's the best way to sort objects by instance variables(in this case, strings)?
Magnus has joined #ruby
freerobby1 has joined #ruby
bthesorceror has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
feniix has joined #ruby
<jhass> hooper: define a reader and do sort_by(&:attribute)
hsps_ has joined #ruby
shackleford has joined #ruby
<hooper> ahh, i like that
<hooper> jhass: ty much
failshell has quit []
insy67 has joined #ruby
jonr22 has joined #ruby
<feniix> is there a way to do `which ls` from ruby without doing exec('which ls') or system('which ls')
sambao21 has quit [Quit: Computer has gone to sleep.]
skolman has joined #ruby
<feniix> I mean like an elegant or rubyists way of doing that
<dorei> feniix: you could try searching $PATH
skolman has quit [Read error: Connection reset by peer]
<dorei> but i dont think it's more elegant or smt
skolman has joined #ruby
spider-mario has quit [Ping timeout: 260 seconds]
robustus has quit [Ping timeout: 250 seconds]
jonr22 has quit [Client Quit]
jonr22 has joined #ruby
Aranshada|W has quit [Quit: Aranshada|W]
fabrice31 has joined #ruby
jonr22 has quit [Client Quit]
skolman has quit [Remote host closed the connection]
seamon has quit [Quit: Zzzzzzz]
jxf has joined #ruby
<balazs> hmm, no auth header sent. Looks like a long outstanding bug: https://github.com/intridea/oauth2/issues/112
robustus has joined #ruby
tiguser has quit [Quit: ZNC - http://znc.in]
Bjork is now known as Snowstormer
jheg has quit [Quit: jheg]
wallerdev has quit [Quit: wallerdev]
Nahra has quit [Ping timeout: 272 seconds]
claymore has quit [Quit: Leaving]
ahmads has joined #ruby
saarinen has joined #ruby
Boohbah has quit [Ping timeout: 264 seconds]
<hooper> jhass: how do I access the reader? typically I shove my objects into a list and iterate. can I get away from iteraters? I tried to call the reader with Class.sort_method but no dice.
Boohbah has joined #ruby
<hooper> i mean, i can't really do a sort of objects if i'm stepping through them, one at a time
Magnus has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
<jhass> uh, what
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
apeiros has joined #ruby
<hooper> so I usually do a object_list << Class.new(x, y, z).. then i object_list.each do |i| i.method end
<jhass> >> Foo = Struct.new(:bar); %w[d a 1 f a].map {|c| Foo.new(c) }.sort_by(&:bar)
<eval-in> jhass => [#<struct Foo bar="1">, #<struct Foo bar="a">, #<struct Foo bar="a">, #<struct Foo bar="d">, #<struct Foo bar="f">] (https://eval.in/183079)
stef1a has joined #ruby
pigram86 has joined #ruby
<stef1a> i'm trying to change the keys of a hash, as the keys correspond to the order the values are presented to the user. when i try to do this by making a copy of the original hash and just copying values from the old hash to the new positions in the current hash, i overwrite one of the values in the process. here's the relevant code: https://gist.github.com/smlance/af9bf544611d1be8e5ab. in this case, i want 4 -> 5 and 5 -> 4, but i instead get 4 -> 4 and 5 -> 4, so
Soda has joined #ruby
geekbri has joined #ruby
tiguser has joined #ruby
<jhass> stef1a: a = b doesn't copy, it's simply a new reference to the same object
<jhass> so in your code survey and survey_copy are the exact same object
<stef1a> jhass: oh. that would explain it.
dkamioka has joined #ruby
<jhass> no idea why you do with_index
tlarevo has quit [Ping timeout: 240 seconds]
pigram86_ has quit [Ping timeout: 245 seconds]
Ilyas_ has joined #ruby
<stef1a> jhass: that was for debugging... i didn't mean to include that in the gist
<feniix> jhass: thanks I did "how to I do `which command` the ruby way" and I didnt want to spend too much time as is just a puppet fact and it is not the end of the world
<jhass> stef1a: to copy do .dup
<stef1a> jhass: what about .clone?
<feniix> jhass: but I really liked that info, thanks a lot
<jhass> stef1a: no difference in this example
atmosx has quit [Ping timeout: 250 seconds]
Ilyas has quit [Ping timeout: 240 seconds]
dkamioka_ has joined #ruby
<stef1a> jhass: thanks for the help :-)
lmello has quit [Ping timeout: 240 seconds]
shackleford has quit [Remote host closed the connection]
Neo-- has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
atmosx has joined #ruby
sambao21 has quit [Client Quit]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
dkamioka has quit [Ping timeout: 260 seconds]
dkamioka has joined #ruby
Nahra has joined #ruby
nectarys has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
wald0_ has joined #ruby
sambao21 has joined #ruby
klmlfl has quit [Quit: klmlfl]
<wald0_> does the "require" search for current-dir where the script is run ? for example im in directory1, but my script is in directory2, how i can tell require to search in a directory in directory2?
dkamioka_ has quit [Ping timeout: 255 seconds]
lmello has joined #ruby
klmlfl has joined #ruby
go|dfish has quit [Ping timeout: 250 seconds]
<mozzarella> wald0_: use require_relative, and use '../' to go down the tree
dkamioka has quit [Ping timeout: 255 seconds]
ndrei has joined #ruby
<wald0_> perfect, thx :)
jheg has joined #ruby
aspires has quit []
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
go|dfish has joined #ruby
x1337807x has joined #ruby
shackleford has joined #ruby
mikepack has quit [Remote host closed the connection]
hsps_ has quit [Ping timeout: 260 seconds]
bricker`work has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
dumdedum has quit [Quit: foo]
gccostabr has quit [Ping timeout: 240 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theo_ has joined #ruby
dkamioka has joined #ruby
feniix has quit [Quit: leaving]
chrishough has joined #ruby
<apeiros> wald0_, mozzarella: note that require_relative is NOT relative to the working directory. it is relative to the file from where it is called.
wallerdev has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
phutchin2 has quit [Ping timeout: 272 seconds]
ibotexo has quit [Quit: Page closed]
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skolman has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
koderok has left #ruby [#ruby]
gccostabr has joined #ruby
Aranshada|W has joined #ruby
<mozzarella> that's what people usually expect, though there are methods that are relative to the working directory (yaml load_file for example, not sure about Kernel#load)
mikepack has joined #ruby
yubrew has quit []
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has quit [Remote host closed the connection]
x1337807x has joined #ruby
senayar has joined #ruby
<apeiros> all file operations are relative to working directory
<apeiros> code loading however does not fall into that category. even if it deals with files.
aspires has joined #ruby
frankle has joined #ruby
<apeiros> require is relative to the paths in $LOAD_PATH. relying on working directory is usually foolish there.
<apeiros> (or even an outright security issue)
wombo has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
britneywright has joined #ruby
rubydimond is now known as zz_rubydimond
senayar has quit [Ping timeout: 260 seconds]
<eam> only a security issue if there's a privilege difference between the program and the invoker
spyderma_ has joined #ruby
bearish has joined #ruby
mikesplain has joined #ruby
<eam> perhaps I shouldn't say only, but that's generally the concern
redondo has quit [Ping timeout: 245 seconds]
spyderman4g63 has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
autojack has joined #ruby
<jheg> o/
Ankhers has quit [Remote host closed the connection]
bearish has quit [Ping timeout: 264 seconds]
qhartman has joined #ruby
Cheezebox has quit [Remote host closed the connection]
redondo has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
<autojack> found something odd in some ruby code someone else here wrote: http://pastebin.com/iYLJ1473
<autojack> do ... end rescue nil?
<autojack> wtf does that 'end rescue nil' do, if anything?
ssvo has joined #ruby
<eam> autojack: it rescues an exception and returns nil
<eam> >> raise "oops" rescue nil
dkamioka has quit [Remote host closed the connection]
<eval-in> eam => nil (https://eval.in/183089)
<autojack> so it's ok to use rescue after an end, with no begin?
ghostmoth has joined #ruby
<autojack> never seen that style before.
<waxjar> it's an inline rescue, do ... end is sort of treated as a single line
<autojack> okay
<apeiros> do … end is a single expression
<eam> >> loop { raise } rescue 7
<eval-in> eam => 7 (https://eval.in/183090)
<dorei> >> 1/0 rescue nil
<apeiros> and you can append `rescue <return value>` to any expression
<eval-in> dorei => nil (https://eval.in/183091)
<apeiros> just like you can append if/unless <condition>
<waxjar> but you shouldn't, in general
<apeiros> and yes, inline rescue is bad, m'kay? don't use it.
freerobby1 has quit [Quit: Leaving.]
wallerdev has quit [Quit: wallerdev]
Cheezebox has joined #ruby
carraroj has joined #ruby
<apeiros> (it's bad because it's unspecific - it'll rescue *anything* StandardError or below)
MrL0ngbowman has quit [Quit: Leaving]
<eam> eh it's fine in a good number of cases
alexju has joined #ruby
<apeiros> I disagree.
<bklane> Can anyone help with using the Google Gmail API? http://stackoverflow.com/questions/25493213/creating-draft-via-google-gmail-api
<banister> >> loop { raise StopIteration }
<eval-in> banister => nil (https://eval.in/183092)
<banister> >> raise "hi"
<eval-in> banister => hi (RuntimeError) ... (https://eval.in/183093)
sparrovv has joined #ruby
ryanleesipes has quit [Ping timeout: 240 seconds]
<eam> concrete example: fd.close rescue nil; File.unlink(path) rescue nil
<apeiros> yeah, point in case why it's bad.
IceDragon has quit [Ping timeout: 240 seconds]
<eam> loooooots of cases where you really, really do not care about (or expect) the call to fail
<apeiros> do you know what kind of bugs you're hiding with that?
<eam> yes
usinganalias has joined #ruby
lmello has quit [Quit: Leaving.]
mikesplain has quit [Ping timeout: 255 seconds]
IceDragon has joined #ruby
<apeiros> eam: example: path isn't really a path. you'll never know.
<eam> yeah that's what I mean
<eam> unlink without stat is a common pattern
<apeiros> no, it's not what you mean
<usinganalias> Hello all! I wanted to make a little one-page online gadget to allow users to complete Ruby challenges online, irb-style. What can I use for a ruby sandbox?
<eam> oh, you mean path isn't a string?
<apeiros> File.unlink([:foo]) # <-- pretty sure you didn't want to call it with that arg
shackleford has quit [Remote host closed the connection]
<eam> apeiros: perhaps, but the boilerplate isn't worthwhile in most cases
<apeiros> eam: I assume you didn't have to debug others code…
<eam> that's generally all I do, actually
* autojack reads along.
<apeiros> eam: anyway, it'd be nice if a) inline rescue accepted exception types and b) operations like File.unlink would have generic top level types to rescue
<autojack> I see what we're getting at.
carraroj has quit [Client Quit]
Neo-- has joined #ruby
usinganalias has quit [Client Quit]
<apeiros> which would allow to get away without boilerplate and still get proper exceptions when somebody fucked up
MrL0ngbowman has joined #ruby
<eam> apeiros: I see your point and I'd be happy to be selective if there were reliable rhyme and reason behind the types of common libc functions
<eam> but when I weigh the balance I find doing more than "rescue true" lacking
<apeiros> eam: I think we have a kind of agreement and just disagree on severity/impact :)
<eam> yeah
Spami has quit [Quit: This computer has gone to sleep]
JoshGlzBrk has joined #ruby
<apeiros> I generally find the exception system in ruby lacking :-/
testcore has quit [Ping timeout: 264 seconds]
<eam> certainly part of the issue is that if I really want that level of safety I won't be using ruby to begin with ;-)
<autojack> seems like in my example code, it will return nil if there is no result for the lookup, but also if you pass in garbage to the method.
<autojack> one case good, one case bad.
<eam> autojack: yeah it's probably an example of how not to use it
havenwood has quit []
philcrissman has joined #ruby
lw has joined #ruby
<autojack> should just find out what exception is returned for a failed lookup and rescue that.
jxf has quit [Ping timeout: 255 seconds]
<eam> when I do use it, it's always on very limited and specific core methods
oso96_2000 is now known as oso|away
CaptainJet has joined #ruby
<eam> (where in C I would ignore every return value, for example)
magoo has quit [Quit: WeeChat 0.4.3]
altern has joined #ruby
oso|away is now known as oso96_2000
<apeiros> eam: out of curiosity - what would you use when you wanted that level of safety?
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
altern has quit [Client Quit]
ghostmoth has quit [Quit: ghostmoth]
georgesmith has quit [Quit: georgesmith]
jxf has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
<eam> ocaml is kinda sweet
nanoyak has joined #ruby
<eam> have done a few projects in it
dazeddev_ is now known as dazeddev
<eam> nothing recently
<apeiros> hm, mauricio wrote a bit about it iirc
<apeiros> blargh, internet here sucks around this time :-S
bradleyp_ has joined #ruby
<eam> modern C compilers even have a decent type system
ghostmoth has joined #ruby
bluOxigen has joined #ruby
ssarah has quit [Quit: Reasons.]
blueOxigen has quit [Ping timeout: 245 seconds]
bradleyprice has quit [Ping timeout: 255 seconds]
altern has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
echevemaster has joined #ruby
St_Marx has joined #ruby
yetanotherdave has quit [Ping timeout: 245 seconds]
xfz_ is now known as xfz
<apeiros> hm, either I misremember and his domain wasn't eigenclass.org or he's given it up :(
pietr0 has quit [Quit: pietr0]
georgesmith has joined #ruby
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<autojack> thanks for the insight :)
autojack has left #ruby [#ruby]
Takle has joined #ruby
<eam> anything statically typed is pretty amazing. Go is super hip right now but I'm not exactly a fan
yfeldblum has quit [Remote host closed the connection]
adamski2600 has quit [Remote host closed the connection]
adamski2600 has joined #ruby
cocotton has quit [Remote host closed the connection]
yalue has quit [Quit: Leaving]
wald0_ has quit [Quit: Lost terminal]
yfeldblum has joined #ruby
seamon has joined #ruby
aspires has quit []
altern has quit [Quit: This computer has gone to sleep]
vt102 has quit [Remote host closed the connection]
<bklane> Anyone use the gmail api to create drafts, having a problem here: http://stackoverflow.com/questions/25493213/creating-draft-via-google-gmail-api
moted has joined #ruby
andrewjanssen has joined #ruby
insy67 has quit []
testcore has joined #ruby
manolo_ has quit [Ping timeout: 246 seconds]
omosoj has joined #ruby
adamski2600 has quit [Ping timeout: 260 seconds]
Ilyas_ has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
wallerdev has joined #ruby
djbkd has quit [Remote host closed the connection]
art-solopov has quit [Quit: Bye!]
ryanleesipes has joined #ruby
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
dbck has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrL0ngbowman has quit [Quit: Leaving]
lw has quit [Quit: s]
Nogbit has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
nszceta has quit []
wombo has quit [Ping timeout: 240 seconds]
geggam has quit [Remote host closed the connection]
St_Marx has joined #ruby
ht__th has quit [Remote host closed the connection]
geggam has joined #ruby
chipotle has joined #ruby
geekbri has quit []
Photism has quit [Quit: Leaving]
shackleford has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikesplain has joined #ruby
jcoglan has quit [Quit: jcoglan]
Asher has quit [Quit: Leaving.]
caveat- has quit [Ping timeout: 260 seconds]
terrell_t has joined #ruby
caveat- has joined #ruby
djbkd has joined #ruby
terrellt has quit [Ping timeout: 245 seconds]
rimenes has joined #ruby
qrest has joined #ruby
cndiv has quit [Ping timeout: 264 seconds]
decoponio has quit [Quit: Leaving...]
nanoyak has quit [Quit: Computer has gone to sleep.]
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
anaeem1 has joined #ruby
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
Ayey_ has quit [Quit: Ayey_]
shackleford has quit [Remote host closed the connection]
seamon has quit [Ping timeout: 240 seconds]
jcoglan has joined #ruby
seamon has joined #ruby
mikeric has quit []
caveat- has quit [Ping timeout: 272 seconds]
St_Marx has quit [Ping timeout: 264 seconds]
toastynerd has quit [Remote host closed the connection]
michaeldeol has joined #ruby
adamski2600 has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
mrsolo has joined #ruby
jkline has quit [Quit: jkline]
shackleford has joined #ruby
bearish has joined #ruby
apeiros has quit [Remote host closed the connection]
nanoyak has joined #ruby
momomomomo_ has joined #ruby
apeiros has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
ari-_-e has quit [Ping timeout: 245 seconds]
bearish has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
slawrence00 has joined #ruby
ari-_-e has joined #ruby
TieSoul has quit [Ping timeout: 255 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deric_skibotn has quit [Ping timeout: 246 seconds]
shackleford has quit [Remote host closed the connection]
phutchin1 has joined #ruby
obscured has quit [Quit: leaving]
georgesmith has quit [Quit: georgesmith]
bklane has quit [Remote host closed the connection]
jottr has joined #ruby
seamon has quit [Quit: Bye]
bklane has joined #ruby
nobitanobi has quit []
<advorak> x = [1,2,3].to_enum # how can I get the current position of x ?
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sambao21 has quit [Quit: Computer has gone to sleep.]
terrell_t has quit [Remote host closed the connection]
terrellt has joined #ruby
JohnBat26 has quit [Ping timeout: 245 seconds]
maestrojed has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
<jhass> don't think you can
caveat- has joined #ruby
<jhass> advorak: what's your actual problem?
St_Marx has joined #ruby
seamon has joined #ruby
jkline has joined #ruby
seamon has quit [Client Quit]
freerobby has joined #ruby
bklane has quit [Ping timeout: 240 seconds]
olivier_bK has joined #ruby
sambao21 has joined #ruby
vyorkin has joined #ruby
optimator_ has quit [Remote host closed the connection]
startupality has joined #ruby
bollullera has joined #ruby
lmello has joined #ruby
TieSoul has joined #ruby
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 240 seconds]
<eam> well, you can count how many #next until StopIteration ...
bollullera has left #ruby [#ruby]
<jhass> thing is, I'm pretty sure you don't need it to solve his actual problem
ssvo has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
jkline has quit [Client Quit]
danijoo has joined #ruby
Dreamer3 has joined #ruby
mikeric has joined #ruby
Guest87552 has quit [Quit: Lingo - http://www.lingoirc.com]
davispuh has joined #ruby
threesixes has joined #ruby
Zenigor has quit [Remote host closed the connection]
yetanotherdave has joined #ruby
krisquigley has quit [Remote host closed the connection]
Spami has joined #ruby
dbasch has joined #ruby
paulfm_ has quit []
dbasch has quit [Client Quit]
shackleford has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
mikesplain has quit [Ping timeout: 246 seconds]
andrewjanssen has joined #ruby
max06 has joined #ruby
bklane has joined #ruby
pigram86 has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
Jackneill has quit [Ping timeout: 255 seconds]
pigram86 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
vyorkin has quit [Quit: WeeChat 0.4.3]
bmurt has quit []
yetanotherdave has quit [Ping timeout: 260 seconds]
<advorak> jhass, I'm certain you're correct. I was just curious if such a method existed ..
mikepack has quit [Remote host closed the connection]
<advorak> jhass, I was just looking for such an option for my own purposes to know where I was at in the enum while I am coding a solution ..
mikepack has joined #ruby
yetanotherdave has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
zorak is now known as zorak8
zorak8 has quit [Quit: Saliendo]
djbkd has joined #ruby
zorak8 has joined #ruby
<jhass> Needing to manually drive an Enumerator is very rare, I yet have to encounter a situation where it's the only way personally
akkad has quit [Remote host closed the connection]
cndiv has joined #ruby
manolo_ has joined #ruby
pigram86 has quit [Ping timeout: 250 seconds]
<advorak> x.to_a.index(x.peek) is what I came up with, but I will obviously heed your advice, jhass :-)
dangerousdave has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
aspires has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
yfeldblum has joined #ruby
caveat- has quit [Read error: Connection reset by peer]
<jhass> are you going to describe your actual problem?
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
fuzzyhorns has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yetanotherdave has quit [Ping timeout: 250 seconds]
caveat- has joined #ruby
<fuzzyhorns> hello yall
yfeldblum has joined #ruby
osvico has joined #ruby
<fuzzyhorns> any thoughts on why line 33 always returns false? http://goo.gl/sE3Cnv
shackleford has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
<jhass> line 33 is a comment
Riking has quit [Quit: ZNC - http://znc.sourceforge.net]
<fuzzyhorns> haha yes, thank you, smart ass ;)
akkad has joined #ruby
deric_skibotn has joined #ruby
x1337807x has joined #ruby
<jhass> so I have to guess? you mean line 34?
slawrence00 has quit [Ping timeout: 255 seconds]
theo_ has quit []
<fuzzyhorns> jhass: indeed
<jhass> it doesn't always return false
<jhass> >> Time.methods
<eval-in> jhass => [:now, :at, :utc, :gm, :local, :mktime, :allocate, :new, :superclass, :freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :p ... (https://eval.in/183098)
<jhass> for these it'll return true
Riking has joined #ruby
<jhass> you probably wanted Time.instance_methods.include?(method)
<fuzzyhorns> indeed, forgive me for not being more precise
<fuzzyhorns> it always returns false on including format_to_my_datetime
<jhass> also make sure to call super in the else branch
shackleford has joined #ruby
<fuzzyhorns> even if I have using TimeFormatter on line 31, Time still doesnt respond to its refined method
pu22l3r has joined #ruby
<jhass> you refine it to add a instance method
<jhass> Time.respond_to? checks for class method
<jhass> btw. require 'rubygems' is implicitly done since Ruby 1.9
spyderma_ has quit [Remote host closed the connection]
<fuzzyhorns> jhass: still no dice
pietr0 has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
wombo has joined #ruby
emmesswhy has joined #ruby
djbkd has joined #ruby
axsuul has quit [Ping timeout: 255 seconds]
shackleford has quit [Remote host closed the connection]
caveat- has quit [Ping timeout: 250 seconds]
adamski2600 has quit []
shackleford has joined #ruby
phutchin1 has quit [Ping timeout: 255 seconds]
<fuzzyhorns> jhass: i wish there was a method like "is_refined?"
maroloccio has quit [Quit: WeeChat 0.4.3]
yfeldblum has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
wombo_ has joined #ruby
yfeldblum has joined #ruby
pigram86 has joined #ruby
DrShoggoth has quit [Quit: Leaving]
djbkd has quit [Remote host closed the connection]
<fuzzyhorns> jhass: interestingly, even where it works (where my refinement is defined) respond_to isnt returning true
Cort3z has joined #ruby
senayar has joined #ruby
yfeldblu_ has joined #ruby
wombo has quit [Ping timeout: 250 seconds]
wombo_ is now known as wombo
djbkd has joined #ruby
senayar has quit [Read error: Connection reset by peer]
beneggett has joined #ruby
senayar has joined #ruby
<fuzzyhorns> oh curious, now that you cant be superior, you dont have much to say :P
linojon has joined #ruby
mmus has joined #ruby
benlieb has joined #ruby
Neomex has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 240 seconds]
<fuzzyhorns> jhass: http://goo.gl/i6xkxO looks like this is why
kaspertidemann has quit []
yetanotherdave has joined #ruby
mbwe has quit [Quit: WeeChat 0.4.2]
Morkel has quit [Quit: Morkel]
saarinen has joined #ruby
L8D has left #ruby [#ruby]
<jhass> sounds like that will be changed in future: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec (last heading)
<jhass> for now you have to catch the NoMethodError I fear
<jhass> (or just let it bubble up)
<fuzzyhorns> yeah :c
DEA7TH has quit [Remote host closed the connection]
jottr has joined #ruby
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
startupality has quit [Quit: startupality]
qhartman has quit [Quit: Ex-Chat]
startupality has joined #ruby
<advorak> jhass, it was just a general curiosity I had .. I when I was working with the enum, I wanted to know how many more iterations existed before I got to the end after repeatedly doing x.next manually ..
georgesmith has joined #ruby
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caveat- has joined #ruby
georgesmith has quit [Client Quit]
tables has joined #ruby
<tables> what package is rvm from?
<tables> i'm trying to get rvm on debian linux
freerobby has quit [Quit: Leaving.]
<tables> or ubuntu
moritzschaefer has joined #ruby
startupality has quit [Client Quit]
dblessing has quit [Quit: dblessing]
shevy has quit [Ping timeout: 246 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
centrx has joined #ruby
phutchin1 has joined #ruby
codecop has quit [Remote host closed the connection]
fuzzyhorns has left #ruby [#ruby]
<miah> its not from a package; its from a website
gccostabr has quit [Quit: ZZZzzz…]
jottr has quit [Ping timeout: 260 seconds]
gsd has joined #ruby
momomomomo_ has joined #ruby
livingstn has quit []
kaspergrubbe_ has joined #ruby
georgesmith has joined #ruby
bearish has joined #ruby
<advorak> tables, There are instructions for installing at http://rvm.io/
asteve_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caveat- has quit [Ping timeout: 240 seconds]
charliesome_ has quit [Ping timeout: 245 seconds]
startupality has joined #ruby
philcrissman has joined #ruby
olivier_bK has quit [Ping timeout: 260 seconds]
Lucky___ has joined #ruby
jottr has joined #ruby
britneywright has joined #ruby
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
lmickh has quit [Remote host closed the connection]
einarj has joined #ruby
nobitanobi has joined #ruby
caveat- has joined #ruby
jfutbol has quit [Remote host closed the connection]
bearish has quit [Ping timeout: 260 seconds]
AlexRussia has quit [Ping timeout: 260 seconds]
philcrissman has quit [Ping timeout: 240 seconds]
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has quit [Remote host closed the connection]
otherj has joined #ruby
saladspork has quit [Quit: saladspork]
shevy has joined #ruby
matchaw has joined #ruby
startupality has quit [Quit: startupality]
moted has quit []
wombo has quit [Ping timeout: 260 seconds]
caveat- has quit [Ping timeout: 240 seconds]
gtrak has quit [Ping timeout: 264 seconds]
infinitone has joined #ruby
thousandwich has quit []
wombo has joined #ruby
jespada has quit [Quit: Leaving]
wombo has quit [Client Quit]
brothmars has quit [Ping timeout: 255 seconds]
dkamioka has joined #ruby
momomomomo has quit [Quit: momomomomo]
momomomomo_ is now known as momomomomo
rezzack has quit [Quit: Leaving.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rezzack has joined #ruby
qwyeth has quit [Quit: Leaving]
max06 has quit [Quit: Leaving.]
Cort3z has quit [Ping timeout: 246 seconds]
_shrine has joined #ruby
saladspork has joined #ruby
dkamioka_ has joined #ruby
<TheTopBloke> I'm having an "issue" with chruby.
<TheTopBloke> I have installed it, but when I want to use it...
mary5030 has quit [Remote host closed the connection]
<TheTopBloke> command not found.
ryanleesipes has quit [Quit: Leaving]
momomomomo has quit [Quit: momomomomo]
sailias has quit [Quit: Leaving.]
startupality has joined #ruby
<waxjar> have you added stuff to your bashrc or equivalent and reloaded or restarted your shell?
momomomomo has joined #ruby
dkamioka has quit [Ping timeout: 250 seconds]
<TheTopBloke> No... I did a locate, and it didnt work prior, but seems to work now. I will have to do what you just suggest and try it again.
<TheTopBloke> Before, I couldnt even find it. So I'll get back to you on that.
Neo-- has quit [Read error: Connection reset by peer]
jimmyhoughjr has quit [Write error: Connection reset by peer]
pietr0 has quit [Quit: pietr0]
charliesome has joined #ruby
dblessing has joined #ruby
jheg has quit [Quit: jheg]
Neo-- has joined #ruby
Squarepy has quit [Quit: Leaving]
linojon has quit [Quit: linojon]
mikeg has joined #ruby
kith_ has joined #ruby
shackleford has quit [Write error: Connection reset by peer]
shackleford has joined #ruby
SDr__ has joined #ruby
caveat- has joined #ruby
kenndel_ has joined #ruby
mikepack has joined #ruby
dkamioka_ has quit [Ping timeout: 260 seconds]
lid_ has joined #ruby
lmello has quit [Quit: Leaving.]
axsuul has joined #ruby
kith has quit [Ping timeout: 249 seconds]
_alexandros_ has quit [Ping timeout: 249 seconds]
weems|mac has quit [Quit: bai]
wombo has joined #ruby
ItSANgo_ has joined #ruby
dkamioka has joined #ruby
nanoyak_ has joined #ruby
maniacal_ has joined #ruby
TieSoul has quit [Ping timeout: 255 seconds]
vlad_starkov has quit [Ping timeout: 255 seconds]
mjc_ has quit [Ping timeout: 255 seconds]
TieSoul has joined #ruby
noeden has quit [Ping timeout: 255 seconds]
maxmanders has quit [Ping timeout: 255 seconds]
_cake has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby
JBreit has joined #ruby
nanoyak has quit [Ping timeout: 255 seconds]
SDr has quit [Ping timeout: 255 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
stef1a has quit [Quit: leaving]
ItSAN____ has quit [Ping timeout: 255 seconds]
adac has quit [Ping timeout: 240 seconds]
pietr0 has joined #ruby
mikeg has quit [Ping timeout: 255 seconds]
Robert__ has quit [Ping timeout: 255 seconds]
wombo has quit [Client Quit]
mjc_ has joined #ruby
lidaaa has quit [Ping timeout: 255 seconds]
sambao21 has joined #ruby
rimenes has joined #ruby
vlad_starkov has joined #ruby
mrsolo has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
aclearman037 has quit [Read error: Connection reset by peer]
atraylen has joined #ruby
TripTastic has quit [Ping timeout: 255 seconds]
sparrovv has quit [Remote host closed the connection]
cake_ has joined #ruby
_cpt_yossarian_ has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
_shrine has quit [Ping timeout: 260 seconds]
sparrovv has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
dkamioka has quit [Ping timeout: 240 seconds]
aclearma_ has joined #ruby
mrsolo_ has joined #ruby
mikesplain has joined #ruby
dangerousdave has quit [Ping timeout: 272 seconds]
JoshGlzBrk has quit [Excess Flood]
spacemud has quit [Ping timeout: 241 seconds]
spacemud has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
JohnFord has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has joined #ruby
motto has joined #ruby
albedoa has quit [Ping timeout: 240 seconds]
caveat- has joined #ruby
_cake has quit [Ping timeout: 240 seconds]
tables has quit [Ping timeout: 240 seconds]
beneggett has quit [Ping timeout: 240 seconds]
cpt_yossarian has quit [Ping timeout: 240 seconds]
cake_ is now known as _cake
zettam_ has joined #ruby
Davedo1 has joined #ruby
sparrovv has quit [Ping timeout: 240 seconds]
enebo has quit [Ping timeout: 246 seconds]
Davedo has quit [Ping timeout: 260 seconds]
phrozen7- has quit [Ping timeout: 260 seconds]
armanghassemi_ has quit [Ping timeout: 260 seconds]
mjc_ has quit [Ping timeout: 260 seconds]
ari-_-e has quit [Ping timeout: 260 seconds]
adamnbowen has quit [Ping timeout: 260 seconds]
snath has quit [Ping timeout: 260 seconds]
Davedo1 is now known as Davedo
krisquigley has joined #ruby
snath has joined #ruby
beneggett has joined #ruby
proxie has joined #ruby
momomomomo_ has joined #ruby
<TheTopBloke> unfortunately Im not finding a whole on this. On OSX it is .profile correct?
o0oo0o has quit [Ping timeout: 264 seconds]
ari-_-e has joined #ruby
m8 has quit [Ping timeout: 260 seconds]
cpruitt has quit [Ping timeout: 260 seconds]
armyriad has quit [Ping timeout: 246 seconds]
phrozen77 has joined #ruby
Mattias has quit [Ping timeout: 260 seconds]
zettam has quit [Ping timeout: 246 seconds]
armyriad has joined #ruby
o0oo0o has joined #ruby
sparrovv has joined #ruby
_lexjm has quit [Ping timeout: 260 seconds]
avi__ has quit [Ping timeout: 260 seconds]
bthesorceror has quit [Quit: bthesorceror]
avi__ has joined #ruby
mjc_ has joined #ruby
cpruitt has joined #ruby
felixjet_ has joined #ruby
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
armanghassemi_ has joined #ruby
sinkensabe has quit [Ping timeout: 260 seconds]
Mattias has joined #ruby
axilla has joined #ruby
bthesorceror has joined #ruby
aspires has quit []
joast has quit [Ping timeout: 246 seconds]
jhc76 has quit [Remote host closed the connection]
adam12 has quit [Ping timeout: 246 seconds]
virtualize has quit [Ping timeout: 260 seconds]
caveat- has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 246 seconds]
Freijo has quit [Ping timeout: 246 seconds]
Rydekull has quit [Ping timeout: 246 seconds]
lazyguru has quit [Ping timeout: 246 seconds]
geggam has quit [Ping timeout: 246 seconds]
goleldar has quit [Ping timeout: 246 seconds]
ValicekB has quit [Ping timeout: 246 seconds]
mozzarella has quit [Ping timeout: 246 seconds]
descala has quit [Ping timeout: 246 seconds]
jobewan has quit [Quit: Leaving]
IceDragon has quit [Ping timeout: 246 seconds]
TheTopBloke has quit [Ping timeout: 246 seconds]
axilla_ has quit [Ping timeout: 246 seconds]
pr0t has quit [Ping timeout: 246 seconds]
WormDrink has quit [Ping timeout: 246 seconds]
goleldar has joined #ruby
txdv has quit [Ping timeout: 246 seconds]
felixjet__ has quit [Ping timeout: 246 seconds]
AntelopeSalad has quit [Ping timeout: 246 seconds]
aspires has joined #ruby
helpa has quit [Remote host closed the connection]
jkline has joined #ruby
Fraeon has joined #ruby
riotjone_ has joined #ruby
wmoxam has joined #ruby
Rydekull has joined #ruby
georgesmith has quit [Quit: georgesmith]
nectarys has joined #ruby
Rydekull has quit [Changing host]
Rydekull has joined #ruby
txdv has joined #ruby
bMalum has quit [Quit: bMalum]
Xiti has joined #ruby
sylvanica has joined #ruby
riotjones has quit [Ping timeout: 245 seconds]
mfmfmfmfmfmf has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
Alina-malina has quit [Read error: Connection reset by peer]
klmlfl has quit [Quit: klmlfl]
Xiti` has joined #ruby
adam- has joined #ruby
geggam has joined #ruby
adam- is now known as Guest23528
Alina-malina has joined #ruby
diegovio1 has joined #ruby
armyriad has joined #ruby
diegoviola has quit [Ping timeout: 255 seconds]
diegovio1 is now known as diegoviola
Xiti` has quit [Client Quit]
caveat- has joined #ruby
nhjk has joined #ruby
startupality has quit [Quit: startupality]
Xiti` has joined #ruby
Xiti` has quit [Changing host]
Xiti` has joined #ruby
Xiti has quit [Ping timeout: 245 seconds]
moted has joined #ruby
mozzarella has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
aspires has quit []
<mozzarella> did thetopbloke receive help?
<mozzarella> I got disconnected
otherj has quit []
aspires has joined #ruby
TheTopBloke has joined #ruby
klmlfl has joined #ruby
sparrovv has quit [Remote host closed the connection]
dbasch has joined #ruby
sparrovv has joined #ruby
AntelopeSalad has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
pr0t has joined #ruby
IceDragon has joined #ruby
<shevy> nope
<shevy> he is still helpless like a child
<mozzarella> aaaaawwww
ValicekB has joined #ruby
<mozzarella> TheTopBloke: still need help?
descala has joined #ruby
WormDrink has joined #ruby
<TheTopBloke> Yes please. sorry I got disco'd
<mozzarella> me too
<wallerdev> same
icarus has quit [Remote host closed the connection]
<mozzarella> TheTopBloke: basically, don't use .profile, it's a different file
fabrice31 has joined #ruby
momomomomo has quit [Quit: momomomomo]
peckermanzzz has joined #ruby
<mozzarella> just create one if it doesn't exist
<mozzarella> I think the default shell on OS X is bash, so just create .bashrc
<TheTopBloke> I think Im at the point where I know I have chruby installed but command not found is what I get, and I am looking for bashrc or equivalent which I believe is supposed to be .profile somewhere on my mac, most likely located /etc/
<mozzarella> TheTopBloke: you type "chruby" and it says "command not found"?
<TheTopBloke> yep
dbasch has quit [Ping timeout: 250 seconds]
sparrovv has quit [Ping timeout: 250 seconds]
<mozzarella> TheTopBloke: what does "file /usr/local/share/chruby/chruby.sh" say? type it in a terminal window
peckermanzzz has quit [Client Quit]
lmello has joined #ruby
x1337807x has joined #ruby
peckermanzzz has joined #ruby
mary5030 has joined #ruby
<TheTopBloke> any particular part of the script you want me to tell you about?
fabrice31 has quit [Ping timeout: 260 seconds]
<mozzarella> TheTopBloke: no, just wanted to see if there was such a file
<TheTopBloke> yep. file is there.
<mozzarella> now create a .bashrc file in your home folder and add "source /usr/local/share/chruby/chruby.sh" to it
benlieb has quit [Quit: benlieb]
Aranshada|W has quit [Ping timeout: 240 seconds]
spider-mario has quit [Remote host closed the connection]
benlieb has joined #ruby
djbkd has quit [Remote host closed the connection]
<mozzarella> you will need to open a new terminal window for it to take effect
caveat- has joined #ruby
djbkd has joined #ruby
matchaw has quit [Remote host closed the connection]
<TheTopBloke> I inadvertently opened chruby with xcode, so I'm just going to create the .bashrc file with xcode and place it, what literally in /home?
pietr0 has quit [Quit: pietr0]
<wallerdev> /Users/yourname aka ~/
<nhjk> just type cd
<TheTopBloke> gotcha. ok one sec
agjacome has quit [Remote host closed the connection]
<wallerdev> no cd in xcode
matchaw has joined #ruby
<wallerdev> closest is cmd+shift+g with file browser open
skolman has quit [Remote host closed the connection]
<nhjk> oh i thought he was in the terminal
<TheTopBloke> No I gotcha. I just have to move it from my desktop to the home folder now.
Cheezebox has quit [Remote host closed the connection]
<TheTopBloke> I was in terminal, but I typed in "open chruby.sh" and it opened in xocde.
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TheTopBloke> ok one sec
shackleford has quit [Remote host closed the connection]
<nhjk> cd && echo "source /usr/local/share/chruby/chruby.sh" > .bashrc
<nhjk> from terminal if you want
sambao21 has quit [Quit: Computer has gone to sleep.]
aspires has quit []
dkamioka has joined #ruby
matchaw has quit [Ping timeout: 240 seconds]
atraylen has quit [Ping timeout: 250 seconds]
echevemaster has quit [Ping timeout: 245 seconds]
<TheTopBloke> ok, I tried to mv it, but I used the command you suggested instead.
IceDragon has quit [Ping timeout: 260 seconds]
einarj has quit [Remote host closed the connection]
IceDragon has joined #ruby
mugen has joined #ruby
mugen is now known as Guest79971
<TheTopBloke> ok, I now have .bashrc in /usr/local/share/chruby along with chruby.sh
klmlfl has quit [Quit: klmlfl]
Aranshada|W has joined #ruby
snath has quit [Ping timeout: 250 seconds]
<nhjk> what exactly are you trying to do?
caveat- has quit [Ping timeout: 250 seconds]
kenneth has joined #ruby
linojon has joined #ruby
kenneth has quit [Max SendQ exceeded]
postmodern has joined #ruby
<TheTopBloke> I was trying to install Rails, which led to installing Ruby-2.1.0, which led to installing chruby, which is installed, but when I type in chruby is says command not found.
senayar has quit [Remote host closed the connection]
<nhjk> do you have homebrew?
<TheTopBloke> yep
kenneth has joined #ruby
momomomomo has joined #ruby
lid_ has quit [Ping timeout: 255 seconds]
krisquigley has quit [Remote host closed the connection]
peckermanzzz has quit [Quit: ZNC - http://znc.in]
<postmodern> TheTopBloke, you need to load chruby in your shell config: https://github.com/postmodern/chruby#configuration
aspires has joined #ruby
<nhjk> just use rvm instead, you can install ruby and rails with this single command "\curl -sSL https://get.rvm.io | bash -s stable --rails"
kirun has quit [Quit: Client exiting]
<TheTopBloke> Well, that's working.
<TheTopBloke> Damn Im rusty with command line, and Ive only ever done it on linux years ago.
ssvo has joined #ruby
lmello has quit [Quit: Leaving.]
peckermanzzz has joined #ruby
<TheTopBloke> Thank you guys for all the help.
<nhjk> which one worked for you?
<TheTopBloke> The curl command is working right now
<nhjk> awesome
skolman_ has joined #ruby
caveat- has joined #ruby
motto has quit [Quit: Sto andando via]
<TheTopBloke> LOL nice
<TheTopBloke> installing rails now
ghostmoth has quit [Quit: ghostmoth]
nanoyak_ has quit [Quit: Computer has gone to sleep.]
benlieb has quit [Ping timeout: 250 seconds]
<shevy> hmm
<shevy> how can I check via ruby on a linux system whether the user 'nobody' exists?
snath has joined #ruby
<wallerdev> read /etc/passwd ?
mikepack has quit [Remote host closed the connection]
<shevy> yeah I guess
dblessing has quit [Quit: dblessing]
<shevy> this is so low level!
rjhunter has joined #ruby
<nhjk> just use regular unix commands with backticks
nanoyak has joined #ruby
luckyruby has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0]
mary5030 has quit [Remote host closed the connection]
saladspork has quit [Quit: saladspork]
SDr__ is now known as SDr
SDr has quit [Changing host]
SDr has joined #ruby
<wallerdev> yeah could use id
nhjk has quit [Remote host closed the connection]
senayar has joined #ruby
slawrence00 has joined #ruby
mmus has quit [Ping timeout: 272 seconds]
andrewlio has quit [Remote host closed the connection]
<TheTopBloke> Nice... That seemed to work just right. It's telling me to run a few things. Thank you for all the help.
bthesorceror has quit [Quit: bthesorceror]
amargherio has quit [Remote host closed the connection]
dblessing has joined #ruby
rjhunter has quit [Remote host closed the connection]
mfmfmfmfmfmf has quit [Remote host closed the connection]
diegoviola has joined #ruby
mfmfmfmfmfmf has joined #ruby
aspires has quit []
ssvo has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
gzl_ is now known as gzl
gzl has quit [Changing host]
gzl has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
troyready has quit [Quit: Leaving]
charliesome has quit [Quit: zzz]
zarul has quit [Read error: Connection reset by peer]
jkline has quit [Quit: jkline]
rjhunter has joined #ruby
mfmfmfmfmfmf has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 240 seconds]
mmus has joined #ruby
luckyruby has quit [Ping timeout: 264 seconds]
InhalingPixels has joined #ruby
benzrf is now known as benzrf|offline
brothmars has joined #ruby
beneggett has quit [Ping timeout: 260 seconds]
kriskropd has quit [Quit: leaving]
rjhunter has quit [Ping timeout: 250 seconds]
sepp2k has quit [Quit: Konversation terminated!]
ssvo has joined #ruby
nectarys has quit [Ping timeout: 250 seconds]
lw has joined #ruby
ohwhoa has joined #ruby
havenwood has joined #ruby
lw_ has joined #ruby
cy has quit [Ping timeout: 255 seconds]
balazs has quit [Ping timeout: 255 seconds]
bearish has joined #ruby
nobitanobi has quit []
caveat- has quit [Ping timeout: 260 seconds]
Sht0 has quit [Ping timeout: 264 seconds]
nectarys has joined #ruby
oso96_2000 is now known as oso|away
cy has joined #ruby
Thanatermesis has joined #ruby
dblessing has quit [Quit: dblessing]
philcrissman has joined #ruby
lw has quit [Ping timeout: 250 seconds]
atraylen has joined #ruby
juz88 has quit [Ping timeout: 245 seconds]
nectarys has quit [Max SendQ exceeded]
<Thanatermesis> this piece of code seems to search "matches" in a yaml database to give reply's if the match is found: https://gist.github.com/Thanatermesis/6929fa4984a00c737030
nectarys has joined #ruby
<Thanatermesis> but i need it to accept regex matches, any idea ?
djcp has joined #ruby
bearish has quit [Ping timeout: 240 seconds]
frankle has quit [Quit: Connection closed for inactivity]
<Thanatermesis> it is about a cinch bot plugin, which if somebody says "foo" will answer "bar", (from an entry like "foo: bar" in the yaml database
<Thanatermesis> if i try "fo(o|e): bar" it doesnt answers for "foo" and also not for "bar"
pigram86 has quit [Remote host closed the connection]
sylvanica has quit [Ping timeout: 240 seconds]
pigram86 has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
claw has quit [Ping timeout: 240 seconds]
tyler569 has joined #ruby
claw has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qhartman has joined #ruby
nectarys has quit [Max SendQ exceeded]
pietr0 has joined #ruby
oo_ has joined #ruby
lw_ has quit [Quit: s]
<YamakasY> shevy: fixed it
caveat- has joined #ruby
bthesorceror has joined #ruby
<YamakasY> jhass: fixed it :)
roolo has quit [Quit: Leaving...]
nectarys has joined #ruby
icebourg has quit []
<YamakasY> it was a "bug" in preseed
pigram86_ has joined #ruby
pigram86 has quit [Read error: Connection reset by peer]
pietr0 has quit [Client Quit]
bthesorceror has quit [Client Quit]
pigram86_ has quit [Read error: Connection reset by peer]
pigram86 has joined #ruby
altern has joined #ruby
bthesorceror has joined #ruby
nectarys has quit [Max SendQ exceeded]
grenierm has joined #ruby
altern has quit [Client Quit]
oo_ has quit [Remote host closed the connection]
sepp2k has joined #ruby
ohwhoa has quit [Quit: woah!]
j75 has joined #ruby
rjhunter has joined #ruby
Azzurrio has joined #ruby
dkamioka has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Azzurrio has quit [Client Quit]
St_Marx has quit [Quit: Ex-Chat]
momomomomo has quit [Quit: momomomomo]
altern has joined #ruby
sylvanica has joined #ruby
<hooper> anyone with mysql gem experience, how do you disable secure_auth?
<graft> what's a good channel for general comp-sci geekery?
<graft> i.e. interval trees... i want to talk about interval trees
zz_karupa is now known as karupa
tyler569 has left #ruby [#ruby]
itspots_ has quit [Quit: Lingo - http://www.lingoirc.com]
helpa has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
St_Marx has joined #ruby
<Thanatermesis> i assume that the problem should be in line3
agent_white has quit [Ping timeout: 260 seconds]
jcoglan has quit [Quit: jcoglan]
sylvanica has quit [Ping timeout: 272 seconds]
altern has quit [Quit: Leaving]
klmlfl has joined #ruby
jkline has joined #ruby
klmlfl has quit [Read error: No route to host]
<Thanatermesis> changing (keyword) to (/#{keyword}/ doesnt do anything
klmlfl has joined #ruby
dkamioka has joined #ruby
klmlfl has quit [Read error: No route to host]
lw has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
lw has quit [Max SendQ exceeded]
klmlfl has joined #ruby
lw has joined #ruby
rubytor has joined #ruby
andrewjanssen has joined #ruby