apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
Tolman has joined #ruby
djwonk has joined #ruby
philcrissman has quit [Remote host closed the connection]
atyz has joined #ruby
robmuh has quit [Ping timeout: 256 seconds]
nplusp has quit [Ping timeout: 245 seconds]
MrPoT4tO has quit [Remote host closed the connection]
cascalheira has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has joined #ruby
DrShoggoth has quit [Ping timeout: 240 seconds]
c0rn has quit [Ping timeout: 276 seconds]
mikepack has quit [Remote host closed the connection]
atyz has quit [Ping timeout: 272 seconds]
Nisstyre has quit [Ping timeout: 276 seconds]
DrShoggoth has joined #ruby
tealmage has joined #ruby
tealmage has quit [Read error: Connection reset by peer]
aryasam has joined #ruby
toquonce has quit [Quit: toquonce]
vlad_starkov has quit [Ping timeout: 272 seconds]
chrishough has joined #ruby
stkowski has quit [Quit: stkowski]
xtitan has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
banjara has joined #ruby
d11wtq has quit [Ping timeout: 272 seconds]
enriclluelles has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
chrishough has quit [Client Quit]
john_paxton has quit [Quit: Page closed]
jamie_ca_ has quit [Ping timeout: 246 seconds]
jduan1981 has joined #ruby
Xeago has joined #ruby
brotatos has joined #ruby
nari_ has joined #ruby
xtitan has left #ruby [#ruby]
n0man has joined #ruby
superFluid has joined #ruby
Davey_ has quit [Quit: Computer has gone to sleep.]
cloke has quit [Quit: cloke]
<n0man> What's the best way to get a Dir instance for the current working directory? Is there a better way than Dir.new(Dir.getwd)?
superFluid has quit [Read error: Connection reset by peer]
jduan1981 has quit [Quit: jduan1981]
sambao21 has joined #ruby
<epitamizor> Dir"/" i think
wsterling has joined #ruby
DrShoggoth has quit [Ping timeout: 252 seconds]
Kricir has joined #ruby
cgcardona has quit [Quit: cgcardona]
DrShoggoth has joined #ruby
<n0man> I don't think that will work.
<n0man> But thanks;-)
c0rn has joined #ruby
<epitamizor> Dir.pwd
<epitamizor> Dir.chdir("/var/spool/mail")
osvico has joined #ruby
sambao21 has quit [Ping timeout: 248 seconds]
d2dchat has quit [Remote host closed the connection]
<ariedler> oh ya, I asked not too long ago; did anyone answer :S
<ariedler> is __id__ unique given the currently allocated objects?
Targen_ has quit [Ping timeout: 240 seconds]
t-mart has quit [Remote host closed the connection]
wsterling has quit [Ping timeout: 240 seconds]
<n0man> That'll do it, thanks again.
ffranz1 has quit [Quit: Leaving]
moted has quit [Quit: moted]
moted has joined #ruby
<epitamizor> i cna have two ends on same line and it still runs also a return and end on same line
emmanuelux has quit [Remote host closed the connection]
n0man has quit [Quit: n0man]
<epitamizor> its not as bad as python but more like vb
MrZYX is now known as MrZYX|off
scipi0 has quit [Ping timeout: 268 seconds]
stkowski has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
timkohrumel has joined #ruby
s2013 has joined #ruby
<Spooner> ariedler, It is unique, yes.
<ariedler> awesome ^_^
omg|its|otr has quit [Ping timeout: 252 seconds]
huoxito has joined #ruby
benlieb has quit [Quit: benlieb]
nari_ has quit [Ping timeout: 256 seconds]
hadees has quit [Quit: hadees]
lethjakman has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Ping timeout: 252 seconds]
mklappstuhl has joined #ruby
Dreamer3 has joined #ruby
timkohrumel has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
evangelosavgerin has joined #ruby
stkowski has quit [Quit: stkowski]
JMcAfreak has quit [Ping timeout: 260 seconds]
aryasam_ has joined #ruby
lewix_away is now known as lewix
DonRichie has quit [Ping timeout: 255 seconds]
DonRichie has joined #ruby
girija has joined #ruby
evangelosavgerin has quit [Ping timeout: 245 seconds]
aryasam has quit [Ping timeout: 272 seconds]
ipalaus has joined #ruby
io_syl has quit [Ping timeout: 252 seconds]
io_syl has joined #ruby
niklasb has quit [Ping timeout: 256 seconds]
ab1 has quit [Ping timeout: 255 seconds]
Meeh is now known as Meeh_afk
wmoxam has joined #ruby
rupee has quit [Quit: Leaving]
jamie_ca_ has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
Xeago has quit [Remote host closed the connection]
mikestok has joined #ruby
jnoob22 has quit [Remote host closed the connection]
moos3 has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
brotatos has joined #ruby
denbuzze4 has left #ruby [#ruby]
Spooner has quit [Remote host closed the connection]
nahiluhmot has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
kofno has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
zeade has quit [Quit: Leaving.]
atyz has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
CamonZ_afk has joined #ruby
kobain has quit [Ping timeout: 256 seconds]
mfridh has quit [Read error: Operation timed out]
kobain has joined #ruby
Roa has quit [Ping timeout: 252 seconds]
k3rn3lito has quit [Ping timeout: 268 seconds]
kobain has quit [Excess Flood]
kobain has joined #ruby
radic has quit [Disconnected by services]
CamonZ has quit [Read error: Connection reset by peer]
kobain has quit [Excess Flood]
radic_ has joined #ruby
epitamizor has left #ruby ["Connection Obfuscated"]
elektronaut has quit [Ping timeout: 240 seconds]
atyz has quit [Ping timeout: 256 seconds]
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
lethjakman has quit [Quit: WeeChat 0.4.0]
vlad_starkov has quit [Ping timeout: 248 seconds]
elektronaut has joined #ruby
DrShoggoth has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
Z_Mass has joined #ruby
robscomputer_ has quit [Remote host closed the connection]
toquonce has joined #ruby
IrishGringo has joined #ruby
k3rn3lito has joined #ruby
sailias has joined #ruby
yaroslav has quit [Quit: yaroslav]
ravster has left #ruby [#ruby]
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
mgorilla5757 has quit [Quit: leaving]
slainer68 has quit [Remote host closed the connection]
kobain has joined #ruby
brianpWins has joined #ruby
Hanmac has joined #ruby
brennanMKE has quit [Remote host closed the connection]
jblack has joined #ruby
Leighton has quit [Quit: Leaving]
Cultofmetatron has quit [Remote host closed the connection]
brianherman has quit [Read error: Connection reset by peer]
rubynista has joined #ruby
DrShoggoth has quit [Ping timeout: 240 seconds]
rakl has quit [Quit: sleeping]
Hanmac1 has quit [Ping timeout: 264 seconds]
<rubynista> is it possible to extend a module with singleton methods and get access to those methods from the class extending it?
<rubynista> sorry, I meant include rather then extend - got the whole object.extend(name) thing backwards in my head
vertroa has joined #ruby
jamescarr has joined #ruby
<lewix> a method to find out the type of an object..
<lewix> ?
<jblack> lewix : item = something.new; puts somethig.class.name
tealmage has joined #ruby
tjbiddle_ has joined #ruby
<lewix> jblack: is it the only way
<rubynista> Like, if I have module M where I have some auto-generated singleton methods defined (M.define_singleton_method etc), is it possible to get access to those methods via N.extend(M)
<jblack> lewix: It's the only way I know, but there's rarely only one way to do something in ruby
<lewix> actually it's good enough jblack. i only used. something.class, I didn't know about name
<lewix> jblack: thanks
<jblack> you're welcome
nahiluhmot has quit [Remote host closed the connection]
hiroyuki has joined #ruby
kristofers has quit []
benwoody has joined #ruby
tjbiddle has quit [Ping timeout: 272 seconds]
tjbiddle_ is now known as tjbiddle
reppard has joined #ruby
tealmage has quit [Ping timeout: 240 seconds]
wesside has joined #ruby
Cultofmetatron has joined #ruby
statarb3 has quit [Ping timeout: 240 seconds]
jaredrhine_ has joined #ruby
jaredrhine has quit [Ping timeout: 245 seconds]
cgcardona has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
headius has quit [Quit: headius]
aryasam__ has joined #ruby
tealmage has joined #ruby
<r0bglees0n> rubynista: include/extend operate on instances methods.
mercwithamouth has quit [Ping timeout: 264 seconds]
evangelosavgerin has joined #ruby
fryguy- is now known as fryguy
scipi0 has joined #ruby
girija has quit [Ping timeout: 246 seconds]
rubynista has quit [Ping timeout: 245 seconds]
c0rn has quit [Quit: Computer has gone to sleep.]
aryasam_ has quit [Ping timeout: 272 seconds]
Dreamer3 has joined #ruby
ebobby has quit [Quit: Lost terminal]
kofno has quit [Remote host closed the connection]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
Targen has joined #ruby
evangelosavgerin has quit [Ping timeout: 256 seconds]
johnnyfuchs has quit [Remote host closed the connection]
pevjan has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 268 seconds]
dmiller_ has joined #ruby
dmiller has quit [Ping timeout: 245 seconds]
kofno has joined #ruby
thomasl__ has quit [Remote host closed the connection]
slainer68 has joined #ruby
timkohrumel has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
bitri has joined #ruby
hadees has joined #ruby
Domon has joined #ruby
timkohrumel has quit [Read error: No route to host]
timkohru_ has joined #ruby
kimteq has joined #ruby
josedonizetti has quit [Quit: josedonizetti]
sleetdrop has joined #ruby
sleetdrop has quit [Max SendQ exceeded]
sleetdrop has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
jerius has joined #ruby
timkohru_ has quit [Remote host closed the connection]
d11wtq has joined #ruby
jamescarr has quit [Quit: jamescarr]
bubblehead has quit [Remote host closed the connection]
wmoxam has joined #ruby
aryasam__ has quit [Ping timeout: 252 seconds]
nezumi has joined #ruby
slainer68 has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
vlad_starkov has joined #ruby
jblack has joined #ruby
freewizard has joined #ruby
Nautes has quit [Quit: Leaving]
jeebster has quit [Quit: Leaving.]
mmitchell has quit [Remote host closed the connection]
radic_ has quit [Ping timeout: 252 seconds]
apok has quit [Quit: apok]
wmoxam has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 276 seconds]
atyz has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 240 seconds]
idkazuma has joined #ruby
freewizard has quit [Ping timeout: 252 seconds]
vertroa has quit [Quit: WeeChat 0.3.9.2]
huoxito has quit [Quit: Leaving]
dallasm has quit [Read error: Connection reset by peer]
dallasm has joined #ruby
vertroa has joined #ruby
robustus has quit [Ping timeout: 276 seconds]
robustus|Off has joined #ruby
dallasm has quit [Remote host closed the connection]
c0rn has joined #ruby
Opettaja has quit [Ping timeout: 246 seconds]
aryasam has joined #ruby
Opettaja has joined #ruby
jbueza has quit [Quit: Leaving.]
josedonizetti has joined #ruby
SAUCYSALAMANDER has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
mixel has quit [Quit: mixel]
wmoxam has joined #ruby
<lewix> why does class does not work in irb
vertroa has quit [Quit: WeeChat 0.3.9.2]
<lewix> but self.class does
josedonizetti has quit [Client Quit]
Targen has quit [Read error: Connection reset by peer]
ubuu has joined #ruby
jblack has quit [Ping timeout: 264 seconds]
<ryanf> lewix: that's not just irb, it's ruby in general
<ryanf> class is a keyword
brianpWins has quit [Quit: brianpWins]
<ryanf> so you can't call the class method without a receiver
wsterling has joined #ruby
Targen has joined #ruby
yshh has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
nahiluhmot has joined #ruby
vertroa has joined #ruby
ndboost has joined #ruby
<lewix> thanks ryanf. right
jamie_ca_ has quit [Ping timeout: 256 seconds]
pskosinski has quit [Quit: pskosinski]
jamie_ca_ has joined #ruby
cgcardona has quit [Quit: cgcardona]
osvico has joined #ruby
ubuu has quit [Remote host closed the connection]
mavcunha has joined #ruby
flingbob has joined #ruby
evangelosavgerin has joined #ruby
krz has joined #ruby
Todd- has quit [Read error: Connection reset by peer]
busybox42 has quit [Ping timeout: 256 seconds]
osvico has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
adkron_ has quit [Ping timeout: 256 seconds]
nahiluhmot has quit [Remote host closed the connection]
evangelosavgerin has quit [Ping timeout: 248 seconds]
adkron has joined #ruby
aryasam has quit [Ping timeout: 245 seconds]
davedev24 has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 272 seconds]
busybox42 has joined #ruby
josedonizetti has joined #ruby
AgentWillyWonka has joined #ruby
osvico has joined #ruby
sebastian08 has quit [Ping timeout: 260 seconds]
jerius has quit []
c0rn has quit [Quit: Computer has gone to sleep.]
sebastian08 has joined #ruby
freewizard has joined #ruby
aytch_ has quit [Quit: Leaving...]
aytch has joined #ruby
ossareh has quit [Read error: Operation timed out]
kenneth has quit [Quit: kenneth]
jblack has joined #ruby
Hanmac1 has joined #ruby
flingbob has quit [Remote host closed the connection]
aryasam has joined #ruby
jbueza has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
wroathe has quit [Ping timeout: 272 seconds]
c0rn has joined #ruby
dmiller_ has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 264 seconds]
kofno has quit [Remote host closed the connection]
dev__ has quit [Ping timeout: 272 seconds]
Bry8Star_ has joined #ruby
yannis has quit [Quit: yannis]
wsterling has quit [Remote host closed the connection]
wsterling has joined #ruby
aryasam has quit [Ping timeout: 268 seconds]
sailias has quit [Quit: Leaving.]
brotatos has quit [Quit: WeeChat 0.4.1-dev]
brotatos has joined #ruby
Bry8Star has quit [Ping timeout: 276 seconds]
cj3kim has quit [Ping timeout: 272 seconds]
Chat5704 has joined #ruby
<Chat5704> Que onda
Chat5704 has left #ruby [#ruby]
aryasam has joined #ruby
wsterling has quit [Ping timeout: 252 seconds]
rickmasta has quit [Quit: Leaving...]
atyz has joined #ruby
vlad_starkov has joined #ruby
idkazuma has quit [Remote host closed the connection]
timkohrumel has joined #ruby
aryasam has quit [Ping timeout: 268 seconds]
splittingred has quit [Quit: splittingred]
jdunck has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
nghialv2607 has joined #ruby
reppard has quit [Ping timeout: 252 seconds]
jovy88 has quit [Read error: Connection reset by peer]
hogeo has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 255 seconds]
jblack has quit [Ping timeout: 245 seconds]
huttan has quit [Read error: Connection reset by peer]
uris has quit [Ping timeout: 245 seconds]
jovy88 has joined #ruby
rickruby has joined #ruby
huttan has joined #ruby
Heero` has joined #ruby
timkohrumel has quit [Ping timeout: 240 seconds]
breakingthings has quit [Quit: breakingthings]
wallerdev has quit [Quit: wallerdev]
mikestok has quit [Quit: Computer has gone to sleep.]
josedonizetti has quit [Quit: josedonizetti]
huoxito has joined #ruby
arya has joined #ruby
josedonizetti has joined #ruby
joofsh has quit [Remote host closed the connection]
kenneth has joined #ruby
tylersmith has joined #ruby
Davey has joined #ruby
jamesfung14 has quit [Quit: Leaving]
TheSpectre has joined #ruby
wroathe has joined #ruby
jduan1981 has joined #ruby
freewizard has quit [Remote host closed the connection]
iMadper has quit [Remote host closed the connection]
TheSpectre has left #ruby [#ruby]
dhruvasagar has quit [Ping timeout: 248 seconds]
TheSpect1e has joined #ruby
TheSpect1e has left #ruby [#ruby]
tylersmith has quit [Ping timeout: 246 seconds]
jblack has joined #ruby
philcrissman has joined #ruby
krainboltgreene has joined #ruby
arya has quit [Ping timeout: 248 seconds]
nwertman has quit [Remote host closed the connection]
TheSpectre has joined #ruby
TheSpectre has quit [Client Quit]
wroathe has quit [Ping timeout: 252 seconds]
TheSpectre has joined #ruby
arya has joined #ruby
dmiller has joined #ruby
Astralum has quit [Ping timeout: 248 seconds]
tomzx_mac has quit [Ping timeout: 246 seconds]
TheSpectre has quit [Client Quit]
arya__ has joined #ruby
arya__ has quit [Client Quit]
arya_ has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Opettaja has quit [Quit: WeeChat 0.4.0]
mockra has quit [Remote host closed the connection]
krz has quit [Quit: krz]
wedgex has joined #ruby
Kricir has joined #ruby
arya has quit [Ping timeout: 248 seconds]
atyz has joined #ruby
Nom- has quit [Quit: leaving]
jblack has quit [Ping timeout: 252 seconds]
Nom- has joined #ruby
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
brennanMKE has joined #ruby
Kricir has quit [Ping timeout: 252 seconds]
wedgex_ has joined #ruby
GeissT has joined #ruby
Z_Mass has quit [Ping timeout: 246 seconds]
cyong has joined #ruby
wedgex has quit [Ping timeout: 245 seconds]
tundrax has joined #ruby
ckrailo has joined #ruby
Matip has quit [Read error: Connection reset by peer]
Matip has joined #ruby
robbyoconnor has joined #ruby
ZachBeta has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
josedonizetti has quit [Quit: josedonizetti]
pcarrier has quit [Ping timeout: 240 seconds]
chandankumar has joined #ruby
nghialv2607 has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
iMadper has joined #ruby
pcarrier has joined #ruby
browndawg has joined #ruby
browndawg has quit [Client Quit]
brennanM_ has joined #ruby
yashshah_ has quit [Read error: Operation timed out]
brennanMKE has quit [Read error: Connection reset by peer]
ariedler has quit [Remote host closed the connection]
tundrax has quit [Remote host closed the connection]
uris has joined #ruby
tealmage has quit [Remote host closed the connection]
chipotle_ has joined #ruby
brennanM_ has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
jduan1981 has quit [Quit: jduan1981]
chandankumar has quit [Quit: Leaving]
tundrax has joined #ruby
NiteRain has quit [Ping timeout: 256 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
brianpWins has joined #ruby
vlad_starkov has joined #ruby
yashshah_ has joined #ruby
wroathe has joined #ruby
Tolman has quit [Quit: Tolman]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
ioNull has joined #ruby
mikestok has joined #ruby
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
wsterling has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
atyz has quit [Quit: Leaving...]
hadees has quit [Quit: hadees]
Tolman has joined #ruby
tchebb has quit [Ping timeout: 258 seconds]
ab1 has joined #ruby
wroathe has quit [Ping timeout: 276 seconds]
tchebb has joined #ruby
steffes has joined #ruby
mikestok has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
brennanMKE has quit [Read error: Connection reset by peer]
wsterling has quit [Ping timeout: 264 seconds]
brennanMKE has joined #ruby
lunchtime has joined #ruby
swex_ has quit [Ping timeout: 248 seconds]
lunchtime has quit [Remote host closed the connection]
pitzips_ has joined #ruby
lunchtime has joined #ruby
lunchtime has quit [Client Quit]
rickruby has joined #ruby
pitzips_ has quit [Client Quit]
steffes has quit [Remote host closed the connection]
tchebb has quit [Ping timeout: 245 seconds]
AgentWillyWonka has quit [Quit: Linkinus - http://linkinus.com]
rgbdev has quit [Quit: rgbdev]
corehook has joined #ruby
kenneth has quit [Quit: kenneth]
tchebb has joined #ruby
kobain has quit []
krz has joined #ruby
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
pevjan has joined #ruby
wroathe has joined #ruby
jduan1981 has joined #ruby
Drewch has quit [Ping timeout: 252 seconds]
uris has quit [Quit: Leaving]
saarinen has joined #ruby
freewizard has joined #ruby
scipi0 has quit [Remote host closed the connection]
Drewch has joined #ruby
tjbiddle has joined #ruby
dmiller has quit [Remote host closed the connection]
yashshah_ has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
freewizard has quit [Ping timeout: 240 seconds]
tundrax has quit [Remote host closed the connection]
wroathe has quit [Ping timeout: 260 seconds]
yashshah_ has quit [Read error: Connection reset by peer]
yashshah_ has joined #ruby
wroathe has joined #ruby
saarinen has left #ruby [#ruby]
saiju has joined #ruby
atyz has joined #ruby
saarinen has joined #ruby
ttt has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
saarinen has left #ruby [#ruby]
wroathe has quit [Ping timeout: 246 seconds]
epicurus has quit [Quit: Leaving]
pevjan has quit [Remote host closed the connection]
brennanMKE has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
mockra has joined #ruby
adamjleonard has quit [Quit: Leaving...]
atyz has quit [Ping timeout: 245 seconds]
Yakko has quit [Remote host closed the connection]
adamjleonard has joined #ruby
arubin has joined #ruby
pevjan has joined #ruby
Cultofme_ has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Rym has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 256 seconds]
robottinosino has joined #ruby
Cultofmetatron has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
ttt has quit [Remote host closed the connection]
lunchtime has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
IceDragon has quit [Quit: Space~~~]
wroathe has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
jduan1981 has quit [Read error: Connection reset by peer]
bean__ has joined #ruby
robscomputer has joined #ruby
NiteRain has joined #ruby
lunchtime has quit [Ping timeout: 256 seconds]
jduan1981 has joined #ruby
tealmage has joined #ruby
tundrax has joined #ruby
dmiller has joined #ruby
robottinosino has quit [Ping timeout: 268 seconds]
atyz has joined #ruby
vlad_starkov has joined #ruby
tealmage has quit [Ping timeout: 240 seconds]
freeayu__ has joined #ruby
freeayu has quit [Ping timeout: 276 seconds]
mockra has joined #ruby
ab1 has quit [Ping timeout: 252 seconds]
macmartine has joined #ruby
girija has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
flagg0204 has quit [Read error: Connection reset by peer]
ab1 has joined #ruby
flagg0204 has joined #ruby
Tolman has quit [Quit: Tolman]
yashshah_ has quit [Read error: Connection reset by peer]
locriani has joined #ruby
yashshah- has joined #ruby
dmiller has quit [Ping timeout: 264 seconds]
bean has quit [Read error: Connection reset by peer]
bean__ is now known as bean
julian-delphiki has joined #ruby
grimfan has joined #ruby
maycon has quit [Ping timeout: 256 seconds]
<grimfan> What can I name a class that takes an object and runs a command and thereafter updates the object depending on the result of the command. Is that a builder, factory, service or anything else?
ab1 has quit [Ping timeout: 248 seconds]
arya has joined #ruby
ab1 has joined #ruby
chipotle_ has quit [Quit: cya]
chandankumar has joined #ruby
arya_ has joined #ruby
hadees has joined #ruby
Kricir has joined #ruby
chandankumar has quit [Max SendQ exceeded]
chandankumar has joined #ruby
johnkary has joined #ruby
arya has quit [Ping timeout: 248 seconds]
ab1 has quit [Ping timeout: 256 seconds]
wesside has quit [Quit: Computer has gone to sleep.]
ab1 has joined #ruby
chandankumar has quit [Read error: Connection reset by peer]
yashshah- has quit [Read error: Connection reset by peer]
Kruppe has quit [Ping timeout: 260 seconds]
arya_ has quit [Ping timeout: 248 seconds]
wroathe has quit [Ping timeout: 256 seconds]
mahmoudimus has joined #ruby
robottinosino has joined #ruby
jduan1981 has quit [Quit: jduan1981]
s2013 has quit []
yashshah- has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
maycon has joined #ruby
arya has joined #ruby
krz has quit [Quit: krz]
divout has joined #ruby
slippyd has quit [Quit: slippyd]
headius has joined #ruby
robottinosino has quit [Ping timeout: 255 seconds]
Umren has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
ab1 has quit [Ping timeout: 245 seconds]
chandankumar has joined #ruby
slippyd has joined #ruby
Kricir has quit [Remote host closed the connection]
mavcunha has quit [Quit: Computer has gone to sleep.]
headius has quit [Quit: headius]
tundrax has quit [Remote host closed the connection]
sayan has joined #ruby
bean has joined #ruby
cyong has quit [Quit: Leaving.]
locriani has quit [Read error: Connection reset by peer]
Ortuna has joined #ruby
rgbdev has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
ab1 has joined #ruby
nomenkun has joined #ruby
rgbdev has quit [Client Quit]
codecop has quit [Remote host closed the connection]
codecop has joined #ruby
sayan has quit [Read error: Connection reset by peer]
Retistic has quit [Quit: Retistic]
yashshah- has quit [Ping timeout: 256 seconds]
chandankumar has quit [Ping timeout: 256 seconds]
ksmth has joined #ruby
rton has joined #ruby
zommi has joined #ruby
dawkirst has quit [Quit: Leaving]
robottinosino has joined #ruby
BizarreCake has joined #ruby
feedbackloop has joined #ruby
huoxito has quit [Quit: Leaving]
DonRichie has quit [Quit: Verlassend]
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kuzushi_ has quit [Ping timeout: 264 seconds]
jbpros has joined #ruby
dawkirst has joined #ruby
clocKwize has joined #ruby
clocKwize has quit [Client Quit]
andikr has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
wedgex_ has quit [Remote host closed the connection]
robscomputer has quit [Remote host closed the connection]
workmad3 has joined #ruby
KevinSjoberg has joined #ruby
pcarrier has joined #ruby
yshh has joined #ruby
brennanMKE has joined #ruby
jbpros has quit [Quit: jbpros]
pitzips has quit [Ping timeout: 264 seconds]
ttt has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
dkannan has joined #ruby
ttt has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
kuzushi_ has joined #ruby
piisalie has quit [Ping timeout: 256 seconds]
nil1511 has joined #ruby
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
Ortuna has quit [Quit: Textual IRC Client: www.textualapp.com]
nil1511_ has joined #ruby
nil1511 has quit [Read error: Connection reset by peer]
suneye has joined #ruby
infecto has quit [Ping timeout: 252 seconds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
Davey has joined #ruby
clocKwize has joined #ruby
infecto has joined #ruby
brennanMKE has quit [Remote host closed the connection]
girija has quit [Ping timeout: 256 seconds]
osvico has quit [Ping timeout: 255 seconds]
girija has joined #ruby
Upasna has joined #ruby
wroathe has joined #ruby
monkegjinni has joined #ruby
nil1511_ has quit [Read error: Connection reset by peer]
vainohelvete has joined #ruby
infecto has quit [Read error: Connection reset by peer]
infecto has joined #ruby
ckrailo has joined #ruby
rakl has joined #ruby
wroathe has quit [Ping timeout: 264 seconds]
ckrailo has quit [Client Quit]
pduin has joined #ruby
binaryplease has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
DementedInsanity has quit [Ping timeout: 264 seconds]
Upasna has left #ruby [#ruby]
ab2 has joined #ruby
ab1 has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
krainboltgreene has quit [Quit: krainboltgreene]
binaryplease has quit [Client Quit]
noop has joined #ruby
haxrbyte has joined #ruby
chandankumar has joined #ruby
monkegjinni has quit [Remote host closed the connection]
c0rn has quit [Quit: Computer has gone to sleep.]
nomenkun has quit [Remote host closed the connection]
Heero` has quit [Quit: Leaving]
foofoobar has joined #ruby
suneye has left #ruby [#ruby]
sayan has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
Leighton has joined #ruby
Elhu has joined #ruby
tvw has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
hadees has quit [Quit: hadees]
arya has quit [Ping timeout: 248 seconds]
NiteRain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
AndChat| has quit [Ping timeout: 245 seconds]
haxrbyte has quit [Remote host closed the connection]
jovy88 has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
haxrbyte has joined #ruby
Banistergalaxy has joined #ruby
jovy88 has joined #ruby
ckrailo has joined #ruby
Macaveli has joined #ruby
Hanmac has joined #ruby
arya has joined #ruby
grimfan has quit [Ping timeout: 245 seconds]
skroon has quit [Ping timeout: 264 seconds]
Hanmac1 has quit [Ping timeout: 256 seconds]
sayan has quit [Read error: Connection reset by peer]
megha has joined #ruby
baba has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
saiju has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
sayan has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
xpen has joined #ruby
filipe_ has joined #ruby
dr_bob has joined #ruby
freewizard has joined #ruby
thebastl has joined #ruby
saiju has joined #ruby
ksmth_ has joined #ruby
ksmth has quit [Read error: Connection reset by peer]
ksmth_ is now known as ksmth
Elhu has quit [Quit: Computer has gone to sleep.]
rakl has quit [Quit: sleeping]
Macaveli has quit [Read error: No route to host]
tealmage has joined #ruby
teclator has quit [Ping timeout: 252 seconds]
persand has joined #ruby
rakl has joined #ruby
rakl has quit [Max SendQ exceeded]
krz has joined #ruby
vlad_starkov has joined #ruby
rakl has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
atyz has quit [Quit: Leaving...]
brtdv has joined #ruby
epta has quit [Quit: leaving]
epta has joined #ruby
epta has quit [Client Quit]
epta has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
epta has quit [Client Quit]
epta has joined #ruby
yann_ck has joined #ruby
arya has quit [Ping timeout: 248 seconds]
freewiza_ has joined #ruby
saiju has quit [Ping timeout: 245 seconds]
piisalie has joined #ruby
bluOxigen has joined #ruby
saiju has joined #ruby
crazymykl has quit [Ping timeout: 245 seconds]
ab2 has quit [Ping timeout: 252 seconds]
crazymykl has joined #ruby
freewizard has quit [Ping timeout: 252 seconds]
mafolz has joined #ruby
pevjan has quit [Remote host closed the connection]
Squarepy has joined #ruby
foofoobar has left #ruby ["Textual IRC Client: www.textualapp.com"]
arya has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
unflores has joined #ruby
dhruvasagar has joined #ruby
tvw has quit []
sambao21 has quit [Quit: Computer has gone to sleep.]
Retistic has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
ab2 has joined #ruby
mklappstuhl has joined #ruby
nghialv2607 has joined #ruby
wroathe has joined #ruby
raphink has joined #ruby
<raphink> Hello
<raphink> how would you count the number of levels in a path?
<raphink> like "/path/to/some/dir" => 4
<r0bglees0n> split on File::SEPARATOR.
<raphink> :)
robottinosino has quit [Ping timeout: 252 seconds]
ab3 has joined #ruby
<raphink> thanks r0bglees0n
ab2 has quit [Ping timeout: 248 seconds]
<r0bglees0n> sure
<raphink> does that work on windows, too?
<r0bglees0n> it should
<r0bglees0n> i didnt test it
wroathe has quit [Ping timeout: 240 seconds]
<raphink> apparrently, I should use
<raphink> "/path/to/some/dir".split(File::ALT_SEPARATOR || File::SEPARATOR)
<raphink> so that it would take both "/" and "\" on windows
felipebalbi has joined #ruby
ksmth has quit [Ping timeout: 255 seconds]
<felipebalbi> which operator do I need to implement on my class so I can obj =~ /regex/ or obj !~ /regex/ ?? do I need implement both =~ and !~ ??
<felipebalbi> s/operator/method
skroon has joined #ruby
<canton7> raphink, split(File::ALT_SEPARATOR || File::SEPARATOR) is the same as split(File::ALT_SEPARATOR)
<canton7> since it's like saying split(''\\' || '/'), and '\\' || '/' evaluates to '\\'
ksmth has joined #ruby
chandankumar_ has joined #ruby
rickruby has quit [Remote host closed the connection]
Morkel has joined #ruby
chandankumar has quit [Ping timeout: 248 seconds]
dterei has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
atyz has joined #ruby
arya_ has joined #ruby
ab3 has quit [Ping timeout: 256 seconds]
Retistic has quit [Quit: Retistic]
arya has quit [Ping timeout: 248 seconds]
Empty_One has joined #ruby
mklappstuhl has joined #ruby
kuzushi_ has quit [Ping timeout: 264 seconds]
arya_ has quit [Ping timeout: 248 seconds]
pcarrier has quit [Quit: Computer has gone to sleep.]
evangelosavgerin has joined #ruby
pcarrier has joined #ruby
headius has joined #ruby
persand has quit [Quit: persand]
<felipebalbi> looks like implementing =~ is enough
mklappstuhl has quit [Remote host closed the connection]
arya has joined #ruby
camilasan has joined #ruby
saiju has quit [Ping timeout: 246 seconds]
saiju has joined #ruby
love_color_text has joined #ruby
djwonk has quit [Quit: djwonk]
Retistic has joined #ruby
headius has quit [Quit: headius]
felipebalbi has left #ruby [#ruby]
yshh has quit [Remote host closed the connection]
d11wtq has quit [Ping timeout: 246 seconds]
Empty_One has quit [Quit: Leaving]
Empty_One has joined #ruby
Hoyt has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
<Hoyt> Hi, how can I install gems to /usr/lib/ruby/ folder,
<Hoyt> sudo gem install --install-dir /usr/lib/ruby/gems/2.0.0 bundle doesn't work, it complains Use --install-dir or --user-install but not both
Plumm3R has joined #ruby
notwen has quit [Remote host closed the connection]
teclator has joined #ruby
Plumm3R has quit [Client Quit]
jdunck has quit [Quit: Computer has gone to sleep.]
freewiza_ has quit [Read error: Connection reset by peer]
freewizard has joined #ruby
ckrailo has quit [Ping timeout: 276 seconds]
Empty_One has quit [Quit: Leaving]
Retistic has quit [Quit: Retistic]
Empty_One has joined #ruby
ckrailo has joined #ruby
MrZYX|off is now known as MrZYX
jonathanwallace has quit [Ping timeout: 256 seconds]
<Hoyt> Solved with --no-user-install
Hoyt has quit [Quit: WeeChat 0.4.0]
hiroyuki has quit [Read error: Connection reset by peer]
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
bricker_ has joined #ruby
ab3 has joined #ruby
mikecmpbll has joined #ruby
blacktulip has joined #ruby
Eiam has quit [Ping timeout: 246 seconds]
banjara1 has joined #ruby
tealmage has joined #ruby
banjara has quit [Ping timeout: 246 seconds]
choobie has quit [Ping timeout: 246 seconds]
rdark has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
choobie has joined #ruby
maloik_ has joined #ruby
bricker has quit [Ping timeout: 246 seconds]
bitZero__ has quit [Ping timeout: 246 seconds]
wting has quit [Remote host closed the connection]
nfk has joined #ruby
wting has joined #ruby
mneorr has joined #ruby
bitZero__ has joined #ruby
vlad_starkov has joined #ruby
Cultofme_ has quit [Remote host closed the connection]
DrCode_ has joined #ruby
johnkary has quit [Quit: @johnkary]
Domon has quit [Ping timeout: 248 seconds]
Elhu has joined #ruby
tealmage has quit [Ping timeout: 245 seconds]
ab3 has quit [Ping timeout: 245 seconds]
Domon has joined #ruby
statarb3 has quit [Quit: Leaving]
DrCode has quit [Ping timeout: 276 seconds]
DrCode_ is now known as DrCode
ghr has joined #ruby
mntzn has joined #ruby
monkegjinni has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
Retistic has joined #ruby
pcarrier has quit [Quit: Computer has gone to sleep.]
<mntzn> Hello, I have the following code: http://pastie.org/7756771, which needs to timeout after 1 second, I've set http.open_timeout and http.read_timeout to 1 and do http.request, however it still takes 5 secs for it to timeout
<mntzn> How can I ensure that it will timeout exactly after 1 sec?
mahmoudimus has joined #ruby
tvw has joined #ruby
hiroyuki has joined #ruby
girija has quit [Remote host closed the connection]
brtdv has quit [Quit: brtdv]
nomenkun has joined #ruby
brtdv has joined #ruby
mklappstuhl has joined #ruby
Domon has quit [Remote host closed the connection]
pcarrier has joined #ruby
troessner has joined #ruby
browndawg has joined #ruby
wroathe has joined #ruby
pcarrier has quit [Client Quit]
westoque has joined #ruby
pcarrier has joined #ruby
dterei has quit [Quit: dterei]
mklappstuhl has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
jonathanwallace has joined #ruby
wroathe has quit [Ping timeout: 252 seconds]
AgentWillyWonka has joined #ruby
blaxter_ has joined #ruby
Domon has joined #ruby
generali_ has quit [Remote host closed the connection]
niceguyjames has joined #ruby
dkannan has quit [Quit: dkannan]
k610 has joined #ruby
jbpros has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
choobie has quit [Quit: choobie]
Neomex has joined #ruby
timmow has joined #ruby
marr has joined #ruby
infecto has quit [Ping timeout: 264 seconds]
infecto has joined #ruby
Neomex has quit [Client Quit]
MrZYX is now known as MrZYX|off
HecAtic has quit [Quit: Àá¼ö]
rickruby has joined #ruby
MrZYX|off is now known as MrZYX
browndawg has left #ruby [#ruby]
tvw has quit []
rickruby has quit [Ping timeout: 264 seconds]
elaptics`away is now known as elaptics
rakl has joined #ruby
codezombie has quit [Quit: Leaving...]
atmosx has joined #ruby
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
k611 has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
Vert has joined #ruby
sleetdrop has joined #ruby
echevemaster has quit [Quit: Leaving]
wald0 has quit [Quit: leaving]
k610 has quit [Ping timeout: 246 seconds]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby
westoque has quit [Quit: westoque]
mengu has joined #ruby
aaronmcadam has joined #ruby
saiju has quit [Ping timeout: 245 seconds]
huttan has quit [Quit: leaving]
huttan has joined #ruby
monkegjinni has quit [Remote host closed the connection]
atmosx has quit [Quit: And so the story goes…]
rakl has quit [Quit: sleeping]
tealmage has joined #ruby
love_color_text has quit [Read error: Connection reset by peer]
love_color_text has joined #ruby
kernel_panick has joined #ruby
balishag has joined #ruby
saiju has joined #ruby
vlad_starkov has joined #ruby
browndawg has joined #ruby
<kernel_panick> Hi guys! I am using this https://github.com/taf2/curb.. How can I put the method? like curl -XDELETE http://myurl .. thanks!
Squarepy has quit [Ping timeout: 256 seconds]
blaxter_ is now known as blaxter
cantonic has quit [Quit: cantonic]
cha1tanya has joined #ruby
cha1tanya has joined #ruby
tealmage has quit [Ping timeout: 248 seconds]
Palantir has joined #ruby
monkegjinni has joined #ruby
Domon has quit [*.net *.split]
nomenkun has quit [*.net *.split]
troessner has quit [*.net *.split]
Empty_One has quit [*.net *.split]
GeissT has quit [*.net *.split]
ndboost has quit [*.net *.split]
faulkner has quit [*.net *.split]
lancepantz has quit [*.net *.split]
ericwood has quit [*.net *.split]
primer^ has quit [*.net *.split]
bjeanes has quit [*.net *.split]
jarin has quit [*.net *.split]
matrixise has quit [*.net *.split]
aedornm has quit [*.net *.split]
billy_ran_away has quit [*.net *.split]
bluehavana has quit [*.net *.split]
rubycode has quit [*.net *.split]
Trenal has quit [*.net *.split]
thelamest has quit [*.net *.split]
Guest85414 has quit [*.net *.split]
sander^work has quit [*.net *.split]
bakedb has quit [*.net *.split]
kfr2 has quit [*.net *.split]
patteh has quit [*.net *.split]
ozzloy has quit [*.net *.split]
phreax has quit [*.net *.split]
ozzloy has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
bakedb has joined #ruby
patteh has joined #ruby
phreax has joined #ruby
matrixise has joined #ruby
faulkner has joined #ruby
jarin has joined #ruby
thelamest has joined #ruby
rubycode has joined #ruby
Trenal has joined #ruby
aedornm has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
bluehavana has joined #ruby
Empty_One has joined #ruby
sander^work has joined #ruby
Domon has joined #ruby
nomenkun has joined #ruby
troessner has joined #ruby
ndboost has joined #ruby
lancepantz_ has joined #ruby
lancepantz_ is now known as lancepantz
Guest85414 has joined #ruby
billy_ran_away has joined #ruby
cantonic has joined #ruby
GeissT has joined #ruby
Squarepy has joined #ruby
Virunga has joined #ruby
Squarepy has quit [Max SendQ exceeded]
Meeh_afk is now known as Meeh
ericwood has joined #ruby
Virunga has quit [Remote host closed the connection]
Squarepy has joined #ruby
tvw has joined #ruby
icecandy has joined #ruby
enriclluelles has joined #ruby
brianpWins has quit [Quit: brianpWins]
SeySayux has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
Villadelfia has quit [Ping timeout: 264 seconds]
tomzx_mac has joined #ruby
arya has quit [Ping timeout: 248 seconds]
arya has joined #ruby
SeySayux has joined #ruby
Villadelfia has joined #ruby
Squarepy has quit [Ping timeout: 252 seconds]
Squarepy has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
tvw has quit []
arya has quit [Ping timeout: 248 seconds]
julian-delphiki has quit [Read error: Connection reset by peer]
Squarepy has quit [Max SendQ exceeded]
julian-delphiki has joined #ruby
Squarepy has joined #ruby
Criztian has joined #ruby
Squarepy has quit [Max SendQ exceeded]
e-dard has joined #ruby
arya has joined #ruby
<e-dard> Hi, it appears that Array.join calls flatten or similar, e.g., [[1,2], [3, 4]].join("/") => "1/2/3/4
<e-dard> This seems unusual behaviour to me. What's the rationale? And is there a way to prevent it?
<tobiasvl> prevent what?
<MrZYX> what's your expected behaviour?
<tobiasvl> what's the expected behavior
<tobiasvl> MrZYX: ^5
<e-dard> tobiasvl: my expected behaviour would be "[1,2]/[3,4]" assuming the string representation of an array is "[x,y,…]"
Squarepy has joined #ruby
<tobiasvl> no it's not
<MrZYX> ary.map(&:to_s).join("/")
<tobiasvl> >> p [1,2,3].to_s
<eval-in> tobiasvl => "[1, 2, 3]" ... (http://eval.in/20369)
<tobiasvl> oh.
<tobiasvl> >> [1,2,3].to_s
<eval-in> tobiasvl => "[1, 2, 3]" (http://eval.in/20370)
<tobiasvl> oh.
<tobiasvl> irb(main):001:0> [1,2,3].to_s
<tobiasvl> => "123"
nesoi has joined #ruby
jamescarr has joined #ruby
<MrZYX> 18>> [1,2,3].to_s
<eval-in> MrZYX => "123" (http://eval.in/20371)
<MrZYX> you're ancient
<nesoi> to put ruby on windows, is rubyinstaller good or should I install it some other way?
<tobiasvl> MrZYX: indeed. thanks, didn't know about 18>>
<e-dard> MrZYX: I see. That solution makes sense.
jamescarr has quit [Client Quit]
Palantir has quit [Ping timeout: 245 seconds]
<nesoi> anyone have suggestions about ruby on windows (7)?
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Jelco_ has quit [Ping timeout: 260 seconds]
<Hanmac> >> [1,2,3].to_s
<eval-in> Hanmac => "[1, 2, 3]" (http://eval.in/20372)
<Hanmac> 18>> [1,2,3].to_s
<eval-in> Hanmac => "123" (http://eval.in/20373)
<Hanmac> did you guys see that?
Jelco_ has joined #ruby
<MrZYX> Hanmac: yes
jamescarr has joined #ruby
<MrZYX> (11:39:50) MrZYX: 18>> [1,2,3].to_s
Umren has quit [Ping timeout: 256 seconds]
love_color_text has quit [Remote host closed the connection]
evangelosavgerin has quit [Ping timeout: 264 seconds]
persand has joined #ruby
balishag has quit [Ping timeout: 276 seconds]
ksmth has quit [Ping timeout: 255 seconds]
ksmth has joined #ruby
Jackneill has joined #ruby
k612 has joined #ruby
k611 has quit [Ping timeout: 245 seconds]
hiroyuki has quit [Read error: Connection reset by peer]
atyz has quit [Quit: Leaving...]
slainer68 has joined #ruby
Meeh is now known as Meeh_afk
rhinux has joined #ruby
Spooner has joined #ruby
Retistic has quit [Quit: Retistic]
primer^ has joined #ruby
freeayu3 has joined #ruby
Squarepy has quit [Quit: Leaving]
jamie_ca_ has joined #ruby
jimg has joined #ruby
slainer68 has quit [Ping timeout: 255 seconds]
browndawg has quit [Quit: Leaving.]
freeayu__ has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
freeayu3 has quit [Read error: Connection reset by peer]
freeayu has joined #ruby
pystache_ has joined #ruby
jamie_ca_ has quit [Ping timeout: 246 seconds]
tealmage has joined #ruby
gyre007 has joined #ruby
statarb3 has joined #ruby
vlad_starkov has joined #ruby
jimg has quit [Ping timeout: 276 seconds]
<pystache_> hi guys, I am going to write C++ extensions for Ruby, but I need C++11 features, the problem is that they are implemented since GCC 4.7, but DevKit for ruby 1.9.3 provides a g++ 4.5. Is there a DevKit with an updated g++, for ruby 1.9.3? :)
* hoelzro wonders what DevKit is
Umren has joined #ruby
tealmage has quit [Ping timeout: 268 seconds]
<pystache_> that's what my boss asked me to use, along with ruby 1.9.3 (and not ruby 2.0). I was not restricted on a C++ standard, and used template aliases to make all my CRTP classes "look" the same way, so that I could "chain" them
vlad_starkov has quit [Ping timeout: 245 seconds]
persand has quit [Quit: persand]
Heero has quit [Ping timeout: 256 seconds]
sebastian08 has quit [Ping timeout: 276 seconds]
rakl has joined #ruby
unflores has quit [Ping timeout: 272 seconds]
mneorr has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 245 seconds]
ioNull has joined #ruby
thillux has joined #ruby
Leighton has quit [Quit: Leaving]
dhruvasagar has joined #ruby
cha1tanya has quit [Excess Flood]
slainer68 has joined #ruby
cha1tanya has joined #ruby
kimteq has quit [Remote host closed the connection]
arya_ has joined #ruby
sleetdrop has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
rickmasta has joined #ruby
arya has quit [Ping timeout: 248 seconds]
sathish316 has joined #ruby
sleetdrop has joined #ruby
cantonic has quit [Quit: cantonic]
crodas has quit [Ping timeout: 264 seconds]
pmros has joined #ruby
arya_ has quit [Disconnected by services]
monkegji_ has joined #ruby
atyz has joined #ruby
chandankumar_ has quit [Quit: Leaving]
thebastl has quit [Remote host closed the connection]
crodas has joined #ruby
rakl has quit [Quit: sleeping]
camilasan has quit [Remote host closed the connection]
monkegjinni has quit [Ping timeout: 245 seconds]
nesoi has left #ruby ["I'm a happy Miranda IM user! Get it here: http://miranda-im.org"]
enriclluelles has quit [Read error: Connection reset by peer]
noxoc has joined #ruby
enriclluelles has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
rickmasta has quit [Quit: Leaving...]
ipalaus has quit [Ping timeout: 256 seconds]
atyz has quit [Read error: Connection reset by peer]
atyz has joined #ruby
hamakn has joined #ruby
h8R has joined #ruby
arya has joined #ruby
<Spooner> pystache_, Those are the devkits we have available...
ipalaus has joined #ruby
mengu has joined #ruby
Norrin has quit [Ping timeout: 264 seconds]
freewizard has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
krz has quit [Quit: krz]
freewizard has joined #ruby
leonidlm has joined #ruby
<Spooner> pystache_, I image you could build a dll yourself and access it via the extension, but it seems like a lot of extra work just to get c++11 features.
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
ksmth has quit [Ping timeout: 252 seconds]
slainer68 has quit [Remote host closed the connection]
pietr0 has quit [Ping timeout: 264 seconds]
Meeh_afk is now known as Meeh
cih has joined #ruby
reppard has joined #ruby
reppard has quit [Client Quit]
ksmth has joined #ruby
freewizard has quit [Ping timeout: 252 seconds]
yann_ck has quit [Quit: Computer has gone to sleep.]
marienz has quit [Ping timeout: 624 seconds]
vlad_starkov has joined #ruby
mntzn has quit [Quit: Lost terminal]
mercwithamouth has joined #ruby
ipalaus has quit [Remote host closed the connection]
marten__ has joined #ruby
mikewintermute has joined #ruby
mneorr_ has joined #ruby
alexdoom has quit [Ping timeout: 245 seconds]
marten__ is now known as marten
peta_ has joined #ruby
davedev24 has joined #ruby
mneorr_ has quit [Remote host closed the connection]
jnoob22 has joined #ruby
Domon has quit [Ping timeout: 245 seconds]
davedev24 has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
arya has quit [Ping timeout: 248 seconds]
Virunga_ has joined #ruby
Norrin has joined #ruby
evangelosavgerin has joined #ruby
mixel has joined #ruby
alexdoom has joined #ruby
mikestok has joined #ruby
marienz has joined #ruby
Domon has joined #ruby
JoeTheGuest has quit [Quit: Connection closed for inactivity]
jbpros has quit [Quit: jbpros]
marr has quit [Ping timeout: 248 seconds]
Macaveli has joined #ruby
arya has joined #ruby
evangelosavgerin has quit [Ping timeout: 246 seconds]
divout has quit [Quit: Leaving.]
jbpros has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
marr has joined #ruby
bjeanes has joined #ruby
camilasan has joined #ruby
sleetdrop has quit [Ping timeout: 264 seconds]
ipalaus has joined #ruby
rhinux has quit [Quit: Konversation terminated!]
IrishGringo has joined #ruby
Domon has quit [Remote host closed the connection]
mneorr has joined #ruby
tealmage has joined #ruby
troessner has quit [Ping timeout: 276 seconds]
postmodern has quit [Quit: Leaving]
robottinosino has joined #ruby
CrazyDog is now known as Stendhal
Stendhal is now known as Bardamu
jovy88 has quit [Read error: Connection reset by peer]
Bardamu has quit [Changing host]
Bardamu has joined #ruby
PHPanos has joined #ruby
PHPanos has quit [Max SendQ exceeded]
PHPanos has joined #ruby
jovy88 has joined #ruby
browndawg has joined #ruby
cih has quit [Read error: Connection reset by peer]
tealmage has quit [Ping timeout: 252 seconds]
ExxKA has joined #ruby
teddyp1cker has joined #ruby
wallerdev has quit [Quit: wallerdev]
hamakn has quit [Remote host closed the connection]
Matip has quit [Ping timeout: 260 seconds]
persand has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
Rejanu has joined #ruby
<Rejanu> * hey
sailias has joined #ruby
jamescarr has quit [Quit: jamescarr]
unflores has joined #ruby
<Rejanu> * hey
chandankumar has joined #ruby
<MrZYX> Rejanu: hi
<Rejanu> * need some help
smlr is now known as smiler
ioNull has quit [Quit: Textual IRC Client: www.textualapp.com]
<MrZYX> let me guess: can't get rid of that * at the start of each line you say?
smiler has quit [Changing host]
smiler has joined #ruby
marwinis1 is now known as marwinism
slainer68 has joined #ruby
<Rejanu> not really
mercwithamouth has quit [Ping timeout: 256 seconds]
<Rejanu> am new here and dnt really know what to do
<Spooner> Rejanu, Ask your question. Don't waste time asking if you can ask ;)
<MrZYX> just asking your question straight away would be a good start ;)
<Rejanu> ok
<Rejanu> what is this place all about?
<Spooner> You just asked for help. That sort of implied you knew what we could help you with ;)
ramblex has joined #ruby
roadt has joined #ruby
catphish has joined #ruby
<catphish> does anyone know what IO#dup does? i'm really confused
adamjleonard has quit [Ping timeout: 252 seconds]
<hoelzro> catphish: my guess would be that it does what dup(3) does.
jamescarr has joined #ruby
mikewintermute has joined #ruby
<hoelzro> er, dup(2)
<smiler> Yup
<hoelzro> it's a system call, after all
ToApolytoXaos has joined #ruby
<Rejanu> i saw this on someone pc and wanted to know what its all about
phayte has joined #ruby
jbpros has quit [Quit: jbpros]
<catphish> hoelzro: looks like you're right, that makes sense
<Rejanu> how to use it and what to use it for
<catphish> that's really cool
<dawkirst> Here's a hypothetical situation: build a chat app using server-side code (no JavaScript or WebSockets). How would you do it?
<Spooner> Rejanu, Are you asking about IRC? #ruby? computers?
<hoelzro> dawkirst: I'd use XMPP
<smiler> Rejanu: It copies a file descriptor
<catphish> smiler: that seems to be the case, looks like linux allows you to create a second FD to the same socket
enriclluelles has quit [Read error: Connection reset by peer]
<smiler> On any FD really. Although it more like an alias than a real copy.
enriclluelles has joined #ruby
marr has quit [Ping timeout: 248 seconds]
<smiler> As an example, you can use it to implement IO redirection
<dawkirst> hoelzro, yup, that seems like the logical choice indeed
mikewintermute has quit [Remote host closed the connection]
<Rejanu> what is file descriptor?
<hoelzro> I think the only difference between the old and new FD is the close on exec flags
vlad_starkov has quit [Remote host closed the connection]
<catphish> Rejanu: try googling that, it's a bit off topic
mikewintermute has joined #ruby
hiroyuki has joined #ruby
<hoelzro> that one's better
<Rejanu> does anyone have any idea how i can get smsc
mneorr has quit [Remote host closed the connection]
xpen has quit [Remote host closed the connection]
Rejanu has left #ruby [#ruby]
<bijumon> hi, can someone suggest a good templating system for providing user themes in a webapp, i.e. i want to allow users to be able to create themes, but not execute arbitary code ala erb
<Spooner> bijumon, Liquid is "safe" non-code templating.
statarb3 has quit [Quit: Leaving]
vlad_starkov has joined #ruby
mikewintermute has quit [Remote host closed the connection]
mikewintermute has joined #ruby
slainer68 has quit [Remote host closed the connection]
<Spooner> bijumon, Mustache too.
nghialv2607 has quit [Remote host closed the connection]
<bijumon> yea but it's also doing me head in m8 :( i ran into all sort of errors with liquid
jbpros has joined #ruby
kofno has joined #ruby
<pystache_> Spooner: problem is I already developped my stuff in C++11 and wanted to adapt it for ruby. Do you know why there is no ruby 1.9.3 dev kit with g++ 4.7? Or if there is an update available somewhere in a deep secret place? :p
marr has joined #ruby
<bijumon> Spooner: And I'm kinda stumped about implementing a 'theme' system on top of mustache :(
<Spooner> pystache_, I doubt there are more. As I said, you could create the DLL yourself and use something like FFI to interface to it.
wallerdev has joined #ruby
catphish has left #ruby ["Leaving"]
<pystache_> Spooner: ok, I gonna try it, thx :)
<Spooner> bijumon, Jekyll uses Liquid by default, if that helps.
mengu has quit [Quit: This computer has gone to sleep]
<bijumon> Spooner: who's Jekyll?
<Spooner> bijumon, http://jekyllrb.com/
<pystache_> someone well Hidden?
sonofzeus has joined #ruby
dr_bob has quit [Read error: Connection reset by peer]
<sonofzeus> hey there
zommi has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
atmosx has joined #ruby
atmosx has quit [Client Quit]
<bijumon> Spooner: pystache_: ;)
mneorr has joined #ruby
browndawg has joined #ruby
sonofzeus has quit [Client Quit]
moos3 has joined #ruby
thelamest has quit [Quit: rebook]
sailias has joined #ruby
thelamest has joined #ruby
eka has joined #ruby
thillux has quit [Ping timeout: 256 seconds]
atmosx has joined #ruby
hiroyuki has quit [Read error: Connection reset by peer]
hiroyuki has joined #ruby
haxrbyte has quit [Ping timeout: 252 seconds]
m8 has joined #ruby
haxrbyte has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
brennanMKE has joined #ruby
yalue has joined #ruby
marr has quit [Ping timeout: 256 seconds]
marr has joined #ruby
saiju has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Ping timeout: 256 seconds]
BizarreCake has quit [Read error: Connection reset by peer]
hadees has joined #ruby
sailias has quit [Quit: Leaving.]
arya has quit [Ping timeout: 248 seconds]
mark_locklear has joined #ruby
cantonic has joined #ruby
atmosx has quit [Quit: And so the story goes…]
araujo has quit [Ping timeout: 255 seconds]
DaemonAU has joined #ruby
arya has joined #ruby
ksmth has quit []
tonini has joined #ruby
saiju has joined #ruby
Virunga_ is now known as Brutus-
blaxter has quit [Ping timeout: 245 seconds]
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
mneorr has quit [Remote host closed the connection]
snuglepuss has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
jamescarr has quit [Quit: jamescarr]
mljsimone has joined #ruby
rton has left #ruby [#ruby]
browndawg has quit [Ping timeout: 245 seconds]
swex has joined #ruby
ipalaus has quit [Quit: Computer has gone to sleep.]
troessner has joined #ruby
spalenza has joined #ruby
sleetdrop has joined #ruby
Flexa has joined #ruby
Targen has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
mneorr has joined #ruby
mikestok has quit [Quit: Computer has gone to sleep.]
pi3r has joined #ruby
forlin has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
eka has joined #ruby
marr has quit [Ping timeout: 276 seconds]
spalenza has quit [Remote host closed the connection]
nari_ has joined #ruby
spalenza has joined #ruby
staafl has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
yannis has joined #ruby
nghialv2607 has joined #ruby
jonathanwallace has joined #ruby
mljsimone has quit [Ping timeout: 264 seconds]
spalenza has quit [Remote host closed the connection]
spalenza has joined #ruby
Hanmac has joined #ruby
cha1tanya has quit [Quit: Leaving]
akhet has joined #ruby
akhet has joined #ruby
jovy88 has quit [Ping timeout: 252 seconds]
spalenza has quit [Client Quit]
spalenza has joined #ruby
jerius has joined #ruby
jonathanwallace has quit [Ping timeout: 256 seconds]
corehook has quit [Ping timeout: 264 seconds]
Empty_One has quit [Ping timeout: 260 seconds]
m8 has quit [Quit: Sto andando via]
m8 has joined #ruby
browndawg has quit [Ping timeout: 248 seconds]
jmeeuwen has quit [Ping timeout: 264 seconds]
spalenza has quit [Client Quit]
mikestok has joined #ruby
mixel has quit [Quit: mixel]
idkazuma has joined #ruby
idkazuma has quit [Remote host closed the connection]
AndChat| has joined #ruby
DonRichie has joined #ruby
mixel has joined #ruby
haxrbyte has quit [Remote host closed the connection]
marr has joined #ruby
haxrbyte has joined #ruby
Banistergalaxy has quit [Ping timeout: 252 seconds]
freewizard has joined #ruby
infecto has quit [Read error: Operation timed out]
infecto has joined #ruby
machuga|away is now known as machuga
mavcunha has joined #ruby
tyl has joined #ruby
rickmasta has joined #ruby
mavcunha_ has joined #ruby
robottinosino has quit [Ping timeout: 276 seconds]
pmros has quit [Quit: Konversation terminated!]
ravster has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
geekbri has joined #ruby
jamescarr has joined #ruby
tealmage has joined #ruby
bubblehead has joined #ruby
freewizard has quit [Ping timeout: 245 seconds]
mavcunha has quit [Read error: Operation timed out]
Criztian has quit [Remote host closed the connection]
robottinosino has joined #ruby
jmeeuwen has joined #ruby
drodicus1 is now known as drodicus
tomzx_mac has quit [Ping timeout: 252 seconds]
mavcunha_ has quit [Quit: Computer has gone to sleep.]
mljsimone has joined #ruby
vlad_starkov has joined #ruby
slainer68 has joined #ruby
marr has quit [Ping timeout: 264 seconds]
spalenza has joined #ruby
spalenza has quit [Remote host closed the connection]
tonini has quit [Remote host closed the connection]
robottinosino has quit [Excess Flood]
marr has joined #ruby
tesuki has joined #ruby
kernel_panick has quit [Quit: Leaving]
spalenza has joined #ruby
sailias1 has joined #ruby
davedev24 has joined #ruby
slainer68 has quit [Ping timeout: 264 seconds]
jgarvey has joined #ruby
bluenemo has quit [Quit: Verlassend]
tk_ has joined #ruby
krawchyk has joined #ruby
browndawg has joined #ruby
ZachBeta has quit [Quit: Computer has gone to sleep.]
pooriaazimi has joined #ruby
brtdv has quit [Ping timeout: 264 seconds]
rgbdev has joined #ruby
freerobby has joined #ruby
yannis has quit [Quit: Bye!]
kobain has joined #ruby
Coffers has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
nahiluhmot has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
smigg has joined #ruby
solidoodlesuppor has joined #ruby
rangle has quit [Quit: Textual IRC Client: www.textualapp.com]
wolcanus has joined #ruby
wolcanus has quit [Remote host closed the connection]
dmiller has joined #ruby
rangle has joined #ruby
rangle has quit [Max SendQ exceeded]
wolcanus has joined #ruby
Macaveli has quit [Quit: Leaving]
yann_ck has joined #ruby
CamonZ_afk has quit [Quit: Linkinus - http://linkinus.com]
lufi has quit [Excess Flood]
lufi has joined #ruby
_nitti has joined #ruby
kristofers has joined #ruby
danslo has joined #ruby
PHPanos has quit [Quit: Textual IRC Client: www.textualapp.com]
dmiller has quit [Ping timeout: 268 seconds]
arya has quit [Ping timeout: 248 seconds]
IrishGringo has quit [Remote host closed the connection]
robottinosino has joined #ruby
joofsh has joined #ruby
Macaveli has joined #ruby
splittingred has joined #ruby
codecop has quit [Remote host closed the connection]
mmitchell has joined #ruby
marr has quit [Ping timeout: 252 seconds]
arya has joined #ruby
ffranz has joined #ruby
swills has joined #ruby
hesco has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
<swills> does anyone happen to know if any OSs that have switched to ruby 1.9 by default? or any that even provide a 2.0 package?
* hoelzro beats Arch has a 2.0 package
hesco has joined #ruby
<hoelzro> the official ruby package for Arch is apparently 2.0
<swills> the default one?
wmoxam has joined #ruby
<tobiasvl> fedora has 1.9
<hoelzro> swills: mhmm
<swills> by default?
<hoelzro> sudo pacman -S ruby is 2.0
<swills> that's crazy
ariedler has joined #ruby
robottinosino has quit [Read error: Connection reset by peer]
<hoelzro> it's Arch =)
<swills> hehe
<swills> tobiasvl: is that the default ruby?
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
vlad_starkov has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
nahiluhmot has quit [Remote host closed the connection]
ndboost has quit [Remote host closed the connection]
Macaveli has quit [Quit: Leaving]
tyl has quit [Ping timeout: 264 seconds]
Todd has joined #ruby
joofsh has quit [Remote host closed the connection]
cmarques has joined #ruby
hesco has quit [Read error: Connection reset by peer]
sukima has left #ruby [#ruby]
epsylon has quit [Quit: ZNC - http://znc.in]
hesco has joined #ruby
sayan has quit [Read error: Connection reset by peer]
LaPetiteFromage has joined #ruby
chandankumar has quit [Quit: Leaving]
breakingthings has joined #ruby
Targen has joined #ruby
jonathanwallace has joined #ruby
radic has joined #ruby
<ariedler> >_> anyone know of a simple blogging platform that supports ruby code block highlighting
marr has joined #ruby
nari_ has quit [Ping timeout: 268 seconds]
pitzips has joined #ruby
pitzips_ has joined #ruby
nezumi has quit [Ping timeout: 256 seconds]
pitzips has quit [Client Quit]
pitzips_ has quit [Client Quit]
io_syl has joined #ruby
freerobby has joined #ruby
jonathanwallace has quit [Ping timeout: 256 seconds]
joschi has quit [Ping timeout: 256 seconds]
dmiller has joined #ruby
benwoody has left #ruby [#ruby]
joofsh has joined #ruby
joschi has joined #ruby
Meeh is now known as Meeh_afk
<whowantstolivefo> heya guys
BizarreCake has joined #ruby
<whowantstolivefo> since my buddies suggest me to learn true way of programming , i have been work with ruby koans, im at >>> your path thus far [..........X_______________________________________] 61/281<<< it is so funny, amazing, and more helpful for learning fundamentals of ruby , thank you guys
mavcunha has joined #ruby
<linduxed> whowantstolivefo: my only comment on that would be the following:
marr has quit [Ping timeout: 252 seconds]
akashj87 has joined #ruby
<linduxed> whowantstolivefo: when i finished the koans, i understood more of the language and its intricacies, but i still coulnd't formulate thought into code
<linduxed> whowantstolivefo: as soon as you're done start a small project, anything
<linduxed> whowantstolivefo: code LOTS
marr has joined #ruby
joofsh has quit [Remote host closed the connection]
freewizard has joined #ruby
akells` has joined #ruby
vlad_starkov has joined #ruby
nahiluhmot has joined #ruby
skattyadz has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
alexdoom has quit [Changing host]
alexdoom has joined #ruby
nahiluhmot has quit [Read error: Connection reset by peer]
mavcunha has quit [Client Quit]
danslo has quit [Quit: danslo]
jbpros has quit [Quit: jbpros]
eddiezane has joined #ruby
<whowantstolivefo> linduxed: you are right, i m learning and at the same i digg commands from ruby core , and at the same time i use commands at irb... i am being happy, cant wait to the day of i can be a rubyist :)
LaPetiteFromage_ has joined #ruby
LaPetiteFromage has quit [Ping timeout: 268 seconds]
LaPetiteFromage_ is now known as LaPetiteFromage
theRoUS has quit [Ping timeout: 255 seconds]
<linduxed> whowantstolivefo: as long as you learn and start _creating_ you'll get there
Palantir has joined #ruby
<whowantstolivefo> linduxed: i gave myself date... until end of summer i will learn basics and fundamentals of programming , and end of the summer, i will write a simple project and so go on .. that my education plan
danslo has joined #ruby
<linduxed> whowantstolivefo: stick to it then
<linduxed> whowantstolivefo: sounds good
eddiezane has left #ruby ["WeeChat 0.4.0"]
_nitti has quit [Remote host closed the connection]
rickruby has joined #ruby
freewizard has quit [Ping timeout: 245 seconds]
<linduxed> whowantstolivefo: what sources do you have apart from rubykoans?
<whowantstolivefo> linduxed: im sticking and digging everything :) my wife get smile at me because she think i cant be a programmer after 28-29 years old :)
wroathe has joined #ruby
robottinosino has joined #ruby
<linduxed> that's nonsense
<ericwood> everyone knows that programming abilities die off after you turn 40
<ericwood> my retirement plan is to live fast and die young
<whowantstolivefo> linduxed: nothing now , i was at codecademy and nothing :) last 2 week i gave my time to rubykoans, and i will finish it, after i will ask to my friends same as you, for what should i do next
anonymuse has joined #ruby
tvw has joined #ruby
<linduxed> whowantstolivefo: the only important thing is that you diligently learn all this stuff
<ericwood> build a simple web app in sinatra
<linduxed> ericwood: i don't think he's there yet
<ericwood> meh!
<whowantstolivefo> linduxed: thanks for advice! brb
<ericwood> the next step should be to start a company and disrupt some industry
pooriaazimi has quit [Quit: pooriaazimi]
swills has left #ruby [#ruby]
nahiluhmot has joined #ruby
failshell has joined #ruby
jcromartie has joined #ruby
osvico has joined #ruby
sailias1 has left #ruby ["PART #schemaverse :PART #funci :PART #bitmaker :PART #ruby-lang :PART #RubyOnRails :QUIT :Leaving."]
jtharris has joined #ruby
<jaybe> hi. admitted newb here. so i'm wanting to learn about and play around with rails. totally new to it. can i do so in a local environment without installing/using something such as passenger and a web server like nginx? or is that a required part of framework regardless?
robottinosino has quit [Ping timeout: 252 seconds]
Macaveli has joined #ruby
<ericwood> jaybe: yes
<ericwood> rails comes with a tiny web server (webbrick) that runs locally
<ericwood> I suggest going through the rails guides, they'll teach you everything you need to know getting started
k612 has quit [Read error: Connection reset by peer]
nahiluhmot has quit [Read error: Connection reset by peer]
<jaybe> ericwood, indeed; have a guide(s) you would suggest?
<linduxed> jaybe: what ericwood said. also, if you haven't done any rails before, this is a very nice guide: http://railsforzombies.org/
k612 has joined #ruby
yashshah- has joined #ruby
<jaybe> ericwood, so for testing out/playing with an app… and the next step is 'deploy this app to whatever app server you prefer… i can do this with the local webrick to keep it simple and just check things out?
<ericwood> jaybe: google "rails guides"
joofsh has joined #ruby
<ericwood> jaybe: you can deploy to a service like heroku when you're ready to share your stuff with the world
<ericwood> jaybe: but since you're just getting started don't worry about such things yet...
niklasb has joined #ruby
<ericwood> jaybe: no more questions until you read this: http://guides.rubyonrails.org/getting_started.html
mixel has quit [Quit: mixel]
sailias has joined #ruby
sailias has quit [Remote host closed the connection]
sailias has joined #ruby
<jaybe> ericwood, i'm experienced with serving and technologies, some programming, etc. … just recently stepping into ruby/rails, etc. have VPS' at disposal, etc. however, for now, just playing around locally to learn stuff. will do re: reading the guides next. thanks
monkegji_ has quit [Ping timeout: 252 seconds]
teddyp1cker has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
yashshah- has quit [Read error: Connection reset by peer]
cantonic has quit [Ping timeout: 264 seconds]
<ericwood> you can just do "rails server" and it'll spin up a webbrick instance to serve your app locally
justsee has quit [Ping timeout: 245 seconds]
nghialv2_ has joined #ruby
kuzushi has joined #ruby
Vert has quit [Ping timeout: 252 seconds]
nghialv2607 has quit [Ping timeout: 245 seconds]
<jaybe> heh now that's what i'm talking about.
tesuki_ has joined #ruby
clocKwize has quit [Quit: clocKwize]
<jaybe> i will read/study/learn the guides though; promise. i just wanted a little taste. :)
<jaybe> the app spun right up. lovely.
idkazuma has joined #ruby
<ericwood> you're now set to conquer the internet
sailias has quit [Client Quit]
moos3 has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
<jaybe> good/bad/otherwise, i know myself. i have to sometimes entice myself in order to properly motivate myself to dig in and dedicate to the learning. whetting my whistle quickly and getting a taste helps sometimes.
nahiluhmot has joined #ruby
tesuki has quit [Ping timeout: 245 seconds]
moos3 has joined #ruby
radic has quit [Ping timeout: 264 seconds]
marr has quit [Ping timeout: 245 seconds]
ptulskie has joined #ruby
casheew has quit [Read error: Connection reset by peer]
nahiluhmot has quit [Read error: Connection reset by peer]
casheew has joined #ruby
sailias has quit [Client Quit]
Empty_One has joined #ruby
sailias has joined #ruby
Mattix has joined #ruby
pitzips has joined #ruby
sailias has quit [Client Quit]
nesoi has joined #ruby
sailias has joined #ruby
ravster has left #ruby [#ruby]
johnmilton has joined #ruby
<nesoi> I'm reinstalling everything on a system that crashed, and I'm getting this error although I already installed the required gem:
<nesoi> Please install the mysql adapter: `gem install activerecord-mysql-adapter` (cann
<nesoi> ot load such file -- mysql/mysql_api) (LoadError)
<nesoi> from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
<nesoi> n `require'
<nesoi> sorry for the multiple lines!
chiel has joined #ruby
<nesoi> any idea how to fix that?
<Todd> gem install activerecord-mysql-adapter ?
<nesoi> yes, I did that
<nesoi> and it still gives the same error
lufi has quit [Excess Flood]
chrishough has joined #ruby
<Todd> did you get errors?
<nesoi> not on the gem install
danslo has quit [Quit: danslo]
Davey has joined #ruby
Palantir has quit [Ping timeout: 245 seconds]
teclator has quit [Ping timeout: 245 seconds]
lufi has joined #ruby
joofsh has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 248 seconds]
Macaveli has quit [Read error: Connection reset by peer]
<nesoi> seems to be installing an awfully early version though...
<nesoi> Successfully installed activerecord-mysql-adapter-0.0.1
<nesoi> 1 gem installed
wolcanus has quit [Remote host closed the connection]
idkazuma has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 256 seconds]
<nesoi> 0.0.1?
<Todd> the answer seems to be to use the mysql2 adapter per stackoverflow..
alex__c2022 has joined #ruby
<Todd> hey
mklappstuhl has joined #ruby
<Todd> er.. wrong window
jnoob22 has quit [Remote host closed the connection]
mneorr_ has joined #ruby
jnoob22 has joined #ruby
sambao21 has joined #ruby
mneorr has quit [Ping timeout: 260 seconds]
wolcanus has joined #ruby
yfeldblum has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
wesside has joined #ruby
nate_h has quit [Ping timeout: 245 seconds]
marr has joined #ruby
skattyadz has quit [Quit: skattyadz]
acrussell has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
<nesoi> for some reason mysql2 didn't work
monkegji_ has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<jaybe> ericwood, this is some ridiculously wicked stuff. wow. ok whistle whetted. :)
<ericwood> go forth and internet
<jaybe> ericwood, thanks for the push/bones
<nesoi> same problem
<ericwood> #rubyonrails will provide more help in #ruby, btw
tesuki_ has quit [Read error: No route to host]
<nesoi> I install it, and it keeps asking for it
nricciar has quit [Quit: Leaving]
tesuki has joined #ruby
<jaybe> i know; i purposely asked in here. :) sound reasoning proven.
<nesoi> Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter(126: The specified module could not be found.
<nesoi> Successfully installed mysql2-0.3.11-x86-mingw32
<nesoi> 1 gem installed
<nesoi> and then the same error
ExxKA has quit [Quit: This computer has gone to sleep]
<nesoi> could I be missing some other gems that are causing this error by their absence?
hiyakashi has joined #ruby
<nesoi> or maybe my ruby version is too high for what I'm doing? I don't remember what version I had before
atyz has quit [Quit: Leaving...]
pskosinski has joined #ruby
niklasb has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
<Todd> could be an environment thing
<nesoi> how would I diagnose it?
apok has joined #ruby
<Todd> but since you're on windows I'm lost in that regard
mneorr_ has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
<nesoi> me too. I just went from xp to win 7 and it's causing all kinds of problems
<Todd> I would recommend that you install linux but that might cause and uproar. ;)
<nesoi> it worked fine on xp
<Todd> I spent about a week getting out automated suite running on out QA staff's windows laptops
johnnyfuchs has joined #ruby
<Todd> I've never been so miserable :/
josedonizetti has joined #ruby
rgbdev has quit [Quit: rgbdev]
codecop has joined #ruby
<nesoi> any clues here? http://pastebin.com/1cJPXcUa
theRoUS has joined #ruby
theRoUS has joined #ruby
graeme has joined #ruby
joofsh has joined #ruby
<nesoi> I'm looking at the file it mentions, and it's where it said it lookd for it
Nisstyre has joined #ruby
adamjleonard has joined #ruby
s2013 has joined #ruby
_nitti has joined #ruby
<nesoi> I also changed all the privs to full control for world
d2dchat has joined #ruby
jlast has joined #ruby
marr has quit [Ping timeout: 276 seconds]
BizarreCake has quit [Ping timeout: 248 seconds]
BizarreCake has joined #ruby
Mon_Ouie has joined #ruby
jbpros has joined #ruby
<MrZYX> nesoi: install the mysql2 gem
<nesoi> MrZYX : I did. it keeps asking for it after it's there
<MrZYX> gem install mysql2
<MrZYX> not activerecord-mysql2-adapter
ipalaus has joined #ruby
ipalaus has joined #ruby
ipalaus has quit [Changing host]
<nesoi> I did that
<nesoi> same error
<MrZYX> not using bundler?
browndawg has joined #ruby
<nesoi> what's bundler?
<ericwood> lol
<wmoxam> BLUNDER
<nesoi> this is an installation from ruby installer for windows
Criztian has joined #ruby
<ericwood> it makes installing gems simple
<MrZYX> as if I'd know anything about windows.... :P
<ericwood> on a per-project basis
centipedefarmer has joined #ruby
horse has quit []
<nesoi> probably not
<MrZYX> so no Gemfile/Gemfile.lock files?
infecto has quit [Ping timeout: 245 seconds]
<nesoi> the ruby installer site is oddly vague about what's included
<nesoi> where would they be?
<ericwood> in the root directory of the project in question
infecto has joined #ruby
<nesoi> no Gemfile/Gemfile.lock
<ericwood> that means no bundler
Nisstyre has quit [Ping timeout: 264 seconds]
<MrZYX> gem which mysql2 is saying what?
Empty_One has quit [Quit: Leaving]
enriclluelles has quit [Read error: Connection reset by peer]
enricllu_ has joined #ruby
radic has joined #ruby
jbpros has quit [Quit: jbpros]
<MrZYX> nesoi: ^
bitri has joined #ruby
Mattix has quit [Ping timeout: 268 seconds]
marr has joined #ruby
freerobby has quit [Quit: Leaving.]
freewizard has joined #ruby
adamjleonard has quit [Read error: Connection reset by peer]
tommyvyo has joined #ruby
casheew has quit [Read error: Connection reset by peer]
adamjleonard has joined #ruby
casheew has joined #ruby
ndboost has joined #ruby
ipalaus has quit [Quit: Textual IRC Client: www.textualapp.com]
pitzips has quit [Ping timeout: 264 seconds]
nahiluhmot has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<nesoi> ah progress. I seem to have been missing a dll which had to be added separately somehow
<nesoi> now it just can't connect :(
<nesoi> which is odd because when I manually connect using the same info, it works
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
evenix has joined #ruby
<whowantstolivefo> MrZYX: im keep digggin ruby koans and i am at here >>> your path thus far [............X_____________________________________] 68/281 :)
freeayu has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
freewizard has quit [Ping timeout: 245 seconds]
evenix has joined #ruby
v0n has joined #ruby
Mattix has joined #ruby
casheew has joined #ruby
<nesoi> if I'm using yaml, activerecord, activesupport and pp, what gems do I need to install?
<nesoi> sorry active_record and active_support/all
<MrZYX> activerecord and activesupport
rton has joined #ruby
casheew has quit [Read error: Connection reset by peer]
baba has joined #ruby
adamjleonard has quit [Read error: Connection reset by peer]
<nesoi> hm... at this point I don't know how to diagnose this... if I manually connect to the mysql database using the same info it has in the yml file, it works. but running the program (which used to work on the other machine) says it can't connect
megha has quit [Ping timeout: 252 seconds]
<MrZYX> #rubyonrails might have more experience with troubleshooting activerecord
yshh has joined #ruby
JMcAfreak has joined #ruby
wedgex has joined #ruby
casheew has joined #ruby
leonidlm has quit [Ping timeout: 264 seconds]
theRoUS has quit [Ping timeout: 252 seconds]
manutter has joined #ruby
chrisramon has joined #ruby
binaryplease has joined #ruby
MrZYX is now known as MrZYX|off
balishag has joined #ruby
rgbdev has joined #ruby
apok has quit [Quit: apok]
MrZYX|off is now known as MrZYX
manutter has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
manutter has joined #ruby
LaPetiteFromage has quit [Ping timeout: 256 seconds]
cgcardona has joined #ruby
marr has quit [Ping timeout: 264 seconds]
LaPetiteFromage has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
emptymag00 has joined #ruby
marr has joined #ruby
dr_bob has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
pietr0 has joined #ruby
persand has quit [Quit: persand]
pduin has quit [Remote host closed the connection]
Proshot has joined #ruby
<nesoi> if I want to run migrations, do I need to install some gems first? rake db:migrate is saying it doesn't know how to build db:migrate
bean has joined #ruby
timonv has quit [Remote host closed the connection]
Kricir has joined #ruby
netcarver has joined #ruby
atyz has joined #ruby
stkowski has joined #ruby
Vert has joined #ruby
jonathanwallace has joined #ruby
Meeh_afk is now known as Meeh
zifeitong has joined #ruby
freerobby has joined #ruby
rgbdev has quit [Quit: rgbdev]
Mon_Ouie has quit [Ping timeout: 264 seconds]
freewizard has joined #ruby
rhannequin has joined #ruby
zifeitong has quit [Remote host closed the connection]
zifeitong has joined #ruby
zifeitong has quit [Max SendQ exceeded]
_bart has joined #ruby
juarlex has joined #ruby
zifeitong has joined #ruby
zifeitong has quit [Max SendQ exceeded]
<rhannequin> Hello. I'm trying to install Rails in my ubuntu. When I do "gem install rails", it is trying to install gems for ruby version 1.9.1. But I installed ruby 1.9.3 with rvm, why does rails try to get ruby 1.9.1?
sambao21 has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
zifeitong has joined #ruby
zifeitong has quit [Max SendQ exceeded]
<Sou|cutter> rhannequin: are you -using- 1.9.3 ?
<Sou|cutter> rhannequin: ruby -v
<Sou|cutter> rvm info
zifeitong has joined #ruby
zifeitong has quit [Max SendQ exceeded]
<_bart> Hej da
apod has joined #ruby
zifeitong has joined #ruby
<rhannequin> Sou|cutter: ruby -v ==> 1.9.3p194
zifeitong has quit [Max SendQ exceeded]
unflores has quit [Quit: unflores]
rakl has joined #ruby
skroon has quit [Ping timeout: 245 seconds]
<rhannequin> Sou|cutter: but... rvm list gives me 1.9.3p392... wtf
<_bart> I think I found a bug in Addressable URI parser, it's parsing "http://www.google.com -" wrong
sleetdrop has quit [Quit: Computer has gone to sleep.]
freewizard has quit [Ping timeout: 245 seconds]
freerobby has quit [Ping timeout: 256 seconds]
<Sou|cutter> rhannequin: try rvm reload maybe?
jonathanwallace has quit [Ping timeout: 252 seconds]
theRoUS has joined #ruby
<MrZYX> rhannequin: Sou|cutter the 1.9.1 in the paths is the ABI version not the interpreter one
pandawarrior has joined #ruby
rismoney has joined #ruby
<pandawarrior> hi all, i'm wondering if there's a way to check to see is a class responds to a particular method type. but only that class, i'm not interested if it has a methods via inheritence..
carlyle has joined #ruby
D4T has joined #ruby
<pandawarrior> i tried (ClassName.methods.sort - Object.methods.sort).respond_to? :send
<rhannequin> Sou|cutter: what I don't understand is why do I have two versions of ruby? 1.9.3p194 with "ruby -v" and 1.9.3p392 with "rvm list"
<pandawarrior> i though it would return false, but it didn't
sleetdrop has joined #ruby
<pandawarrior> any suggestions?
tesuki has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
<_bart> Anyone an idea, how do I remove the ' -' from the host, or should I create a bug ticket for this? https://gist.github.com/bartolsthoorn/5509805
<MrZYX> pandawarrior: Class.instance_methods(false).include? :foo iirc
baroquebobcat has joined #ruby
kemist has joined #ruby
<pandawarrior> would that work for class methods?
tootubular has joined #ruby
alex__c2022_ has joined #ruby
<pandawarrior> yes
<pandawarrior> yes it does
kemist has quit [Remote host closed the connection]
netcarver has quit [Quit: Leaving]
alex__c2022 has quit [Read error: Operation timed out]
alex__c2022_ is now known as alex__c2022
<pandawarrior> thank you
<pandawarrior> MrZYX: cheers
kemist has joined #ruby
<MrZYX> pandawarrior: for class methods Class.respond_to? :foo, false
sailias has quit [Ping timeout: 245 seconds]
DarthGandalf has joined #ruby
manutter has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
<pandawarrior> MrZYX: that comes back as true because the class inherits from Object
znake has joined #ruby
<rhannequin> Sou|cutter: I don't know why but it seems ruby has also been installed with apt-get. I removed it and now I have the right version with both "rvm list" and "ruby -v".
Mon_Ouie has quit [Ping timeout: 256 seconds]
mockra has quit [Remote host closed the connection]
<MrZYX> oh, the second parameter there is private vs public, nvm
camilasan has quit [Remote host closed the connection]
toddWork has quit [Quit: toddWork]
nomenkun has quit [Ping timeout: 245 seconds]
<pandawarrior> MrZYX: sorry, i don't follow what you mean...
mockra has joined #ruby
noop has quit [Remote host closed the connection]
sailias has joined #ruby
marr has quit [Ping timeout: 248 seconds]
LaPetiteFromage_ has joined #ruby
marr has joined #ruby
LaPetiteFromage has quit [Ping timeout: 255 seconds]
LaPetiteFromage_ is now known as LaPetiteFromage
aapzak has left #ruby [#ruby]
<pandawarrior> still comes back at true…
tylersmith has joined #ruby
<MrZYX> yes, I said nvm
<pandawarrior> nvm?
evangelosavgerin has joined #ruby
<MrZYX> nevermind
sathish316 has quit [Quit: Leaving.]
timkohrumel has joined #ruby
toddWork_ has joined #ruby
DrCode has quit [Ping timeout: 276 seconds]
rickruby has quit [Remote host closed the connection]
<MrZYX> pandawarrior: btw, so you're checking if a method was overwritten?
Seus has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.0]
rakl has quit [Quit: sleeping]
binaryplease has joined #ruby
blaxter has quit [Ping timeout: 264 seconds]
<pandawarrior> MrZYX: not, i've not checked for that
DrCode has joined #ruby
<pandawarrior> but on the class, is only one method
<pandawarrior> send_shipment_ready
<pandawarrior> so it's unlikely that it's being overidden
tspike has joined #ruby
<MrZYX> so, why do you need to exclude the inherited methods before checking if the class responds to it?
<jcromartie> I'm trying to set up Ruby 1.9, gems, etc., on an Amazon EC2 machine.
<pandawarrior> well,
<jcromartie> I have Ruby installed and "working" but there are problems with various things, like running gem install fails on rdoc with "cannot load such file -- rdoc/rdoc"
<pandawarrior> it's a sinatra app and i want to redirect the user to an error route if the class doesn't respond to a method
codezombie has joined #ruby
<pandawarrior> and i'm testing if this happens when the user types in 'sen' rather than 'send_shipment_ready'
<jcromartie> also no header files for native extensions… :( what a freaking mess
woolite64 has joined #ruby
<pandawarrior> but it's not redirecting because the class does respond to send, due to ruby Object
rhannequin has left #ruby [#ruby]
D4T has quit [Quit: Textual IRC Client: www.textualapp.com]
<MrZYX> so you're passing user input to send?
carlyle has quit [Remote host closed the connection]
<MrZYX> or invoke methods on Classes specified by the user?
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
<pandawarrior> so, i'm sending user input the the class, as the class does have a #send_shipment_ready method, but does not have a #send method
<pandawarrior> MrZYX: the latter
binaryplease has quit [Quit: WeeChat 0.4.0]
Heero has quit [Ping timeout: 252 seconds]
chandankumar has joined #ruby
freerobby has joined #ruby
carlyle has joined #ruby
<MrZYX> I hope you whitelist that
Proshot has quit [Quit: Leaving]
wedgex has quit [Remote host closed the connection]
mengu has joined #ruby
josedonizetti has quit [Ping timeout: 268 seconds]
<pandawarrior> not just yet, i'm just wiring everything up for now
ndboost has quit [Ping timeout: 245 seconds]
<MrZYX> input validation should come first
<pandawarrior> i'll whitelist after i get the basic structure
ndboost has joined #ruby
<pandawarrior> ...
<MrZYX> making it nice after
<pandawarrior> ...
<MrZYX> you only forget to do it otherwise
<pandawarrior> just so i'm super sure what you mean....
casheew has quit [Read error: Connection reset by peer]
wedgex has joined #ruby
k612 has quit [Ping timeout: 248 seconds]
<MrZYX> when still building the structure I usually try to avoid the need for whitelists and the such
<pandawarrior> when you say whitelist, you mean, like a case statement/if statement that throughs an exception if i don't like the input?
brennanMKE has joined #ruby
<MrZYX> yep
<pandawarrior> ..
tealmage has quit [Remote host closed the connection]
elux has joined #ruby
<pandawarrior> i guess i could add #send to the wl and then just send the symbol to the class, knowing that it will definitely respond to the symbol.
<MrZYX> like you got param[:dest], you do {'a' => A, 'b' => B}[param[:dest]] instead of Object.const_get(param[:dest].capitalize)
josedonizetti has joined #ruby
<MrZYX> no you whitelist the possible classes and then just assume it responds to it
casheew has joined #ruby
<pandawarrior> there's only ever going to be one class
Elhu has quit [Quit: Computer has gone to sleep.]
raphink has quit [Quit: Leaving]
<MrZYX> why does the user need to specify it then?
freewizard has joined #ruby
graeme has quit [Quit: graeme]
d11wtq has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
senayar has quit [Remote host closed the connection]
Davey has joined #ruby
werdnativ has quit [Quit: werdnativ]
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<pandawarrior> they don't
<pandawarrior> they just send the message_type
<pandawarrior> and i check to see if the message_type can be responded to
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
<MrZYX> so you're passing user input into send
jbpros has joined #ruby
freewizard has quit [Ping timeout: 255 seconds]
<pandawarrior> no, i'm testing that when the user inputs #send, they get redirected to an error route
monkegji_ has quit [Ping timeout: 245 seconds]
<MrZYX> same game: MyClass.public_send({'a' => :a, 'b' => :b}[params[:message]])
<pandawarrior> ummm
yann_ck has quit [Read error: Operation timed out]
wolcanus has joined #ruby
robscomputer_ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
skattyadz has joined #ruby
timkohrumel has quit [Remote host closed the connection]
allsystemsarego has joined #ruby
<MrZYX> of course you fetch it from the hash earlier, check if it's nil -> error route
<pandawarrior> right
<pandawarrior> although i'd have to use something other than public send or change all my methods to instance ones
freewizard has joined #ruby
<MrZYX> >> Hash.public_send :new
<eval-in> MrZYX => {} (http://eval.in/20540)
<MrZYX> classes are just objects too
casheew has joined #ruby
<pandawarrior> ahhh okay
pitzips has joined #ruby
<pandawarrior> i see...
<MrZYX> class methods are instance methods on these objects
<pandawarrior> okay
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hiroyuki has quit [Read error: Connection reset by peer]
<pandawarrior> going to try that
marr123 has joined #ruby
marr has quit [Ping timeout: 268 seconds]
marr123 has quit [Remote host closed the connection]
Seus has quit []
mikepack has joined #ruby
bradleyprice has joined #ruby
jamie_ca_ has joined #ruby
tylersmith has quit [Remote host closed the connection]
jduan1981 has joined #ruby
rakl has joined #ruby
<pandawarrior> MrZYX: cheers
<MrZYX> and that's why you always should describe your problem, not the solution you think you need ;)
tjbiddle has joined #ruby
<pandawarrior> totally, i always do that, and then spend like 30 minutes hashing stuff out with people, it's a skill i've yet to master
<pandawarrior> :S
wolcanus has quit [Ping timeout: 252 seconds]
<MrZYX> practice is the only way :)
<pandawarrior> truth
banjara1 has quit [Quit: Leaving.]
mklappstuhl has quit [Remote host closed the connection]
jbpros has quit [Ping timeout: 252 seconds]
sander^work has quit [Read error: Connection reset by peer]
sander^work has joined #ruby
Flexa has quit [Ping timeout: 245 seconds]
rickruby has joined #ruby
balishag has quit [Ping timeout: 256 seconds]
jonathanwallace has joined #ruby
rakl has quit [Quit: sleeping]
akells` has quit [Remote host closed the connection]
mockra has quit [Remote host closed the connection]
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
sayan has joined #ruby
mixel has joined #ruby
mockra has joined #ruby
dmiller has quit [Remote host closed the connection]
bean has quit [Quit: Computer has gone to sleep.]
dr_bob has left #ruby [#ruby]
skattyadz has quit [Quit: skattyadz]
jbpros has joined #ruby
BizarreCake has quit [Remote host closed the connection]
noxoc has quit [Quit: noxoc]
tjbiddle has quit [Quit: tjbiddle]
filipe_ has quit [Remote host closed the connection]
joofsh has quit [Remote host closed the connection]
Zolo has joined #ruby
manutter has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
_bart has quit [Ping timeout: 252 seconds]
rickruby has quit [Ping timeout: 245 seconds]
troessner has quit [Quit: Leaving]
18VAA2V5Q has joined #ruby
tomzx_mac has joined #ruby
<manutter> If you worked in a PHP shop using Cake PHP and Symfony2, and you wanted to convince them to switch to Ruby, would you focus on v1.9.x or go straight to 2.0?
<C0deMaver1ck> I'd go straight for 2.0
bean has joined #ruby
chrisramon has quit [Quit: chrisramon]
bean has quit [Max SendQ exceeded]
brennanMKE has quit [Remote host closed the connection]
<manutter> I'm thinking in terms of available tutorials, reference materials, libraries etc
bean has joined #ruby
bean has quit [Max SendQ exceeded]
<C0deMaver1ck> manutter: it's pretty much completely compatible
<C0deMaver1ck> it's not like the Python 2.x to Python 3.x change
bean has joined #ruby
<manutter> Good to hear :)
<MrZYX> yeah, 1.8 to 1.9 was our 2.x to 3.x
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
<C0deMaver1ck> and eventually 1.9 will become the new 1.8 so best to start new projects in 2.0
<manutter> I just did the Ruby lessons on lynda.com, which was 1.8/1.9, wasn't sure how well that translated to 2.0
banjara has joined #ruby
<C0deMaver1ck> should be exactly the same
<manutter> awesome
<MrZYX> 2.0 is said to run all 1.9 code without issues
hiroyuki has joined #ruby
<peta_> I have a deeply nested module ModA::ModB::ModC::ModD, everytime I want to call a helper function in ModD I have to write ModA::ModB::ModC::ModD.dance() -- can I abbreviate this somehow so that I only have to write ModD.dance() ?
<MrZYX> (though there are some small corner cases, but you won't quickly find them when starting with the language)
nwertman has joined #ruby
<manutter> sounds good, now I just have to get everyone else interested :/
<MrZYX> peta_: from inside or outside?
ravster has joined #ruby
zeade has joined #ruby
enricllu_ has quit [Remote host closed the connection]
<peta_> e.g. from the module ModA::ModFoo
saiju has quit [Read error: Connection reset by peer]
rakl has joined #ruby
<MrZYX> then you can skip ModA already
<MrZYX> iirc
<peta_> someone suggested me "include ModA::ModB::ModC" but this doesn't import contained modules
timmow has quit [Ping timeout: 252 seconds]
bean has quit [Client Quit]
<MrZYX> do you call it from all over the place in ModFoo or just in one method?
tenmilestereo has joined #ruby
nesoi has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
tk_ has quit [Quit: ばいばい]
saiju has joined #ruby
Dreamer3 has quit [Ping timeout: 256 seconds]
<peta_> all over the place
<peta_> that's why I want to abbreviate it
<peta_> I now try ModD = ModA::ModB::ModC::ModD
Voodoofish430 has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
<MrZYX> hm yeah but that pollutes the scope
generali_ has joined #ruby
<MrZYX> you could define a method in ModA that returns it, like ModA.some_helper.some_method
<MrZYX> if that makes any sense in ModAs domain
rgbdev has joined #ruby
skroon has joined #ruby
<peta_> okay okay … so Ruby doesn't offer kind of "import xyz as foo" ootb
<MrZYX> (it probably does if it's an lib/app container)
<MrZYX> no
<MrZYX> since ruby doesn't offer any kind if import
_nitti has quit [Read error: No route to host]
bean has joined #ruby
bean has quit [Max SendQ exceeded]
<MrZYX> require just evaluates the file in the main context, no special namespace/scoping magic done beyond that
<peta_> it's not named import … but the principle is the same …
_nitti has joined #ruby
<MrZYX> no it's not
bean has joined #ruby
bean has quit [Max SendQ exceeded]
AgentWillyWonka has quit [Quit: Leaving...]
Dreamer3 has joined #ruby
bean has joined #ruby
bean has quit [Max SendQ exceeded]
bean has joined #ruby
akashj87 has quit [Quit: Leaving]
_maes_ has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
Kruppe has joined #ruby
ptulskie has quit [Quit: ptulskie]
tvw has quit [Ping timeout: 256 seconds]
<peta_> include A::B::C looks up a class/module and includes it into the local scope. It's almost the same principle as import xyz as known from python or java
wedgex has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
Davey has quit [Quit: Computer has gone to sleep.]
<peta_> just that this is accomplished using a function named "include"
<MrZYX> not really, import assigns a given module to a local identifier
skroon has quit [Ping timeout: 256 seconds]
wedgex has joined #ruby
<MrZYX> include is a form of inheritance
Davey has joined #ruby
jbueza has quit [Quit: Leaving.]
<peta_> and include "links" e.g. functions, constants and classes from a module into the local scole by using local identifiers with the same name as the object being linked
<MrZYX> no, they are copied
<peta_> they are copied? (= duplicated)
<MrZYX> yup
<MrZYX> even saying module_function in a module creates a copy
brtdv has joined #ruby
rgbdev has quit [Read error: Connection reset by peer]
ghr has quit [Quit: Computer has gone to sleep.]
centipedefarmer has quit [Remote host closed the connection]
18VAA2V5Q has quit [Remote host closed the connection]
<MrZYX> anyway, after thinking a while about it I still think doing def ModA.bla_helper; ModB::ModC::ModD; end is the best shortcut
timkohrumel has joined #ruby
chrishough has joined #ruby
pystache_ has quit [Ping timeout: 252 seconds]
saiju has quit [Ping timeout: 255 seconds]
MrPoT4tO has joined #ruby
akells` has joined #ruby
jbpros has quit [Quit: jbpros]
headius has joined #ruby
spike|spiegel has quit [Quit: WeeChat 0.4.0]
lufi has quit [Excess Flood]
lufi has joined #ruby
nghialv2_ has quit [Remote host closed the connection]
pandawarrior has quit [Quit: Leaving.]
akells` has quit [Ping timeout: 245 seconds]
<peta_> MrZYX: I cant find kind of official proof for your statement … do you have a link or so at your hand?
<MrZYX> hm, no, I'm sorry
<peta_> I can't believe this
LaPetiteFromage has quit [Quit: LaPetiteFromage]
mockra has quit [Remote host closed the connection]
<peta_> however, let's get back to work
mockra has joined #ruby
jbueza has joined #ruby
wroathe has quit [Ping timeout: 264 seconds]
pi3r has quit [Quit: Leaving]
stoic_squirrel has joined #ruby
twoism has joined #ruby
tylersmith has joined #ruby
mavcunha has joined #ruby
<evenix> Devise::LdapAdapter.update_password how do I pass a block through this request to asssign @auth dynamically when the method only take 2 methods "login and password"
tjbiddle has joined #ruby
tjbiddle has quit [Remote host closed the connection]
cgcardona has quit [Quit: cgcardona]
mavcunha has left #ruby [#ruby]
brtdv has quit [Ping timeout: 252 seconds]
tjbiddle has joined #ruby
mafolz has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
tealmage has joined #ruby
thomasle_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
ab3 has joined #ruby
ndboost has quit [Remote host closed the connection]
peta_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
evangelosavgerin has quit [Ping timeout: 264 seconds]
peta_ has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
Nautes has joined #ruby
brianpWins has joined #ruby
sathish316 has joined #ruby
tealmage has quit [Ping timeout: 245 seconds]
BeLucid_ has quit [Remote host closed the connection]
wroathe has joined #ruby
wolcanus_ has joined #ruby
wedgex has quit [Remote host closed the connection]
CalebMingle has joined #ruby
ab3 has quit [Ping timeout: 264 seconds]
nghialv2607 has joined #ruby
flagg0204 has quit [Quit: leaving]
wedgex has joined #ruby
nghialv2607 has quit [Remote host closed the connection]
carlyle_ has joined #ruby
niklasb has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
CalebMingle has quit [Ping timeout: 248 seconds]
vertroa has quit [Quit: WeeChat 0.3.9.2]
bigkevmcd has quit [Quit: Ex-Chat]
carlyle has quit [Ping timeout: 245 seconds]
ab3 has joined #ruby
atyz has quit [Quit: Leaving...]
Zolo has quit [Remote host closed the connection]
c0rn has joined #ruby
rdark has quit [Quit: leaving]
freerobby has quit [Quit: Leaving.]
c0rn has quit [Client Quit]
sathish316 has quit [Quit: Leaving.]
jfelchner has joined #ruby
jamescarr has quit [Quit: jamescarr]
jfelchner has quit [Client Quit]
<shevy> hmm
<shevy> I have a listing like this:
<shevy> Highest: ( 65) ppl-1.0 13.205 MB
<shevy> Highest: ( 66) graphviz-2.28.0 13.1 MB
<shevy> how could I align the last to become:
<shevy> Highest: ( 66) graphviz-2.28.0 13.100 MB
<shevy> instead?
<shevy> like, to fill in the display by padding with several 0
<Hanmac> sprintf or %
jfelchner has joined #ruby
rgbdev has joined #ruby
mrsolo has joined #ruby
c0rn has joined #ruby
flagg0204 has joined #ruby
elaptics is now known as elaptics`away
<shevy> hmm
slainer68 has joined #ruby
BinaryMaster has quit [Quit: Leaving]
<shevy> x = 13.1
<shevy> '%-8s' % x # => "13.1 "
yshh has quit [Remote host closed the connection]
tealmage has joined #ruby
<shevy> ok now let's try to remember how to fill in with 0s
<MrZYX> %.3f
<shevy> cool
<shevy> how can you remember that MrZYX?
<shevy> thanks by the way
<MrZYX> the format is the same everywhere
<MrZYX> once you memorized the scheme once it's easy
<MrZYX> like regex
dustint has quit [Quit: Leaving]
dustint has joined #ruby
<shevy> aha
bitri has joined #ruby
<shevy> ok so let's try to get my brain to remember
<shevy> f ... for float, I suppose
<MrZYX> yup
<shevy> but what is the .3 ?
<shevy> hmm
<MrZYX> the 3 is the length
<MrZYX> . to separate the flags for after the dot
<shevy> aha
<MrZYX> %[flags][width][.precision]type
<MrZYX> so type is easy
bradleyp_ has joined #ruby
<MrZYX> float, string, digit
bitri has quit [Client Quit]
<MrZYX> heX
<MrZYX> binary
<MrZYX> in C there's also pointer
<MrZYX> width and precision have to start with 1-9, so 0 is a flag (fill with leading zeros)
<MrZYX> that's about what you need daily, everything else I just look up
aaronmcadam has quit [Ping timeout: 248 seconds]
<MrZYX> hm actually precision can be zero
<MrZYX> but you'd just use digit instead
alvaro_o has joined #ruby
jbueza has quit [Read error: Connection reset by peer]
<shevy> this all came from C first?
<shevy> as in, C came up with this format?
jbueza has joined #ruby
jbueza has quit [Max SendQ exceeded]
<shevy> (or rather the guys who designed C)
bradleyprice has quit [Ping timeout: 256 seconds]
<MrZYX> hmm I think it's a libc function so we can't be 100% sure
jbueza has joined #ruby
freerobby has joined #ruby
<MrZYX> yup, it's sprintf(3)
nahiluhmot has quit [Remote host closed the connection]
wroathe has quit [Ping timeout: 256 seconds]
xardas has joined #ruby
<MrZYX> but it's there like ever in C afaik, so might very well be the origin
xardas has quit [Changing host]
xardas has joined #ruby
chrishough has quit [Quit: chrishough]
progbyperm has joined #ruby
brotatos has joined #ruby
<MrZYX> but virtually every language supports it, some specifics in each but the general format works.
<MrZYX> just like with regex
choffstein has joined #ruby
<shevy> hmm
Mattix has quit [Ping timeout: 252 seconds]
<shevy> perl invented regex?
_nitti has quit [Read error: No route to host]
noxoc has joined #ruby
_nitti has joined #ruby
failshell has quit [Remote host closed the connection]
<MrZYX> not really it seems, just first to adopt and actually use it seems: http://en.wikipedia.org/wiki/Regular_expression#History
znake is now known as znake|away
<shevy> hahaha
<shevy> "The SNOBOL language was an early implementation of pattern matching"
<shevy> that has almost the same name as COBOL
mahmoudimus has joined #ruby
justache has joined #ruby
carlyle_ has quit [Remote host closed the connection]
ravster has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
jbw has quit [Ping timeout: 245 seconds]
yashshah has joined #ruby
staafl has joined #ruby
znake|away is now known as znake
marr has joined #ruby
tonini has joined #ruby
tealmage has quit [Remote host closed the connection]
icecandy has quit [Remote host closed the connection]
gmonkey has joined #ruby
Mattix has joined #ruby
tealmage has joined #ruby
gmonkey has quit [Client Quit]
wildcard0 has quit [Ping timeout: 264 seconds]
wildcard0 has joined #ruby
chrishough has joined #ruby
freewizard has quit [Remote host closed the connection]
Lemtzas has quit [Ping timeout: 246 seconds]
gyre007 has quit [Ping timeout: 245 seconds]
<ChristianS> sed came before perl i would have thought
dmiller has joined #ruby
<ChristianS> and grep and awk
dmiller has quit [Remote host closed the connection]
apok has joined #ruby
moted has quit [Quit: moted]
nahiluhmot has joined #ruby
dmiller has joined #ruby
moted has joined #ruby
infecto has quit [Read error: Connection reset by peer]
<shevy> "abc Def ghi".capitalize # => "Abc def ghi"
<shevy> is there a simple method to capitalize only the first character?
<shevy> "abc Def ghi".special_capitalize # => "Abc Def ghi"
marr has quit [Ping timeout: 256 seconds]
infecto has joined #ruby
<shevy> yeah ChristianS
<shevy> it seems as if Ken Thompson popularized regex first
<shevy> through ed
<shevy> "Ken Thompson built Kleene's notation into the editor QED as a means to match patterns in text files. He later added this capability to the Unix editor ed, which eventually led to the popular search tool grep's use of regular expressions"
werdnativ has joined #ruby
<shevy> it's funny to think about the history of evolution of these basic tools
Lemtzas has joined #ruby
<shevy> nowadays, a scripting language without regexes would rather suck
yshh has joined #ruby
jbw has joined #ruby
yashshah_ has joined #ruby
yashshah has quit [Ping timeout: 252 seconds]
<MrZYX> class String; def special_capitalize; self[0] = self[0].upcase; end;
<MrZYX> quickest way I can come up with
oneirophren has joined #ruby
<Hanmac> shevy: why is the ghi in your sample not capitalized?
<shevy> Hanmac only the first character should be changed, the rest not
Elhu has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<shevy> .capitalize lowercases everything else :(
rakl has quit [Quit: sleeping]
bean has quit [Quit: Computer has gone to sleep.]
wolcanus_ has quit [Remote host closed the connection]
ravster has joined #ruby
<Hanmac> >> "abc Def ghi".gsub(/\A\w+/,&:capitalize)
<eval-in> Hanmac => "Abc Def ghi" (http://eval.in/20586)
mixel has quit [Quit: mixel]
wroathe has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
atyz has joined #ruby
xraixed has joined #ruby
ossareh has joined #ruby
zastern_ has joined #ruby
jbpros has joined #ruby
<shevy> hmmm
jbpros has quit [Read error: Connection reset by peer]
_nitti has quit [Remote host closed the connection]
jtharris has quit [Quit: WeeChat 0.4.0]
<shevy> your code scares me Hanmac
<Hanmac> :P
<xraixed> tryinh to install ruby on my ubuntu 12.04 but get message, "Gem::InstallError: factory_girl requires Ruby version >= 1.9.2." i have already installed ruby 1.9.2
zastern has quit [Ping timeout: 260 seconds]
<MrZYX> that would change "aBc" to "Abc" though
apod has quit [Quit: apod]
<MrZYX> not sure what you want
<MrZYX> Hanmac's version, mine would change it to "ABc"
yshh has quit [Ping timeout: 248 seconds]
<Hanmac> >> "aBc Def ghi".gsub(/\A\w/,&:upcase)
<eval-in> Hanmac => "ABc Def ghi" (http://eval.in/20587)
<shevy> MrZYX well your variant is easier to understand :D
<MrZYX> :P
<shevy> but I'd have to modify class String hmmm
jonathanwallace has quit [Ping timeout: 252 seconds]
<MrZYX> not really
jonathanwallace has joined #ruby
<MrZYX> def my_capitalize(string); string[0] = string[0].upcase; end; string = my_capitalize(string)
<MrZYX> a lot more verbose though
ebobby has joined #ruby
<MrZYX> both will fail if you have leading space btw
freewizard has joined #ruby
<MrZYX> (or have no effect)
bricker_ is now known as bricker
<MrZYX> if you remove the \A in Hanmac's version that case would be handled too
evangelosavgerin has joined #ruby
<Hanmac> MrZYX: then sub could be better than gsub
<MrZYX> right, just realized that
wroathe has quit [Ping timeout: 276 seconds]
jdunck has joined #ruby
hadees_ has joined #ruby
whowantstolivef1 has joined #ruby
_nitti has joined #ruby
hadees has quit [Ping timeout: 245 seconds]
hadees_ is now known as hadees
jpinnix has joined #ruby
yashshah_ has quit [Ping timeout: 264 seconds]
<xraixed> i want to resolve this error issue "Gem::InstallError: factory_girl requires Ruby version >= 1.9.2. although i do have ruby version already running
evangelosavgerin has quit [Ping timeout: 245 seconds]
<xraixed> any way around this
sleetdrop has quit [Quit: Computer has gone to sleep.]
<fryguy> xraixed: how is ruby installed
<Hanmac> xraixed: maybe gem does not point to the currect ruby version
Lemtzas has quit [Read error: Connection reset by peer]
<xraixed> factory_girl gem error says it needs ruby 1.9.2
znake is now known as znake|away
Astralum has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
<Hanmac> xraixed: what does "gem env" says to you?
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Lemtzas has joined #ruby
tspike has quit [Ping timeout: 268 seconds]
<xraixed> which i installed through Gem::InstallError: factory_girl requires Ruby version >= 1.9.2.
<xraixed> An error occurred while installing factory_girl (4.2.0), and Bundler cannot
<xraixed> Make sure that `gem install factory_girl -v '4.2.0'` succeeds before bundling.\
<xraixed> continue.
jpinnix has left #ruby ["Linkinus - http://linkinus.com"]
wroathe has joined #ruby
jacktrick has joined #ruby
jamescarr has joined #ruby
<Hanmac> xraixed: that is not what i asked you
jonathanwallace has quit [Ping timeout: 256 seconds]
freewizard has quit [Remote host closed the connection]
benlieb has joined #ruby
sayan has quit [Quit: Leaving]
<xraixed> it says version 1.8.15
browndawg has quit [Quit: Leaving.]
<MrZYX> ubuntu installs 1.9 as ruby1.9 or something like that
yannis has joined #ruby
<MrZYX> so try ruby1.9 $(which bundle)
<Hanmac> xraixed: make a pastie of the entire "gem env" i think it points to the wrong runy
<Hanmac> ruby
robscomputer_ has quit [Read error: Connection reset by peer]
robscomputer_ has joined #ruby
tonini has joined #ruby
joofsh has joined #ruby
Cultofmetatron has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
sepp2k has joined #ruby
cloke has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
<Hanmac> i said pastie and he posted it to me directly
<MrZYX> because you're so helpful!
reset has joined #ruby
<Hanmac> -->>> xraixed: - RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
<Hanmac> as you can see it points to the wrong ruby version
<MrZYX> I'm not going to repeat myself...
Cultofmetatron has joined #ruby
<Hanmac> xraixed: HOW did you install ruby1.9 ? did you do it via package or something like rvm or did you compile it yourself?
<xraixed> via rvm
<Hanmac> xraixed: use "update-alternatives --config ruby" and "update-alternatives --config gem"
<Hanmac> xraixed: okay than ask #rvm
<MrZYX> guess he just failed to rvm use 1.9.3
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<graft> anyone have a nice way to pare a hash down to a subset of its keys?
<canton7> graft, giving an example will probably help
<Hanmac> graft: so you have an array of keys and you want the values of them in the hash?
<injekt> graft: values_at
jtharris has joined #ruby
splittingred has quit [Ping timeout: 256 seconds]
choffstein has quit [Remote host closed the connection]
<injekt> or slice in that case
k610 has joined #ruby
Beoran__ has quit [Quit: Leaving]
jonathanwallace has joined #ruby
zastern_ has quit [Remote host closed the connection]
zastern has joined #ruby
Kricir has quit [Remote host closed the connection]
<graft> like, say i have { :how => :now, :brown => :cow, :monkey => :poop }, and i wanted to slice this down to { :how => :now, :brown => :cow } based on [ :how, :brown ]
wolcanus has joined #ruby
<injekt> graft: you'll need to do it manually
<injekt> graft: active-support adds a slice method to Hash for the same thing
ravster has left #ruby [#ruby]
xraixed has left #ruby ["Leaving"]
thisirs has joined #ruby
Z_Mass has joined #ruby
Morkel has quit [Read error: Operation timed out]
<graft> well i can do : h.select{|k,v| a.include? k}, which seems expensive... or a.map{|k| { k => h[k] }}.reduce :merge, is not bad i guess
tvw has joined #ruby
Morkel has joined #ruby
pkrnj has joined #ruby
<injekt> graft: yeah either way you need a new hash so I wouldn't worry
Kricir has joined #ruby
justache has left #ruby [#ruby]
mfridh has joined #ruby
<MrZYX> hm wouldn't Hash[*hash.reject {|key,| keys.include? key }] work?
<MrZYX> er without the *
Moreece has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
rakl has joined #ruby
angel has joined #ruby
<angel> Hello everyone, is there a way using Github API v3 and net/http or net/https (ruby) to create an Anonymous gist (public or private)?
<graft> MrZYX: doesn't reject return a hash already?
<MrZYX> no
<graft> MrZYX: but also, keys.include? seems more expensive than mapping, since i have to search the keys array for every key, instead of just iterating over it once
gnrlbzik has joined #ruby
<graft> on the other hand it avoids the reduce
<MrZYX> all Enumerable methods return an array
<graft> reject is defined on Hash
bitri has joined #ruby
<graft> let's just test this, shall we...
kfr2 has joined #ruby
<gnrlbzik> any one know how to define simple wildcard mapping in rack's config.ru? like map "/*" do
<injekt> angel: yes
<graft> yeah reject returns a hash
<MrZYX> oh, hm
<MrZYX> so does select
<MrZYX> {:foo => :bar, :baz => :foobar}.select{|k,| [:foo].include? k}
<graft> so hash.reject{|k| !keys.include? key} works
phayte has quit [Quit: phayte]
jlast has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
<MrZYX> wow, that's dating back to 1.8
tspike has joined #ruby
<MrZYX> 18>> {:foo => :bar, :baz => :foobar}.select{|k,| [:foo].include? k}
<eval-in> MrZYX => [[:foo, :bar]] (http://eval.in/20603)
<MrZYX> how did I miss this...
mixel has joined #ruby
kirun has quit [Ping timeout: 268 seconds]
robscomp_ has joined #ruby
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
<graft> don't kick yourself
heftig has quit [Quit: Quitting]
<graft> i can never keep track of what's in Enumerable and what's in Hash or Array
robscom__ has joined #ruby
robscomp_ has quit [Read error: Connection reset by peer]
alvaro_o has quit [Remote host closed the connection]
kirun has joined #ruby
heftig has joined #ruby
alvaro_o has joined #ruby
alvaro_o has quit [Client Quit]
yum_devil has joined #ruby
<yum_devil> ?
stoic_squirrel has joined #ruby
<yum_devil> any one
<yum_devil> here
<yum_devil> ?
robscomputer_ has quit [Ping timeout: 268 seconds]
nomenkun has joined #ruby
<Spooner> graft, Just put the keys in a Set and then #include? is cheap.
Mattix has quit [Ping timeout: 255 seconds]
<angel> injekt: Can you give me some guidelines please?
<angel> yum_devil: here
jbpros has joined #ruby
<graft> Spooner: is Set in core?
<MrZYX> no, stdlib
<graft> oh in 2.0
<injekt> graft: its in stdlib
<graft> aha
<injekt> angel: you have the github api guidelines no?
oneirophren has quit [Ping timeout: 256 seconds]
mercwithamouth has joined #ruby
reset has quit [Quit: Linkinus - http://linkinus.com]
<angel> injekt: I have them, but it cannot parse my json :/
primer^ has quit [Quit: Computer has gone to sleep.]
<Spooner> graft, Set is just a wrapper around a Hash, so it is really running Hash#key?, but that is fine.
predator217 has quit [Ping timeout: 256 seconds]
<peta_> MrZYX: ich will kein rosinenpicker sein, aber deine behauptung vorhin stimmt schlichtweg nicht.
Kricir has quit [Remote host closed the connection]
<MrZYX> /msg ;)
yshh has joined #ruby
<Zelest> i only know two german words :/
<Zelest> ich and komme..
Z_Mass has quit [Ping timeout: 252 seconds]
Mattix has joined #ruby
<peta_> MrZYX: I asked in the ruby interpreter dev channel and had a look on the responsible C function s…. when module are included, the contained constants, methods and classes are ALWAYS copied by reference
jamescarr has quit [Quit: jamescarr]
<MrZYX> kk, no problem in taking it back ;)
deepy has quit [Ping timeout: 264 seconds]
jimg has joined #ruby
bean has joined #ruby
bean has quit [Max SendQ exceeded]
jamescarr has joined #ruby
bean has joined #ruby
Progster has quit [Changing host]
Progster has joined #ruby
balishag has joined #ruby
khismetix has joined #ruby
<benlieb> can anyone help me understand why google_oauth2 via omniauth is often stalling during callback? http://stackoverflow.com/questions/16365843/why-is-google-oauth2-via-omniauth-hanging-stalling-during-callback
jamescarr has quit [Remote host closed the connection]
kirun has quit [Read error: Operation timed out]
vlad_starkov has quit [Remote host closed the connection]
<Spooner> benlieb, #rubyonrails channel
predator117 has joined #ruby
jlast has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.3.8]
vainohelvete has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
DementedInsanity has joined #ruby
DementedInsanity has quit [Changing host]
DementedInsanity has joined #ruby
<benlieb> Spooner: I'm pretty sure it's not a rails-specific issue. But I'll ask there too.
jimg has quit [Ping timeout: 256 seconds]
<benlieb> Spooner: I know the omniauth folks think of their gem as more than a rails tool. I've only used it this once, and in rails...
vlad_starkov has quit [Remote host closed the connection]
yshh has quit [Ping timeout: 252 seconds]
jtharris has quit [Read error: Connection reset by peer]
wgosling has quit [Quit: Konversation terminated!]
wgosling has joined #ruby
<Spooner> benlieb, The Rails people are considerably more likely to have used omniauth than non-rails people.
axxT has quit [Read error: Connection reset by peer]
nomenkun has quit [Remote host closed the connection]
atyz has quit [Quit: Leaving...]
<RubyPanther> 1/(1.0/0) > 0
<RubyPanther> => false
echevemaster has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
wedgex has quit [Remote host closed the connection]
chandankumar has quit [Ping timeout: 256 seconds]
wroathe has quit [Ping timeout: 256 seconds]
lempface has joined #ruby
doug has joined #ruby
spider-mario has joined #ruby
wedgex has joined #ruby
dangerousdave has joined #ruby
<doug> what's the Standard Way to link to ruby core source? (like, for me, something out of pathname/lib/pathname.rb)
<doug> link like for a blog
atmosx has joined #ruby
<lempface> I'm trying to create an xpath query that can select the value of a element from a parent element (which there are multiple of) but I only want the last element returned.
<MrZYX> doug: I guess github.com/ruby/ruby won't go away anytime soon
<lempface> how can I select the highest instance of <FILE> for each <PAGE> https://gist.github.com/anonymous/5512780
<lempface> i.e. I'd want a list of strings {00000584.tif, 00000585.tif, 00000875.tif}
jtharris has joined #ruby
<tylersmith> lempface: http://xml4r.github.io/libxml-ruby/ or nokogiri
progbyperm has quit [Read error: Connection reset by peer]
<lempface> I have nokogiri I just don't understand how to construct the query
yum_devil has quit [Remote host closed the connection]
yum_devil has joined #ruby
khismetix has quit [Ping timeout: 252 seconds]
mneorr has quit [Remote host closed the connection]
mneorr has joined #ruby
jacktrick has quit [Quit: Leaving]
chrishough has quit [Quit: chrishough]
<RubyPanther> doug: here is the formula I'm using, I don't remember where I got it: https://gist.github.com/rubypanther/5513058
monkegjinni has joined #ruby
<RubyPanther> <3 ruby_core_source lol
<shevy> panther!
<shevy> you are back
<RubyPanther> Wait, was I gone
brotatos has joined #ruby
philcrissman has quit [Remote host closed the connection]
robottinosino has joined #ruby
<RubyPanther> shevy: whenever I need entertainment I come are read 10 lines, surely there is something funny
havenwood has joined #ruby
<tylersmith> lempface: something like https://gist.github.com/tyler-smith/5513106
khismetix has joined #ruby
philcrissman has joined #ruby
slippyd has quit [Quit: slippyd]
<lempface> they are variable tyler, some FILEDATA will have 2 files and some may have 3 and so on, but I need the highest value from each
Criztian has quit [Remote host closed the connection]
<lempface> I'm trying to select "//PAGE" and then do subqueries on each result
<withnale> using Logger is there an easy way to have warn/error messages going to STDERR and everything else to STDOUT?
<tylersmith> so the last child instead of the first?
_nitti has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
yum_devil has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
<tylersmith> I think you can do something like "//FILEDATA/FILENAMES[last()]"
<tylersmith> eh, the // should just be / continued from the rest of the query
yum_devil has joined #ruby
<Spooner> lempface, Nokogiri.parse(xml).xpath("//PAGE").map {|x| x.xpath(".//FILE").map(&:text).max }
dhruvasagar has joined #ruby
<withnale> Spooner: what does the &:text do ?
splittingred has joined #ruby
atmosx has quit [Quit: WeeChat 0.4.1-dev]
<Spooner> Equivalent of map {|x| x.text }
<withnale> nice.
freewizard has joined #ruby
<withnale> is there a short way of doing map {|x| x[:text] } as well?
robottinosino has quit [Read error: Connection reset by peer]
<Spooner> No.
<MrZYX> only if you overwrite Symbol#to_proc :P
<withnale> the benefits of using structures rather than lists of hashes of lists of hashes ;0
_nitti has joined #ruby
kennyvb has quit [Ping timeout: 256 seconds]
<Spooner> lempface, Nokogiri.parse(xml).xpath("//PAGE").map {|x| x.xpath(".//FILE").map(&:text).map(&:to_i).max } #=> [584, 585, 875] (If you don't trust the leading 0s).
Kricir has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
nhhagen has joined #ruby
doug has left #ruby [#ruby]
kennyvb has joined #ruby
wroathe has joined #ruby
Jackneill has quit [Ping timeout: 245 seconds]
yum_devil has left #ruby [#ruby]
freewizard has quit [Ping timeout: 264 seconds]
icecandy has joined #ruby
robottin1 has joined #ruby
akells` has joined #ruby
nhhagen has quit [Remote host closed the connection]
mark_locklear has quit [Quit: Leaving]
workmad3 has joined #ruby
nhhagen has joined #ruby
Todd has quit [Remote host closed the connection]
wolcanus has joined #ruby
Z_Mass has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
wmoxam has quit [Quit: Lost terminal]
mixel has quit [Quit: mixel]
robottin1 has quit [Ping timeout: 248 seconds]
kennyvb has quit [Ping timeout: 252 seconds]
<Spooner> withnale, Not sure if it would work, but you could create two logger instances and forward use of warn/error to the stderr one and others to the stdout one.
<shevy> I just noticed something strange
AndChat| has quit [Ping timeout: 246 seconds]
<shevy> cat blabla
<shevy> cat: blabla: No such file or directory
<shevy> stat blabla
<shevy> stat: cannot stat `blabla': No such file or directory
<shevy> the ": No such file or directory" part seems to be the generic error message when a file or directory can not be found
<shevy> but why is there no '.' at the end?
<shevy> as in:
<shevy> ": No such file or directory."
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
jbpros has quit [Ping timeout: 252 seconds]
<Spooner> You worry about some inconsequential things!
<shevy> reason why I actually ask is because of my ruby-shell
freerobby has quit [Quit: Leaving.]
<shevy> I try to be a good man and follow existing standards
<shevy> they must have hated proper sentences :(
brtdv has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
khismetix has joined #ruby
vertroa has joined #ruby
rh1n0 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
mixel has joined #ruby
jimeh has quit [Quit: ZNC - http://znc.in]
kennyvb has joined #ruby
jimeh has joined #ruby
casheew has joined #ruby
jimeh has quit [Client Quit]
jimeh has joined #ruby
pdswan_ has joined #ruby
acrussell has quit [Quit: Leaving.]
generali_ has quit [Remote host closed the connection]
robottinosino has joined #ruby
generalissimo has joined #ruby
pdswan has quit [Ping timeout: 264 seconds]
monkegjinni has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 260 seconds]
dopie has joined #ruby
<dopie> Hey guys I'm a bit stuck here
<dopie> I have created a movie table
<Brutus-> awesome
<RubyPanther> It isn't an English sentence, it is an error string
<dopie> and when I go into console and do Movie.all it lists all the movies but for some reason id 1 isnt present...
<dopie> how would i go about adding a new id 1 movie?
casheew has joined #ruby
<RubyPanther> The only expectations generally are ASCII and clarity
jbpros has joined #ruby
MrPoT4tO has quit [Remote host closed the connection]
dangerousdave has quit [Quit: Leaving...]
mneorr has quit [Remote host closed the connection]
<shevy> RubyPanther but it appends ':' too
s2013 has quit []
<shevy> hmm I wonder why stat uses `' but cat does not
<RubyPanther> that is a field separator not an English colon
<shevy> wtf
<shevy> what is '.', an UFO?
<shevy> o
<shevy> it's getting closer!
<shevy> O
<shevy> OMG!!!
<shevy> RUN!!!
Fuzai has quit [Ping timeout: 245 seconds]
jduan1981 has quit [Quit: jduan1981]
kennyvb has quit [Ping timeout: 248 seconds]
bluOxigen has quit [Ping timeout: 252 seconds]
kennyvb has joined #ruby
kirun has joined #ruby
<Boohbah> shevy has been abducted
<RubyPanther> There is already a newline to terminate the field
krawchyk has quit [Remote host closed the connection]
gnrlbzik has quit [Remote host closed the connection]
jimeh has quit [Quit: ZNC - http://znc.in]
jimeh has joined #ruby
jbpros has quit [Quit: jbpros]
allsystemsarego has quit [Quit: Leaving]
elaptics`away is now known as elaptics
robottinosino has quit [Read error: No route to host]
bluOxigen has joined #ruby
znake|away is now known as znake
jnoob22 has quit [Remote host closed the connection]
punkrawkR has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
johnnyfuchs1 has joined #ruby
jonathanwallace has quit [Ping timeout: 245 seconds]
johnnyfuchs has quit [Read error: Operation timed out]
ariedler has quit [Remote host closed the connection]
spike|spiegel has joined #ruby
Bry8Star_ has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
ToApolytoXaos has joined #ruby
johnnyfuchs1 has quit [Ping timeout: 252 seconds]
casheew has quit [Read error: Connection reset by peer]
lufi has quit [Excess Flood]
lufi has joined #ruby
ariedler has joined #ruby
Fuzai has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
tealmage has quit [Remote host closed the connection]
akells` has quit [Remote host closed the connection]
mrsolo has joined #ruby
kirun has quit [Ping timeout: 260 seconds]
casheew has joined #ruby
Bry8Star has joined #ruby
idkazuma has joined #ruby
brotatos has quit [Quit: WeeChat 0.4.1-dev]
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby
akells` has joined #ruby
arya has quit [Ping timeout: 248 seconds]
rh1n0 has quit [Quit: -- I'm getting very tired --]
ariedler has quit [Remote host closed the connection]
roadt has quit [Read error: Connection reset by peer]
ab3 has quit [Ping timeout: 264 seconds]
dmiller has joined #ruby
mneorr has joined #ruby
nomenkun has joined #ruby
arya has joined #ruby
saarinen has joined #ruby
dmiller has quit [Remote host closed the connection]
tealmage has joined #ruby
dmiller has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 245 seconds]
arya has quit [Ping timeout: 256 seconds]
Hobogrammer has joined #ruby
znake is now known as znake|away
mneorr has quit [Ping timeout: 264 seconds]
arya has joined #ruby
brtdv has quit [Quit: brtdv]
postmodern has joined #ruby
AgentWillyWonka has joined #ruby
nickbender has joined #ruby
znake|away is now known as znake
znake has quit [Quit: Linkinus - http://linkinus.com]
joofsh has quit [Remote host closed the connection]
Moreece has quit []
dzied has joined #ruby
headius has quit [Quit: headius]
pcasaretto has joined #ruby
machuga is now known as machuga|away
<pcasaretto> hey guys, Time.strptime is not very reliable, is it?
geekbri has quit [Remote host closed the connection]
slainer68 has quit [Remote host closed the connection]
aleph-null has joined #ruby
io_syl has joined #ruby
<pcasaretto> for example `Time.strptime("18 2011 BRST","%j %Y %Z") gives me 2011-01-01 00:00:00 -0200
nomenkun has joined #ruby
<pcasaretto> which is not the 18th day of the year
DouweM has joined #ruby
io_syl has quit [Read error: Connection reset by peer]
DouweM has left #ruby ["Linkinus - http://linkinus.com"]
<pcasaretto> using 1.9.2
DouweM has joined #ruby
three18ti has quit [Ping timeout: 245 seconds]
casheew has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 276 seconds]
casheew has joined #ruby
akells` has quit [Ping timeout: 245 seconds]
graeme has joined #ruby
jonathanwallace has joined #ruby
three18ti has joined #ruby
ariedler has joined #ruby
DaemonAU has quit [Remote host closed the connection]
billybob000 has joined #ruby
khismetix has quit [Quit: Computer has gone to sleep.]
afd___ has quit [Read error: Connection reset by peer]
afd__ has joined #ruby
casheew has quit [Read error: Connection reset by peer]
jeevan_ullas has quit [Ping timeout: 264 seconds]
jeevan_ullas has joined #ruby
<billybob000> is there a built in method in the array class that will count the number of matches in my array? ie '[1, 2, 2, 3].something' to give me the number of 2's in that array?
casheew has joined #ruby
backjlack has quit [Ping timeout: 264 seconds]
akells` has joined #ruby
backjlack has joined #ruby
<MrZYX> billybob000: yes, it's called count
<billybob000> other than iterating and counting it through the array
<RubyPanther> pcasaretto: most of that stuff is system dependent, it probably just uses the strptime from your C lib
<billybob000> MrZYX: aptly named. thanks!
<RubyPanther> almost anything in Ruby named the same as a standard C function just converts the data and passes it off
ab3 has joined #ruby
forlin has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
nickbender has quit [Ping timeout: 264 seconds]
Banistergalaxy has joined #ruby
akells` has quit [Remote host closed the connection]
b0oh has joined #ruby
bradleyp_ has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 264 seconds]
justsee has quit [Ping timeout: 256 seconds]
stoic_squirrel has quit [Quit: Textual IRC Client: www.textualapp.com]
akells` has joined #ruby
kofno has quit [Remote host closed the connection]
macao has joined #ruby
<macao> too
dmiller has quit [Read error: Operation timed out]
banjara has joined #ruby
io_syl has joined #ruby
kirun has joined #ruby
lkba has joined #ruby
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
brianpWins has quit [Quit: brianpWins]
workmad3 has joined #ruby
brianpWins has joined #ruby
manutter has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
athst has joined #ruby
<dopie> Hello all
<dopie> how do i delete everything from a table?
whowantstolivef1 has quit [Quit: quit]
akells` has quit [Remote host closed the connection]
<waxjar> tilt it slightly until everything slides off :D
<otters> huehuehue
<waxjar> we're gonna need a little more info dopie
akhet has quit [Remote host closed the connection]
<otters> dopie: Model.delete_all
tealmage has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 245 seconds]
tealmage has joined #ruby
brennanMKE has joined #ruby
<dopie> i have a table called Movies , in it i have Description , Name , ... and these all have information in them
twoism has quit [Read error: Connection reset by peer]
<dopie> I want to wipe out the information and start from scratch but still keep the Movies table with Description and Name but nothing filled out
workmad3 has quit [Ping timeout: 245 seconds]
twoism has joined #ruby
apok has quit [Quit: apok]
wedgex has quit [Remote host closed the connection]
<waxjar> depends on the way you talk to the database, really. DataMapper will let you do Movies.all.delete i think, not sure about AR
<dopie> rake db:reset
<dopie> unf
<dopie> :)
macao has quit [Quit: Page closed]
wedgex has joined #ruby
johnnyfuchs has joined #ruby
Coolhand is now known as Coolhand|afk
Mattix has quit [Ping timeout: 256 seconds]
tealmage has quit [Ping timeout: 248 seconds]
dustint has quit [Quit: Leaving]
mljsimone has quit []
fermion has joined #ruby
spalenza has quit [Remote host closed the connection]
predator117 has quit [Remote host closed the connection]
slainer68 has joined #ruby
predator117 has joined #ruby
forrest has joined #ruby
Morkel has quit [Quit: Morkel]
c0rn has joined #ruby
chrishough has joined #ruby
Tolman has joined #ruby
kstone has joined #ruby
codecop has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Vivekananda has joined #ruby
nickbender has joined #ruby
<pcasaretto> RubyPanther: strange thing is that Date._strptime (which Time seems to use internally) gets it right
codecop has joined #ruby
saarinen has left #ruby [#ruby]
yalue has quit [Read error: Connection reset by peer]
Palantir has joined #ruby
_nitti has quit [Read error: No route to host]
huoxito has joined #ruby
_nitti has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
bricker_ has joined #ruby
pygmael has quit [Excess Flood]
<rton> guys, how to use two modes for opening file? if i use File.open("file", "rw") i get error "invalid access mode rw (ArgumentError)"
adambeynon has joined #ruby
pygmael has joined #ruby
Tolman has left #ruby [#ruby]
bricker has quit [Read error: Operation timed out]
<kstone> r+
elux has quit [Quit: Leaving...]
<kstone> read and write access without truncation
GiBa1 has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
<GiBa1> hello, i have one simple custion
kstone has quit [Quit: kstone]
<GiBa1> i need to modify a working ruby script and i dont know ruby
slainer68 has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
johnmilton has quit [Quit: Leaving]
<GiBa1> i need to if hostname != "server1" exit 0
<GiBa1> how to do it in ruby ?
<GiBa1> hostname is server hostname
<GiBa1> has to be, actually
nomenkun has quit [Remote host closed the connection]
<MrZYX> exit if `hostname` != "server1"
Kabaka has quit [Quit: s/Kabaka//]
<GiBa1> cool, thanks you so much MrZYX!
<rton> kstone, me need rewriting old file and save more, than one line (w+ and a+).
akells` has joined #ruby
GiBa1 has left #ruby [#ruby]
akells` has quit [Remote host closed the connection]
AgentWillyWonka has quit [Quit: Leaving...]
<MrZYX> rton: if none of the rwa+ mode strings work for you can also pass a bitmask, like open('foo', IO::RDWR | IO::TRUNC)
dmiller has joined #ruby
mengu has joined #ruby
jonathanwallace has quit [Ping timeout: 252 seconds]
evenix has quit [Remote host closed the connection]
cmarques has quit [Ping timeout: 246 seconds]
iPhoneMRZ has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
codecop has quit [Quit: Išeinu]
maycon has quit [Quit: Saindo]
zipace has joined #ruby
jonathanwallace has joined #ruby
zipace has quit [Max SendQ exceeded]
Xeago has joined #ruby
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
Kabaka has joined #ruby
zipace has joined #ruby
Z_Mass has quit [Quit: Leaving]
pkrnj has joined #ruby
niklasb has joined #ruby
AgentWillyWonka has joined #ruby
dmelin has joined #ruby
smoak has joined #ruby
Palantir has quit [Ping timeout: 264 seconds]
<smoak> is there a way to do transliteration of strings in ruby 1.9+?
johnnyfuchs has quit [Remote host closed the connection]
pcasaretto has left #ruby [#ruby]
dzied has quit [Ping timeout: 246 seconds]
dmelin has quit [Client Quit]
<gf3> RubyPanther: Oh hey! Long time no talk
<RubyPanther> gf3: I fell down a rabbit hole trying to compile MRI on Android, I just escaped!
<gf3> RubyPanther: I'm just happy you survived
<RubyPanther> Scarier than Dwemthy's Array
Palantir has joined #ruby
<gf3> Heh
<RubyPanther> I finally wised up and switched to mRuby
b0oh has quit [Quit: Leaving.]
_nitti has quit [Remote host closed the connection]
freerobby has joined #ruby
freerobby has quit [Client Quit]
smigg has quit [Ping timeout: 260 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tonini has quit [Remote host closed the connection]
Boki has joined #ruby
kstone has joined #ruby
blacktulip has quit [Remote host closed the connection]
Umren has quit [Ping timeout: 268 seconds]
icecandy has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
iPhoneMRZ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
twoism has quit [Read error: Connection reset by peer]
MK_Gast has joined #ruby
MK_Gast has quit [Client Quit]
twoism has joined #ruby
picca has joined #ruby
jimg has joined #ruby
wedgex has quit [Remote host closed the connection]
mikestok has quit [Quit: Computer has gone to sleep.]
thone has quit [Ping timeout: 246 seconds]
mikestok has joined #ruby
chrishough has quit [Quit: chrishough]
breakingthings has quit [Quit: breakingthings]
casheew has quit [Read error: Connection reset by peer]
thone has joined #ruby
casheew has joined #ruby
mneorr has joined #ruby
solidoodlesuppor has quit [Remote host closed the connection]
kstone has quit [Quit: kstone]
casheew has quit [Read error: Connection reset by peer]
wesside has quit [Quit: Computer has gone to sleep.]
mikestok has quit [Client Quit]
jovy88 has joined #ruby
jerius has joined #ruby
jimg has quit [Remote host closed the connection]
Boki has quit []
<shevy> are you kidding
<shevy> how do you load anything into mRuby
kofno has joined #ruby
Palantir has quit [Ping timeout: 248 seconds]
splittingred has quit [Quit: splittingred]
Kruppe has quit [Read error: Operation timed out]
<shevy> though perhaps it could rival lua one day
casheew has joined #ruby
dmiller has quit [Remote host closed the connection]
jerius has quit [Client Quit]
casheew has quit [Read error: Connection reset by peer]
wolcanus has quit [Remote host closed the connection]
<havenwood> shevy: mgem
forrest has quit [Quit: Leaving]
RORgasm has quit [Remote host closed the connection]
gtype has joined #ruby
<shevy> cool
<havenwood> shevy: A tad cumbersome, but works!
<gtype> hi
josedonizetti has quit [Quit: josedonizetti]
<havenwood> gtype: hey
chrishough has joined #ruby
<shevy> I wonder why matz did not think of anything like that
chrishough has quit [Client Quit]
<gtype> can i ask a tiny little wee question?
picca has quit [Remote host closed the connection]
kofno has quit [Ping timeout: 258 seconds]
akhet has joined #ruby
akhet has quit [Changing host]
akhet has joined #ruby
<havenwood> shevy: The iij forks of mruby are really interesting too, if you haven't checked em out: https://github.com/iij/mruby
b0oh has joined #ruby
<shevy> gtype no :>
chrishough has joined #ruby
<gtype> :(
<havenwood> gtype: You can ask a mid-sized question.
<gtype> i'll try anyway
<shevy> we only accept big questions
picca has joined #ruby
<gtype> does anyone use ruby SUCESSFULLY on windows?
<shevy> yes
<shevy> but windows sucks
casheew has joined #ruby
<gtype> cause i tried for one week to use sass, compass, guard etc with windows
CyberMaN has joined #ruby
<gtype> and guard just failed
<shevy> does ruby work for you
tspike has quit [Ping timeout: 276 seconds]
<gtype> over and over and over
<gtype> several versions
<gtype> etc
lolzilla_ has joined #ruby
<gtype> installed on linux, virtual machine
sailias has joined #ruby
<shevy> perhaps guard was written by an idiot
<gtype> everything runs perfect -.-
<havenwood> gtype: Not all gems works on Windows, but guard says it does.
<shevy> windows sucks really
<gtype> but now i have a VM running guard with the polling option
<gtype> which kills cpu
<gtype> so just wondering if i came at a bad time in guards development
lolzilla_ is now known as lolzilla
<gtype> shevy: as a .net dev (mainly), i don't really have a choice
<MrZYX> it says in its readme that you should install rb-inotify
generalissimo has quit [Remote host closed the connection]
<MrZYX> ...
<gtype> MrZYX i tried all that
nickbender has quit [Quit: Lost terminal]
tealmage has joined #ruby
<MrZYX> are you using bundler?
colonolGron has joined #ruby
<gtype> guard-livereload not being installed or recognized by guard
<nhhagen> gtype: I use vagrant to run my VMs when forced to work on a windows machine
<nhhagen> gtype: that usually works quite well
<gtype> vagrant?
jeebster has joined #ruby
spider-mario has quit [Remote host closed the connection]
Eiam has joined #ruby
<nhhagen> gtype: http://www.vagrantup.com/
<havenwood> gtype: http://www.vagrantup.com/
<gtype> oh yes just googled it
<nhhagen> gratz :P
<havenwood> gadgetoid: Great way to get linux command line available in linux.
<gtype> yes, probably better than my damn linux mint rofl
<havenwood> gtype: You can do a Mint Vagrant box.
<jeebster> how does MRI parse symbols? why won't this syntax be parsed? :data-some-attribute
<gtype> but the problem is actually the polling
<jeebster> it must be :"data-some-attribute"
<havenwood> jeebster: No dashes, but underscores okay.
<gtype> the linux machine is watching files on the network
<gtype> so there is no notify for some reason
<jeebster> havenwood: ah ok, thanks for the heads up
<gtype> and polling just completely kills guard
<waxjar> it sees :data-some as :data - name
<gtype> well not completely, i can still dev in my machine but cpu is always above 60
<waxjar> *some
<DouweM> jeebster if you're setting html attrs, I think you could also use data: { some_attribute: .. }
<MrZYX> gtype: just switch to linux, makes (devs) life so much easier ;P
<DouweM> jeebster for view helpers anyway
swex_ has joined #ruby
tvw has quit []
<gtype> yes, if MS wasn't a piece of shit and had just developed .net to be fully cross platform
<DouweM> (jeebster excuse my assumption you're talking webdev and Rails here)
<gtype> or if i wasnt so dependent on it..
swex has quit [Ping timeout: 245 seconds]
<MrZYX> mono works probably better than ruby on windows xD
<jeebster> DouweM: ha, it is where I'm using the application, however it is a ruby q
tootubular has quit [Quit: tootubular]
<jeebster> waxjar: symbols can be named? the interpreter is looking for a name delimited by a hyphen?
<DouweM> jeebster I thought for a sec this was #RubyOnRails ;-)
skattyadz has joined #ruby
<gtype> MrZYX made investment in learning WPF, and use it heavily, so no mono
awarner has joined #ruby
tealmage has quit [Ping timeout: 260 seconds]
<gtype> i have thought on changing to QT, but the time..
b0oh has quit [Ping timeout: 276 seconds]
lewix has quit [Remote host closed the connection]
colonolGron has quit [Quit: Lost terminal]
jovy88 has quit [Read error: Connection reset by peer]
<nhhagen> gtype: I guess you are stuck then, a gui less light weight linux VM is your best option, run your ruby app there
jovy88 has joined #ruby
<waxjar> jeebster, it calls the #- method on the symbol, with the part behind the hyphen as the argument.
picca has quit [Remote host closed the connection]
bricker_ is now known as bricker
<shevy> wheeee get all symbols for free today! limited offer! p Symbol.all_symbols
<jeebster> oh interesting, I didn't know there was a #- method
<bricker> How do you specify flags (g, i, etc) in regular expressions when using the %r syntax?
<waxjar> there isn't for Symbols :P
<shevy> lies
<shevy> :foo.send(:-) NoMethodError: undefined method `-' for :foo:Symbol
<shevy> the cake is a lie man
* MrZYX hands shevy a def Symbol.-(other); "wat"; end
<gtype> nhhagen: yeah, just wondering if there was some way to get it to play well on windows
<nhhagen> gtype: I gave up on that my self
<shevy> gtype, if it is only a misbehaving gem
<shevy> write a better one :D
<MrZYX> or fix it
<MrZYX> open source and all that nonsense, ya know
ebobby has quit [Quit: Lost terminal]
mneorr has quit [Remote host closed the connection]
<nhhagen> gtype: using vagrant you get shared directories so you can still use any editor you want and save a lot of CPU by not reddening any GUI for the quest OS
d2dchat has quit [Remote host closed the connection]
<nhhagen> gtype: or do MrZYX says :)
<nhhagen> do as
<gtype> unfortunately i'm noob on ruby, and don't want to invest the time at the time
vlad_starkov has quit [Remote host closed the connection]
<gtype> i know, selfish
xbhya has joined #ruby
<gtype> but real life is a b*tch
<MrZYX> that's the problem with your windows guys, complaining that we don't use windows and test our stuff there ;P
<MrZYX> *you
cloke_ has joined #ruby
<nhhagen> lol
nahiluhmot has quit [Remote host closed the connection]
<Quadlex> MrZYX: The converse is often true for web apps
<Quadlex> "Yeah, all our devs use Chrome on Mac so we don't bother testing IE"
<Quadlex> Which is fine... As long as your market are all devs, also
cloke has quit [Ping timeout: 256 seconds]
cloke_ is now known as cloke
khismetix has joined #ruby
<MrZYX> I'm not talking about business work, I'm talking about open source stuff
<Quadlex> Ah. Carry on.
<gtype> MrZYX: true, and i'm not complaining
<MrZYX> when getting paid you should do what your target market/clients need/want. No discussion
<shevy> anyone knows of a simple english converter... from "2" to become "two", from "33" to become "thirtythree" ?
<MrZYX> but when it comes to open source being a selfish asshole dev is okay, I think it's the core motivation
<gtype> nhhagen, im using shared folders in vbox, and still need polling. is vagrant different?
pitzips has quit [Quit: Leaving]
<shevy> gtype hmm but when you cant write ruby code by yourself, you always will depend on others :\
<nhhagen> gtype: it runs virtuabox in the back, so probably not, vagrant just made getting everything working a lot easier
lolzilla has quit [Quit: leaving]
<gtype> nhhagen: thought so, thanks anyway
<nhhagen> gtype: I assume you are running of a local disk?
<nhhagen> off
<gtype> shevy: yes, but i am getting into web design, and it pays well, and i just need guard to compile and liverealod the browser
arya_ has joined #ruby
lolzilla has joined #ruby
<gtype> when i get some time i will learn ruby
<gtype> and i will fix the damn thing
<Vivekananda> did someone here gimme a good youtube link for Data structures in java ?
<gtype> nhhagen yes, c: actually, bvox shared folder is pointed to c:\webdesign
invisime has quit [Quit: Leaving.]
arya has quit [Ping timeout: 252 seconds]
<xbhya> if i'm running a ruby script from nodejs and I'm trying to pass it a potentially large chunk of html, such that my n00b brain is telling me passing it as an argument isn't the way, how would i go about it?
jdunck has quit [Quit: Computer has gone to sleep.]
<gtype> it is mounted in /media/sfwebdesign i think
<gtype> but no notify
<DouweM> xbhya env var?
<MrZYX> xbhya: it'll probably fit but just pipe it over stdin
<DouweM> ^ is better
<MrZYX> isn't vbox using CIFS for the shared folder? at least when it comes to guest view
<xbhya> thanks, i'll look into that
nesoi has joined #ruby
<gtype> just a slight rant, there should be some place stating that ruby on windows sucks
<nhhagen> gtype: sorry, then I'm out of ideas
<MrZYX> xbhya: then on the ruby side look into ARGF to easily read it
<nesoi> I'm trying to connect to a MySQL database and it's failing. What can I do to get the specific reason it's failing?
kirun has quit [Quit: Client exiting]
<gtype> by the end of the week i was cursing every thing ruby related so badly
<nesoi> is there some logging I can enable or something ?
c0rn has quit [Quit: Computer has gone to sleep.]
<gtype> than when everything went more than smooth in five minutes in linux
<gtype> i could barely believe it
punkrawkR has quit [Read error: Connection reset by peer]
<nhhagen> gtype: there is well it states that some gems might not work, or that you need a special windows version of it
toddWork_ has quit [Quit: toddWork_]
arya_ has quit [Ping timeout: 248 seconds]
<nhhagen> gtype: can't remember where I read it
<gtype> i must have missed it then lol
jtharris has joined #ruby
<gtype> MrZYX: dunno, it is over samba i think
ramblex has quit [Read error: Connection reset by peer]
<gtype> the same as networking from a windows machine i would guess
<nhhagen> yep
<MrZYX> CIFS is the protocol behind windows share/samba
<nesoi> so, there's no way to get any detailed error log when ruby can't connect to mysql?
<gtype> oh
Vivekananda has quit [Quit: Ex-Chat]
<gtype> then it provavly is
<nesoi> or even a detailed message?
<gtype> is there any way to mount it any differently?
Proshot has joined #ruby
<MrZYX> so I doubt that protocol supports any kind of notifications
<gtype> is there any windows driver/service that i could use to share from windows in a more unix or better way?
<gtype> so disable shared folders
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
<gtype> install some unix like sharing driver on windows
<nhhagen> check if there is a port of nfs
bean has quit [Quit: Computer has gone to sleep.]
<gtype> and mount a network with notification
<nesoi> all I get is "can't connect to MySQL server on 'localhost'". There's no way of getting a more detailed message? I want to know if it can't find the server or the password isn't working or what
<MrZYX> hm, not sure, if you could host NFS shares on windows it'll probably be a bit faster, but I don't think it has notifications either
<MrZYX> as this are network protocols, spamming the network with every file change is pretty ridiculous
jonathanwallace1 has joined #ruby
Banistergalaxy has quit [Ping timeout: 256 seconds]
<gtype> good point
<gtype> (although polling is even more ridiculous lol)
khismetix has quit [Ping timeout: 252 seconds]
mneorr has joined #ruby
Banistergalaxy has joined #ruby
<MrZYX> one way that could work is rsync'ing your workspace into the VM in the morning, share it from the VM to the host and rsync it back in the evening
arya has joined #ruby
jonathanwallace has quit [Ping timeout: 258 seconds]
<gtype> yeah, but something feels wrong about having the projects in the vm lol
<MrZYX> or check the whole thing into git
lewix has joined #ruby
<MrZYX> git works well on windows from what I've heard :D
<MrZYX> once you turned of autocrlf of course :P
ab3 has quit [Ping timeout: 245 seconds]
kristofers has quit []
megha has joined #ruby
<nhhagen> turning autocrlf off?
<nhhagen> I keep it on, nice endings in origin
ab3 has joined #ruby
mikepack has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
<nhhagen> If I have not gotten the whole thing wrong
baba has quit [Ping timeout: 260 seconds]
hadees has quit [Quit: hadees]
<MrZYX> hm, whatever it was that it makes to not change all lineendings to CRLF on commit
<MrZYX> I thought it was autocrlf
<nhhagen> I think if it is set to true, crlf is turned into lf on commit
_br_ has joined #ruby
sepp2k has quit [Ping timeout: 245 seconds]
mneorr has quit [Remote host closed the connection]
pietr0 has quit [Ping timeout: 246 seconds]
<gtype> well been googlin, didnt find anything
<gtype> ill stick with my stressed cpu until the end of this project
<gtype> anyway thanks a lot for the patience guys
<_br_> anyone here working with ruby/sinatra/warden/rack::flash? I've got warden up and running and flash messages work also, but doing flash messages inside e.g. strategies doesn't work... any hints ? ideas?
nfk has quit [Quit: yawn]
jonathanwallace1 has quit [Quit: WeeChat 0.4.0]
Heero has quit [Ping timeout: 256 seconds]
mneorr has joined #ruby
vlad_starkov has joined #ruby
brianpWins has quit [Quit: brianpWins]
<MrZYX> right, all I remember is that the default on windows was annoying ;P
<nhhagen> same, what is up with keeping CR around
benlieb has quit [Quit: benlieb]
mengu has quit [Quit: Leaving]
krainboltgreene has joined #ruby
thomasle_ has quit [Remote host closed the connection]
hadees has joined #ruby
<nesoi> so I'm trying to use this gem which used to work, and somehow instead of returning a status to me it's raising an error and crashing my program. How can I get it to either behave as it did before, or figure out which error I need to rescue?
jdunck has joined #ruby
<nesoi> before, it would return an error status without raising an error
<nesoi> so I could just handle it as a case
tenmilestereo has quit [Quit: Leaving]
Voodoofish430 has quit [Quit: Leaving.]
<MrZYX> the class is in the message
arya has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Ping timeout: 258 seconds]
<nesoi> MrZYX : thanks. I see that, but how do I rescue it?
<MrZYX> rescue NameOfClass => e; handle_error; end
linguini has joined #ruby
<MrZYX> begin; code; before that of course
<MrZYX> with the => e being optional
Davey has quit [Quit: Computer has gone to sleep.]
hiroyuki has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
<nesoi> I tried that MrZYX and it doesn't catch the error
<linguini> Should I consider ruby-mode.el the definitive source for ruby style?
f0ster has joined #ruby
lewix has quit [Remote host closed the connection]
dopie has quit [Ping timeout: 245 seconds]
<MrZYX> nesoi: then you're not rescuing the right class
<MrZYX> nesoi: make a gist, code, expected behavior, actual behavior
<f0ster> how can I put a ternary operator or some kind of if inside of an map ? e.g. , Cars.map { |c| c.wheels.length == 0 ? c.destroy : ; } ?
arya has joined #ruby
skattyadz has quit [Quit: skattyadz]
<nesoi> MrZYX : here's a gist of the error message https://gist.github.com/anonymous/1bcd646a0eaa497c2026
<MrZYX> f0ster: so you want to all destroy on all Cars? also Activerecord?
<f0ster> MrZYX: yeah
<nesoi> it shows MWS::ErrorResponse, so I put that in as rescue MWS::ErrorResponse
<f0ster> MrZYX: well, only destroy if it meets the wheels condition
<nesoi> and it doesn't catch it
<MrZYX> -> #RubyOnRails, but Cars.all.select { c.wheels.length == 0}.each(&:destroy)
<DouweM> insert |c| before c.wheels
evenix has joined #ruby
<f0ster> ah
<f0ster> so that doesnt use sql but uses AR
<MrZYX> no ruby
<f0ster> what is up with &:destroy ?
<MrZYX> AR is over after Car.all
<linguini> I'm wondering whether quux or zork is better https://gist.github.com/anonymous/5514982
<f0ster> MrZYX: oh select is ruby ?
yfeldblum has joined #ruby
<MrZYX> on an array, yeah
<DouweM> f0ster that it calls the destroy method on every item in the array
<nesoi> MrZYX: hmmm.. nevermind, I found it. thanks.
<f0ster> I don't understand the syntax DouweM, the & and the :
NiteRain has joined #ruby
<f0ster> ty
<DouweM> f0ster it's a Rails-specific hack, and a very useful one at that
benlieb has joined #ruby
<f0ster> oh so it is not ruby
<DouweM> or not, has been in Ruby for a while it seems
DonRichie has quit [Quit: Verlassend]
<MrZYX> f0ster: it is
tylersmith has quit [Remote host closed the connection]
<Spooner> Nothing to do with Rails. It is a standard thing in Ruby.
<DouweM> Spooner since 1.8.7, yeah
<DouweM> Symbol#to_proc that is. According to that SO post
theRoUS has quit [Ping timeout: 276 seconds]
stoic_squirrel has joined #ruby
evenix has quit [Ping timeout: 258 seconds]
stkowski has quit [Quit: stkowski]
hadees has quit [Quit: hadees]
dmiller has joined #ruby
<nesoi> it's odd that it used to work and now doesn't though, with no changes to the code
bluOxigen has quit [Ping timeout: 264 seconds]
dmiller_ has joined #ruby
jamie_ca_ has quit [Quit: Computer has gone to sleep.]
pcarrier has quit [Quit: Textual IRC Client: www.textualapp.com]
Brutus- has quit [Remote host closed the connection]
<nesoi> the only thing which changed was the OS it's hosted on and maybe the version of ruby
timkohrumel has quit [Remote host closed the connection]
arubin has joined #ruby
monkegjinni has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 258 seconds]
ravster has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
benlieb has quit [Quit: benlieb]
<MrZYX> in other words your complete environment, most likely even different version of the gem
thomasl__ has joined #ruby
epicurus has joined #ruby
vertroa has quit [Ping timeout: 264 seconds]
jbw has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
dmiller_ has quit [Remote host closed the connection]
jimg has joined #ruby
dmiller has joined #ruby
xardas has quit [Ping timeout: 268 seconds]
mrsolo has quit [Quit: Leaving]
aedornm has quit [Remote host closed the connection]
brianpWins has joined #ruby
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mneorr has quit [Remote host closed the connection]
benlieb has joined #ruby
banjara has quit [Quit: Leaving.]
mixel has quit [Quit: mixel]
<nesoi> MrZYX : I looked at the gem on git and it hadn't been updated for a while though
<nesoi> anyway, this is good. I found a bug in the program :)
mixel has joined #ruby
Davey has joined #ruby
gtype has quit [Quit: Leaving]
brotatos has joined #ruby
jfelchner has quit [Quit: WeeChat 0.3.9.2]
DrakerHack has joined #ruby
bean has joined #ruby
<nesoi> oops. that's odd. it just crashed on an http request EOF. that doesn't seem right
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
DrakerHack has left #ruby [#ruby]
<nesoi> should this happen?
<nesoi> C:/Ruby193/lib/ruby/1.9.1/openssl/buffering.rb:174:in `sysread_nonblock': end of
<nesoi> file reached (EOFError)
mercwithamouth has joined #ruby
bean has quit [Client Quit]
Markvilla has joined #ruby
Brutus- has joined #ruby
Markvilla has quit [Max SendQ exceeded]
jbw has joined #ruby
pietr0 has joined #ruby
Markvilla has joined #ruby
browndawg has joined #ruby
predator217 has joined #ruby
browndawg has quit [Client Quit]
jamesfung14 has joined #ruby
ffranz has quit [Quit: Leaving]
nari_ has joined #ruby
predator117 has quit [Ping timeout: 276 seconds]
thisirs has quit [Remote host closed the connection]
ariedler has quit [Remote host closed the connection]
cloke has quit [Ping timeout: 256 seconds]
MrZYX is now known as MrZYX|off
jbueza has quit [Quit: Leaving.]
lolzilla has quit [Quit: leaving]
blakeeb has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
_br_ has quit [Quit: leaving]
slash_nick has joined #ruby
Mattix has joined #ruby
<Mattix> Hello
elaptics is now known as elaptics`away
<slash_nick> Hey
<Mattix> is there any way to transform [[1], [2]] into [1,2] without a loop?
<slash_nick> flatten?
<Mattix> yeah! exactly
<slash_nick> array.flatten
<Mattix> I couldn't remember the name :)
<Mattix> thans
<slash_nick> bravo, there it is :)
<Mattix> thanks
chipotle_ has joined #ruby
<xibalba> ozzloy,
kofno has joined #ruby
benlieb has quit [Quit: benlieb]
arya has quit [Ping timeout: 248 seconds]
twoism has quit [Remote host closed the connection]
slash_nick has quit [Ping timeout: 256 seconds]
hiroyuki has joined #ruby
jimg has quit [Remote host closed the connection]
arya has joined #ruby
noxoc has quit [Ping timeout: 252 seconds]
tbrock_ has joined #ruby
v0n has joined #ruby
anonymuse has quit [Quit: Leaving...]