apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
snovak has joined #ruby
<havenwood> arooni-mobile: Always glad to learn of new gems! :)
<arooni-mobile> ok i thought i might get different ideas
burlyscudd has quit [Quit: Leaving.]
<arooni-mobile> which i totally did in this case
<havenwood> arooni-mobile: Yeah, you can do it - just say you're cross posting so people answering know to look across etc.
<arooni-mobile> oh ok thats a good idea
<arooni-mobile> its annoying this attempt thing; it seems like i cant declare a local var within the block
Tricon has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
stuartrexking has joined #ruby
osvico has quit [Ping timeout: 260 seconds]
snovak has quit [Ping timeout: 246 seconds]
rupee has quit [Quit: Leaving]
mrsolo has quit [Quit: This computer has gone to sleep]
mrsolo has joined #ruby
Tricon has quit [Client Quit]
brennanM_ has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
osvico has joined #ruby
zeade has joined #ruby
narcan has joined #ruby
i_s has quit [Remote host closed the connection]
araujo has quit [Read error: Connection reset by peer]
slabserif has joined #ruby
araujo has joined #ruby
Lewix has quit [Remote host closed the connection]
_veer has quit [Ping timeout: 276 seconds]
iliketur_ has joined #ruby
Lewix has joined #ruby
iliketur_ has quit [Client Quit]
fuzzy__ has joined #ruby
fuzzy___ has joined #ruby
fuzzy_ has quit [Ping timeout: 240 seconds]
slabserif has quit [Remote host closed the connection]
fuzzy has quit [Ping timeout: 246 seconds]
cjs226 has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
pitzips has quit [Ping timeout: 264 seconds]
robonerd has joined #ruby
Lewix has quit [Ping timeout: 240 seconds]
_veer has joined #ruby
stuartrexking has quit [Quit: Leaving...]
ewnd9 has quit [Ping timeout: 246 seconds]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
Wildhoney has quit [Quit: Wildhoney]
i_s has joined #ruby
robonerd has quit [Client Quit]
Mon_Ouie has joined #ruby
i_s has quit [Remote host closed the connection]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeade has quit [Ping timeout: 276 seconds]
brianpWins has quit [Quit: brianpWins]
nanoxd has joined #ruby
fsck3r has joined #ruby
nari has quit [Ping timeout: 256 seconds]
cloke_ has joined #ruby
cloke has quit [Ping timeout: 245 seconds]
cloke_ is now known as cloke
mlpinit has joined #ruby
mlpinit has quit [Remote host closed the connection]
the_hack has quit [Quit: Leaving...]
mary5030 has joined #ruby
wmoxam has joined #ruby
khushildep has quit [Quit: khushildep]
mmitchell has joined #ruby
Ripp__ has quit [Quit: Ripp__]
amacgregor_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
ehc has quit [Quit: ehc]
zodiak has joined #ruby
amacgregor has quit [Ping timeout: 246 seconds]
MarcWeber has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
<MarcWeber> I have a problem installing a gem (ncursesw and ncursesw-sup): When "make install" gets run it tries to install lib/ncursesw.rb to lib/ncursesw.rb which fails due to "same file"
c0rn has quit [Ping timeout: 245 seconds]
<shevy> hmmm
<MarcWeber> I'm using the gem -i command
<MarcWeber> Well - its still ruby 1.8.7, maybe I should try more recent version
cloke has quit [Quit: cloke]
hogeo has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
zarubin has quit [Ping timeout: 246 seconds]
<MarcWeber> Same with 1.9.3
<shevy> you did: "gem install ncurses" ?
sarkis has quit [Ping timeout: 264 seconds]
<MarcWeber> No, I'm using nixos with custom code. Each gem gets installed into its own directory.
<MarcWeber> And the package with fails is ncursesw-sup
<shevy> cool
<shevy> other gems work on nixos?
<shevy> that's even one step further than gobolinux went
<MarcWeber> and ncursesw
<MarcWeber> shevy: Yes, Eg xapian-ruby etc are fine.
<shevy> I dont have much luck with ncurses either
<shevy> form_wrap.c:1126:38: error: 'struct RArray' has no member named 'len'
<shevy> make: *** [form_wrap.o] Error 1
argentum has joined #ruby
bleubeard has quit [Remote host closed the connection]
<MarcWeber> shevy: ncurses*w* and ncurses*w-sup*
<shevy> hmm
<shevy> emi ncursesw-sup
<shevy> Fetching: ncursesw-1.2.4.3.gem (100%)
<shevy> Building native extensions. This could take a while...
zodiak has quit [Ping timeout: 276 seconds]
<shevy> Installing ri documentation for ncursesw-1.2.4.3
<shevy> 1 gem installed
DanKnox is now known as DanKnox_away
dodosan has joined #ruby
tyfighter has quit [Ping timeout: 245 seconds]
dankest has joined #ruby
<shevy> and ncursesw-sup-1.3.1.3.gem too
<shevy> I think both installed fine... let me try to test them
bklane has joined #ruby
malcolmva has quit [Quit: Leaving]
nfk has quit [Quit: yawn]
malcolmva has joined #ruby
<MarcWeber> shevy: can you try with -i /tmp/target ?
<shevy> require.rb:45:in `require': cannot load such file -- ncurses (LoadError)
<MarcWeber> gem install --backtrace -V --ignore-dependencies -i /nix/store/8vf8lib4gs85j19d7dicz3sbr2nv68sv-ncursesw-sup-1.3.1.3 /nix/store/mwh3a92kaa2n3ga7zxg1hk0bzvkvlmm8-ncursesw-sup-1.3.1.3.gem --
pen has joined #ruby
<shevy> I think I am screwed anyway because ncurses does not work
<shevy> I will try
marius has quit [Ping timeout: 264 seconds]
<MarcWeber> shevy: There is ncursesw.rb AFAIK
<MarcWeber> shevy: create the /tmp/target dir first
terrellt has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 264 seconds]
<shevy> how do I use your command with ncursesw-1.2.4.3.gem ?
<shevy> gem install --backtrace -V --ignore-dependencies -i /usr/lib/ruby/gems/1.9.1/cache/ncurses-0.9.1.gem
<shevy> Please specify at least one gem name (e.g. gem build GEMNAME)
<MarcWeber> -i sets a install directory
<shevy> aha
<MarcWeber> so instead of using ~/.gem/something try /tmp/target
<shevy> gem install --backtrace -V --ignore-dependencies -i /TEST ncursesw-1.2.4.3.gem
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> so far that seems to work
<shevy> I think it would work when I use /nix/store/8vf8lib4gs85j19d7dicz3sbr2nv68sv-ncursesw-sup-1.3.1.3 too
<MarcWeber> shevy: http://dpaste.com/1353801/
<MarcWeber> See line 89
<MarcWeber> Do you have a similar line?
<shevy> it fails at "make install" for you?
kdaigle has joined #ruby
<MarcWeber> Yes. install /tmp/B /tmp/B fails beacuse both paths are the same.
pyx has joined #ruby
pyx has quit [Client Quit]
katzekintosh has joined #ruby
katzekintosh has quit [Client Quit]
tallwhite has joined #ruby
i_s has joined #ruby
bklane has quit [Remote host closed the connection]
<MarcWeber> shevy: Let me try providing an existing HOME directory ..
wmoxam has joined #ruby
duracrisis has joined #ruby
<MarcWeber> Why is the build and install dir the same in may case !? ..
<shevy> yes
<shevy> that is a good question
<shevy> you specified different ones, right?
<shevy> on the commandline
<shevy> so somewhere it must be overruled sneakily
<MarcWeber> No, I don't know how to specify the build dir
<shevy> hmmmmm
Mon_Ouie has quit [Read error: Operation timed out]
IceyEC has quit [Quit: IceyEC]
zodiak has joined #ruby
x1337807x has quit [Quit: ZNC - http://znc.in]
<MarcWeber> shevy: Why do I get the message "Using local gem" ?
<MarcWeber> We both have used -V?
<MarcWeber> Which ruby version did you use?
<shevy> perhaps because you specified a location
<shevy> ruby 1.9.3p194 (2012-04-20 revision 35410) [i486-linux]
<MarcWeber> In my case its an absolute path
<MarcWeber> p429 is what I'm using
<shevy> yeah, perhaps it attempts to use the local one
Levin_22_ has joined #ruby
Akuma has joined #ruby
<shevy> you could remove it perhaps and try again
Megtastique has joined #ruby
<shevy> huh
<MarcWeber> shevy: nixos is about reproducing builds, thus there are special fixed output builds using the internet to download files, and other builds using those results to compile results ..
<shevy> I use an ancient ruby version
marsLantern has quit [Quit: marsLantern]
Levin_22 has quit [Ping timeout: 256 seconds]
Levin_22_ is now known as Levin_22
<shevy> nixos is cool
<shevy> I'd just wish it would also have a gobolinux-like structure on top of the 8vf8lib4gs85j19d7dicz3sbr2nv68sv dirs
i_s has quit [Ping timeout: 264 seconds]
<MarcWeber> shevy: To do what?
<MarcWeber> You have "profiles".
arooni-mobile has quit [Ping timeout: 246 seconds]
<MarcWeber> You install the /nix/store/hash-name stuff into a profile which is used to augment PATH.
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MarcWeber> So there is no need to use those cryptic names usually.
tkuchiki has joined #ruby
<MarcWeber> remote_fetcher.rb def download : http://dpaste.com/1353803/
x1337807x has joined #ruby
snovak has joined #ruby
sevenseacat has joined #ruby
lyanchih has joined #ruby
m8 has quit [Read error: Connection reset by peer]
Kabaka has quit [Remote host closed the connection]
eka has joined #ruby
robbyoconnor has quit [Excess Flood]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
robbyoconnor has joined #ruby
<shevy> hmm
mrsolo has joined #ruby
nari has joined #ruby
ewnd9 has joined #ruby
fsck3r has quit [Quit: Leaving...]
x1337807x has quit [Read error: Connection reset by peer]
<shevy> /nix/store/dz9pvnjmvnhikfwyf624zzkj3cv7mbqi-coreutils-8.21/bin/install: './lib/ncursesw.rb' and '/nix/store/8vf8lib4gs85j19d7dicz3sbr2nv68sv-ncursesw-sup-1.3.1.3/gems/ncursesw-sup-1.3.1.3/lib/ncursesw.rb' are the same file
huevon has quit [Quit: WeeChat 0.4.1]
burlyscudd has joined #ruby
<shevy> they seem to use different paths
<MarcWeber> shevy: Retrying with your version now.
<shevy> or are there symlinks?
IceDragon has quit [Quit: Space~~~]
<MarcWeber> shevy: depends on what current directory is.
Kabaka has joined #ruby
<shevy> well perhaps that is why ... a check to look at symlinks, and the script assumes it is the same file
Rym has quit [Quit: Rym]
eka has quit [Client Quit]
snovak has quit [Ping timeout: 248 seconds]
mwmnj has quit [Ping timeout: 264 seconds]
stoffus has joined #ruby
ryandeus_ has joined #ruby
stoffus has quit [Client Quit]
Akuma has quit [Quit: So long sukkas!]
mansi has quit [Ping timeout: 240 seconds]
ryandeussing has quit [Ping timeout: 260 seconds]
butblack has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
JimmyNeutron has joined #ruby
b00stfr3ak has joined #ruby
burlyscudd has quit [Ping timeout: 248 seconds]
Akuma has joined #ruby
brennanMKE has joined #ruby
eka has joined #ruby
<MarcWeber> no symlinks
<MarcWeber> So it must be that install and build directory are the same
hogeo has quit [Ping timeout: 276 seconds]
ezra has joined #ruby
aryaching has joined #ruby
saarinen has quit [Quit: saarinen]
<MarcWeber> And that older ruby version fails with http://dpaste.com/1353804/
saarinen has joined #ruby
saarinen has quit [Client Quit]
nanoxd has joined #ruby
stuartrexking has joined #ruby
_reset has joined #ruby
adeponte has quit [Remote host closed the connection]
JohnE has joined #ruby
zeade has joined #ruby
mlpinit has joined #ruby
mary5030 has quit [Remote host closed the connection]
reset has quit [Ping timeout: 264 seconds]
jrobeson has quit [Remote host closed the connection]
aeontech has joined #ruby
_reset has quit [Ping timeout: 248 seconds]
butblack has left #ruby [#ruby]
zeade has quit [Client Quit]
jrobeson has joined #ruby
ewnd9 has quit [Ping timeout: 264 seconds]
Levin_22 has quit [Quit: Levin_22]
pen has quit [Remote host closed the connection]
fuzzy___ is now known as Fuzai
PapaSierra has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
ezra has quit [Ping timeout: 240 seconds]
alpha123 has quit [Quit: leaving]
ewnd9 has joined #ruby
mydog2 has quit [Remote host closed the connection]
ezra has joined #ruby
ezra is now known as Guest99644
eka has quit [Quit: Computer has gone to sleep.]
digital-ghost has quit [Remote host closed the connection]
Rym has joined #ruby
Guest99644 is now known as ezra
ezra has quit [Changing host]
ezra has joined #ruby
kvirani has joined #ruby
hasrb has joined #ruby
stuartrexking has quit [Quit: Leaving...]
arooni-mobile has joined #ruby
mmitchell has quit [Remote host closed the connection]
justsee has quit [Ping timeout: 264 seconds]
aryaching_ has joined #ruby
danshultz has joined #ruby
alpha123 has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
danshultz has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
Lewix has joined #ruby
havenwood has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
hasrb has quit [Remote host closed the connection]
sparr has joined #ruby
Domon has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
Alina-malina has joined #ruby
__maes_ has joined #ruby
_maes_ has joined #ruby
dankest has quit [Quit: dankest]
mlpinit has quit [Remote host closed the connection]
rovar has quit [Read error: Connection reset by peer]
bionoid has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
mando has joined #ruby
sambao21 has joined #ruby
mlpinit has joined #ruby
adeponte has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
swordsmanz has joined #ruby
mansi has joined #ruby
mando has quit [Remote host closed the connection]
mansi has quit [Read error: Connection reset by peer]
jarray52 has joined #ruby
mansi has joined #ruby
anonymuse has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
Vivekananda has quit [Ping timeout: 240 seconds]
DanKnox_away is now known as DanKnox
dml has joined #ruby
mansi has joined #ruby
snovak has joined #ruby
dml is now known as Guest43753
momomomomo has joined #ruby
momomomomo has quit [Client Quit]
mansi has quit [Ping timeout: 260 seconds]
snovak has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
robonerd has joined #ruby
robonerd has quit [Changing host]
robonerd has joined #ruby
giarc has left #ruby [#ruby]
goleldar has joined #ruby
newUser1234 has joined #ruby
manyoo has joined #ruby
wicked has quit [Remote host closed the connection]
michaelhf has quit [Remote host closed the connection]
GeissT has joined #ruby
ner0x has joined #ruby
aryaching_ has quit [Ping timeout: 264 seconds]
manyoo has left #ruby [#ruby]
robonerd has quit [Quit: zzz]
bronson_ has quit [Quit: bronson_]
fbernier has quit [Ping timeout: 268 seconds]
Rym has quit [Ping timeout: 276 seconds]
giarc has joined #ruby
rezzack has quit [Quit: Leaving.]
bronson_ has joined #ruby
adeponte has quit [Remote host closed the connection]
_veer has quit [Ping timeout: 240 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
JimmyNeutron has quit [Quit: Leaving]
apok has quit [Quit: apok]
_veer has joined #ruby
robonerd has joined #ruby
Megtastique has quit [Quit: Megtastique]
brennanMKE has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
vishal has joined #ruby
Targen has quit [Ping timeout: 240 seconds]
dankest has joined #ruby
Megtastique has joined #ruby
aryaching has joined #ruby
Megtastique has quit [Client Quit]
kevinykchan has quit [Quit: Computer has gone to sleep.]
adeponte has joined #ruby
aeontech has quit [Quit: aeontech]
kvirani has quit [Remote host closed the connection]
ryandeus_ has quit [Remote host closed the connection]
Nisstyre has quit [Quit: Leaving]
kvirani has joined #ruby
dankest has quit [Read error: Connection reset by peer]
dankest has joined #ruby
kvirani has quit [Ping timeout: 276 seconds]
nowthatsamatt has joined #ruby
radic_ has joined #ruby
rburton- has quit [Quit: Leaving...]
jonahR has joined #ruby
radic__ has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
aryaching has quit []
marcgg has quit [Ping timeout: 264 seconds]
amacgregor has joined #ruby
mary5030 has quit [Remote host closed the connection]
JDHankle has joined #ruby
marcgg has joined #ruby
b00stfr3ak has quit [Ping timeout: 260 seconds]
justsee has quit [Ping timeout: 256 seconds]
amacgregor_ has quit [Ping timeout: 245 seconds]
zorg24 has quit [Ping timeout: 245 seconds]
sarkis has joined #ruby
bklane has joined #ruby
vishal_ has joined #ruby
vishal has quit [Read error: Connection reset by peer]
snovak has joined #ruby
pvizcay has quit [Quit: leaving]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wmoxam has quit [Ping timeout: 245 seconds]
hiyosi has quit [Read error: Operation timed out]
snovak has quit [Ping timeout: 264 seconds]
tabolario has joined #ruby
graydot has joined #ruby
bklane has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
Weems has joined #ruby
Weems has quit [Changing host]
Weems has joined #ruby
lyanchih has joined #ruby
Megtastique has joined #ruby
mansi has joined #ruby
osvico has quit [Ping timeout: 246 seconds]
jhn has joined #ruby
Megtastique has quit [Client Quit]
gsvolt has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 248 seconds]
beneggett has joined #ruby
mercwithamouth has quit [Ping timeout: 248 seconds]
Lewix has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 245 seconds]
brennanMKE has joined #ruby
Lewix has joined #ruby
Megtastique has joined #ruby
sarkis has joined #ruby
Megtastique has quit [Client Quit]
nowthatsamatt has quit [Quit: nowthatsamatt]
vlad_starkov has joined #ruby
dodosan has quit [Remote host closed the connection]
Lewix has quit [Ping timeout: 240 seconds]
cj3kim_ has quit [Remote host closed the connection]
crus has joined #ruby
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
vlad_starkov has quit [Ping timeout: 256 seconds]
sarkis has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
Tricon has joined #ruby
mary5030 has joined #ruby
stkowski has quit [Quit: stkowski]
hasrb has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
DanKnox is now known as DanKnox_away
guns has joined #ruby
orionstein_away is now known as orionstein
DrCode has joined #ruby
wallerdev has joined #ruby
newUser1234 has joined #ruby
robbyoconnor has quit [Ping timeout: 248 seconds]
guiocavalcanti has quit [Remote host closed the connection]
argentum has quit [Quit: argentum]
beneggett has quit [Quit: beneggett]
t0rc has quit [Quit: WeeChat 0.4.1]
mlpinit has quit [Remote host closed the connection]
goleldar has quit [Quit: Leaving]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
newUser1234 has quit [Ping timeout: 256 seconds]
argentum has joined #ruby
caju has quit [Remote host closed the connection]
St_Marx has quit [Remote host closed the connection]
orionstein is now known as orionstein_away
St_Marx has joined #ruby
robonerd has quit [Quit: zzz]
zeropx has quit [Quit: has left the room … Or did he?]
ezra has quit [Ping timeout: 248 seconds]
robonerd has joined #ruby
guns has quit [Quit: guns]
duracrisis has quit [Ping timeout: 245 seconds]
lyanchih has quit [Quit: lyanchih]
Davey has quit [Quit: Computer has gone to sleep.]
fgo has joined #ruby
lyanchih has joined #ruby
vadelius has quit [Ping timeout: 264 seconds]
zorg24 has joined #ruby
bronson_ has quit [Quit: bronson_]
nowthatsamatt has joined #ruby
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby
TheMoonMaster has quit [Changing host]
TheMoonMaster has joined #ruby
eldariof has joined #ruby
hasrb has quit [Remote host closed the connection]
snovak has joined #ruby
zorg24 has quit [Ping timeout: 245 seconds]
vishal has joined #ruby
vishal_ has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 264 seconds]
snovak has quit [Ping timeout: 245 seconds]
vadelius has joined #ruby
soba has joined #ruby
randomautomator has joined #ruby
eldariof has quit [Ping timeout: 264 seconds]
lyanchih has quit [Quit: lyanchih]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
randomau_ has quit [Ping timeout: 260 seconds]
fgo has quit [Remote host closed the connection]
siera08 has joined #ruby
brennanM_ has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
randomautomator has quit [Ping timeout: 276 seconds]
robbyoconnor has joined #ruby
sparq_ has joined #ruby
zachrab has joined #ruby
Tricon has joined #ruby
bronson_ has joined #ruby
freeayu has joined #ruby
vlad_starkov has joined #ruby
Tricon has quit [Client Quit]
siera08 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
brennanMKE has joined #ruby
brennanM_ has quit [Read error: Connection reset by peer]
snath has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 264 seconds]
brennanM_ has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
alpha123 has quit [Quit: leaving]
ewnd9 has quit [Ping timeout: 245 seconds]
ryandeussing has joined #ruby
lyanchih has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
dodosan has joined #ruby
huoxito has quit [Ping timeout: 245 seconds]
companion is now known as Companion
fsck3r has joined #ruby
ryandeussing has quit [Ping timeout: 260 seconds]
dodosan has quit [Ping timeout: 256 seconds]
freeayu has joined #ruby
<dekz__> is there a easy way to hijack Object constants like :ENV permanently
<dekz__> or is Object. remove const and set const the best way
xefi_ has quit [Ping timeout: 245 seconds]
Jb_ has quit [Ping timeout: 260 seconds]
arooni-mobile has quit [Ping timeout: 245 seconds]
vishal has quit [Remote host closed the connection]
axeman- has joined #ruby
Domon has quit [Remote host closed the connection]
Jb_ has joined #ruby
Domon has joined #ruby
brennanMKE has joined #ruby
brennanM_ has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
huoxito has joined #ruby
Domon has quit [Ping timeout: 240 seconds]
sparq_ has quit [Ping timeout: 240 seconds]
iliketur_ has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tallwhite has quit [Remote host closed the connection]
druonysuse has joined #ruby
druonysuse has joined #ruby
jhn has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby
vadelius has quit [Ping timeout: 246 seconds]
jaredlevitz has joined #ruby
love_color_text has joined #ruby
mlpinit has joined #ruby
xefi_ has joined #ruby
sayan has joined #ruby
Companion is now known as companion
mlpinit has quit [Ping timeout: 240 seconds]
Megtastique has joined #ruby
mary5030 has quit [Remote host closed the connection]
sayonara has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
robonerd has quit [Quit: zzz]
mando has joined #ruby
Deele has joined #ruby
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
aeontech has joined #ruby
brennanMKE has joined #ruby
snovak has joined #ruby
mando has quit [Ping timeout: 256 seconds]
seich- has quit [Ping timeout: 264 seconds]
siera08 has joined #ruby
narcan has quit [Read error: Connection reset by peer]
Weems has quit [Ping timeout: 276 seconds]
SeySayux has quit [Ping timeout: 256 seconds]
lyanchih has joined #ruby
Weems has joined #ruby
fsck3r has quit [Quit: Leaving...]
SeySayux has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
v0n has quit [Ping timeout: 240 seconds]
vadelius has joined #ruby
tomzx_mac has quit [Ping timeout: 248 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
Weems has quit [Changing host]
Weems has joined #ruby
browndawg has joined #ruby
robonerd has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
sparr has quit [Ping timeout: 264 seconds]
druonysuse has quit [Ping timeout: 246 seconds]
Megtastique has quit [Quit: Megtastique]
dhruvasagar has joined #ruby
brennanMKE has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
druonysuse has joined #ruby
<krz> https://github.com/sferik/twitter/blob/master/lib/twitter/rest/api/friends_and_followers.rb how does friend_ids get called via Twitter::Client.new().friend_ids
haxrbyte_ has quit [Remote host closed the connection]
haxrbyte has joined #ruby
apeiros has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
seich- has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
iliketur_ has joined #ruby
bnj has joined #ruby
<bnj> hi! how can I pass an ENV variable from a linux bash script to a ruby program run by |bundle exec unicorn|, please?
druonysuse has quit [Ping timeout: 245 seconds]
bean has quit [Ping timeout: 256 seconds]
relix has joined #ruby
Ripp__ has joined #ruby
<zendeavor> depends
<zendeavor> is the script running bundle exec, or is bundle exec running the script
ananthakumaran has joined #ruby
<bnj> zendeavor: the script runs |bundle exec|
<zendeavor> export it
sparq_ has joined #ruby
dankest has quit [Quit: dankest]
<zendeavor> and then pray
<bnj> export MYENVVAR="something"; and then in the ruby program "ENV['MYENVVAR']"?
<bnj> doesn't work actually :/
tagrudev has joined #ruby
brianpWins has quit [Quit: brianpWins]
Liothen has joined #ruby
apeiros has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
pwh has joined #ruby
ahg has joined #ruby
pwh has quit [Max SendQ exceeded]
<zendeavor> yeahhhh, that seems unlikely though
apeiros has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
pwh has joined #ruby
sparq_ has quit [Max SendQ exceeded]
pwh has quit [Max SendQ exceeded]
palaenkar has joined #ruby
pwh has joined #ruby
<palaenkar> hey, could someone tell me how to make a class use something from another class. Kinda stuck... :(
<pipecloud> ENVVAR='lol' bundle exec ruby -e "puts ENV['ENVVAR']"
lyanchih has quit [Quit: lyanchih]
<palaenkar> i know it's something simple like class<<class
<pipecloud> palaenkar: Depends on what you need.
browndawg has joined #ruby
<zendeavor> that is the same as exporting the var
<pipecloud> zendeavor: No it isn't.
<zendeavor> for this purpose, it is
<pipecloud> There's no reason to export it.
apeiros has quit [Ping timeout: 260 seconds]
<zendeavor> so we'd like to assume, i agree
palaenkar has quit [Read error: Connection reset by peer]
<pipecloud> Let me rephrase, dont' export unless you have reason to.
<zendeavor> both ways are going to put the var in bundle's env
<zendeavor> he's already said it "doesn't work"
<pipecloud> I don't know what you mean by bundle's env with regard to shell variables.
Desert_eagle has quit [Read error: Operation timed out]
<pipecloud> Perhaps "doesn't work" sucks as a response to our suggestions. :)
manyoo has joined #ruby
Domon has joined #ruby
<zendeavor> export foo=bar; bundle exec ... # foo=bar bundle exec ...; # will have the same result, as far as `bundle' is concerned.
<zendeavor> whether the var should be in the shell's process environment is another matter entirely
<zendeavor> picky picky
lyanchih has joined #ruby
r4nd0m1 has quit []
<pipecloud> I'd be impressed to find that it doesn't work unless someone is doing something funny that unsets variables or doesn't inherit environment from the parent process (the shell)
<pipecloud> bnj: Care to help us help you figure out this, or do you got this?
<zendeavor> without seeing the script, no one will ever know.
<pipecloud> Don't forget to set -x
<zendeavor> no, please don't set -x anything
<pipecloud> what
<zendeavor> just show me the script
<zendeavor> it's so much simpler
Desert_eagle has joined #ruby
<pipecloud> Whatever.
altamic has joined #ruby
altamic has left #ruby [#ruby]
Bio has quit [Ping timeout: 245 seconds]
palaenkar has joined #ruby
zoee has joined #ruby
<bnj> oops sorry for the delay, I was trying some stuff
staafl_alt has joined #ruby
<palaenkar> sorry, whenever i shut my laptop and open it back up in ubuntu for some reason my screen won't turn back on, i don't know how to fix it
<palaenkar> but anyways, is there a way i can make a class use the same method from another class
dodosan has joined #ruby
zets has joined #ruby
<bnj> zendeavor, pipecloud: the script is pretty simple: |export ENVVAR=value; bundle exec rake namespace:task|
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bnj> the only issue is that the Rakefile delegates to other Rakefiles
kobain has quit []
<zendeavor> it should still inherit as it goes
dankest has joined #ruby
staafl has quit [Ping timeout: 240 seconds]
<zendeavor> start print debugging, or turn on some debug shit in the rakefiles, or whatever you can do to see where the env var gets lost
sayan has quit [Ping timeout: 260 seconds]
<pipecloud> bnj: Do the other rakefiles look for this shell env variable?
druonysuse has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
<bnj> pipecloud: yep
<pipecloud> bnj: Hm, interesting. This would mean that these other Rakefiles aren't inheriting the process's current environment. Are you doing anything like fork+exec or env -i?
<bnj> pipecloud: so I just checked, the ENV variable is correct in these files too (debug printing FTW)
<bnj> in particular, it precompiles assets and these assets are supposed to use the env variables as local variables
<bnj> might be something wrong related to the "asset compiler"
<pipecloud> bnj: Curiouser and curiouser.
ner0x has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
snovak has joined #ruby
robonerd has quit [Quit: ...]
ayaz has joined #ruby
palaenkar has quit [Quit: Leaving]
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
<bnj> looks like a cache problem actually
snovak has quit [Ping timeout: 245 seconds]
pranny has joined #ruby
lyanchih has joined #ruby
siera08_ has joined #ruby
<pipecloud> Ah, is someone nil-guarding?
<bnj> pipecloud: not sure to see what do you mean by that?
huoxito has quit [Quit: Leaving]
Evixion has quit [Read error: Connection reset by peer]
siera08 has quit [Ping timeout: 264 seconds]
<pipecloud> bnj: @my_env_var ||= SOMECONSTANT || ENV['MYENVVAR'] or something.
<pipecloud> The ||= is a nil-guard
siera08_ is now known as siera08
manyoo has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 240 seconds]
<bnj> pipecloud: yes! everywhere!
Matriks has joined #ruby
<pipecloud> bnj: They might be the source of things perhaps!
Evixion has joined #ruby
zachrab has quit [Remote host closed the connection]
intuxicated has joined #ruby
rickmasta has joined #ruby
vlad_starkov has joined #ruby
zachrab has joined #ruby
pranny has quit [Quit: Leaving.]
justsee has quit [Ping timeout: 264 seconds]
gmar1k has joined #ruby
gmar1k has left #ruby [#ruby]
robbyoconnor has quit [Ping timeout: 245 seconds]
pranny has joined #ruby
pranny has quit [Client Quit]
pranny has joined #ruby
siera08_ has joined #ruby
robbyoconnor has joined #ruby
pranny has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
pranny has joined #ruby
siera08 has quit [Ping timeout: 245 seconds]
siera08__ has joined #ruby
siera08__ is now known as siera08
iliketur_ has quit [Quit: zzzzz…..]
intuxicated has quit [Ping timeout: 264 seconds]
BizarreCake has joined #ruby
dash_ has joined #ruby
dodosan has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
d45h has joined #ruby
siera08_ has quit [Ping timeout: 245 seconds]
vince_prignano has joined #ruby
vlad_starkov has joined #ruby
Megtastique has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
sayan has joined #ruby
rickmasta has quit [Quit: Leaving...]
<bnj> pipecloud: any chance you master Sprockets?
dash_ has quit [Ping timeout: 256 seconds]
brennanMKE has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
<krz> https://github.com/sferik/twitter/blob/master/lib/twitter/rest/api/friends_and_followers.rb how does friend_ids get called via Twitter::Client.new().friend_ids
<zendeavor> krz: try client = Twitter::Client.new(); client.friend_ids
JDHankle has quit [Remote host closed the connection]
<pipecloud> bnj: I'm alright with it. I dont' actually like it. I prefer tilt.
<krz> zendeavor: i know that will work. but how is friend_ids being called from Twitter::Client?
<krz> friend_ids is in a different module
<krz> shouldnt it return undefined method?
<bnj> ok, so the question is: in a ejs file compiled by sprockets, can we access the global ENV?
<pipecloud> bnj: Only if it is also a .erb file.
noopq has joined #ruby
zodiak has quit [Ping timeout: 256 seconds]
<pipecloud> ejs is a javascript template library, it doesn't know anything about the server-side.
intuxicated has joined #ruby
<zendeavor> krz: it probably inherits?
ewnd9 has joined #ruby
<krz> zendeavor: well, where does it inerit. i dont see any inheritance
varfoo has joined #ruby
robonerd has joined #ruby
<zendeavor> well i don't blame you for finding it hard to track
<zendeavor> try some introspection
robonerd has left #ruby [#ruby]
<pipecloud> I'd say to look at finding the source_location and perhaps redefining included on the module.
<pipecloud> You can probably find where it's included from.
<bnj> pipecloud: interesting. So I modified the erb file so as to print the variable, and this file got recompiled and then showed the correct variable
<bnj> I guess sprockets uses some kind of cache
<bnj> using the last modification timestamp of the file, or something like this
<pipecloud> Well, ejs wouldn't be able to understand ENV because ejs is just erb-style templating for javascript.
<pipecloud> Try .ejs.erb
druonysuse has quit [Read error: Operation timed out]
druonysuse has joined #ruby
agjacome has joined #ruby
razi has joined #ruby
<bnj> is there a way to clear the sprockets cache?
tyfighter has joined #ruby
diegoviola has joined #ruby
cj3kim has quit [Remote host closed the connection]
<diegoviola> hi
<pipecloud> bnj: The cached files?
love_color_text has quit [Read error: Connection reset by peer]
Domon has quit [Remote host closed the connection]
<pipecloud> diegoviola: How do you manage to keep trying to contribute when a good portion of your work isn't accepted? I often get discouraged.
<bnj> pipecloud: yes, the cached files compiled by sprockets (I can't just |rake assets:clobber| for some reason)
Domon has joined #ruby
<pipecloud> bnj: Is this a rails app?
freeayu has quit [Ping timeout: 246 seconds]
<bnj> pipecloud: I think so
<sevenseacat> #rubyonrails is thataway --->
<pipecloud> If your asset directory is configured as the default then just rm -r public/assets
<jrobeson> pipecloud, why isn't it accepted ?
<diegoviola> pipecloud: what do you mean?
<pipecloud> jrobeson: I don't keep a log of all of the stuff, but it's mostly on the mailing list.
freeayu has joined #ruby
apeiros has joined #ruby
<pipecloud> diegoviola: I typically get tired of trying after a short while. It's interesting to see you keep at it and continually put the effort forward.
<krz> i dont see any includes in client.rb
<krz> or any inheritance for that matter
<pipecloud> Doesn't mean that there aren't any in the runtime.
<diegoviola> pipecloud: are you referring to something about i did, or you're talking about your experience?
<zendeavor> dude, i don't know, this kind of stuff is hard to mentally track from static source files
rubino123 has joined #ruby
<pipecloud> Twitter::Client.send :include, MyModule
<sevenseacat> track it anwyay!!
<zendeavor> bring up irb
<zendeavor> test it out.
<diegoviola> pipecloud: i don't think i tried to contribute that much yet to ruby projects
aganov has joined #ruby
<pipecloud> diegoviola: Just reading the mailing lists for rubyonrails, unless I'm just confusing you with someone who happens to have a similar name.
<rubino123> I am trying to install an octopress theme but I get this error
<rubino123> You have already activated rake 0.9.6, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this.
<diegoviola> pipecloud: you might be confusing me with someone else, i'm not in the rubyonrails mailing list
<rubino123> Any hints?
<pipecloud> rubino123: Try using bundle exec
<pipecloud> diegoviola: Oh gotcha.
<sevenseacat> rubino123: the hint is in the message
<rubino123> what is that
<diegoviola> pipecloud: np :)
<pipecloud> rubino123: Google may know.
<rubino123> I just learned Ruby today
<pipecloud> Yay!
<diegoviola> pipecloud: does the rails mailing list has lots of traffic?
<zendeavor> the whole thing
<zendeavor> in one day
<diegoviola> pipecloud: i thought most people would just communicate over irc
<pipecloud> diegoviola: Usually a good handful in a day.
<diegoviola> pipecloud: nice
Domon has quit [Ping timeout: 240 seconds]
pwh has quit [Quit: pwh]
<pipecloud> diegoviola: There's lots of ways people communicate about ruby and rails.
<diegoviola> pipecloud: i see, thanks
<diegoviola> i'll check it out
<pipecloud> My preferred method of communication is over alcoholic beverages.
<sevenseacat> people still use mailing lists?
<sevenseacat> isthis 2003?
<tobiasvl> sevenseacat: what?
<diegoviola> lol
<pipecloud> People still aren't using G+? What is this, last week?
brtdv has joined #ruby
<krz> pipecloud: so your saying the lib is dynamiccaly loading other modules? :-/
<tobiasvl> sevenseacat: i work in e-mail and yes, lots of people use mailing lists
<bnj> pipecloud: thanks for your help! the simplest workaround is to modify the file, as deleting public/assets is not enough...
filipe has joined #ruby
<sevenseacat> fair enough
<tobiasvl> sevenseacat: do you think people should use … facebook groups instead?
<pipecloud> krz: It could be.
apeiros has quit [Ping timeout: 240 seconds]
<pipecloud> bnj: woot.
<pipecloud> tobiasvl: I think they should use sneakernets.
<sevenseacat> lol no
persand has joined #ruby
echevemaster has quit [Quit: Leaving]
<pipecloud> sevenseacat probably prefers gopher.
<pipecloud> And rightly so.
<sevenseacat> i just havent heard of anyone using mailing lists in a long, long time
vlad_starkov has joined #ruby
<pipecloud> For what it's worth, you do live in Narnia.
<sevenseacat> are they still infinite lists of long email signatures and threads that go ignored?
<tobiasvl> there you go
<tobiasvl> a very related mailing list
kiri has joined #ruby
<zendeavor> mailing lists in my experience are very nice
<zendeavor> no serious user of an ML likes gross signatures or html mail
ahawkins has joined #ruby
<pipecloud> If you're being srs on the internet, chances are that you take other things too seriously.
<pipecloud> That being said, IRC is serious.
jonahR has quit [Quit: jonahR]
<zendeavor> threads that go ignored are usually justly dismissed
<zendeavor> they tend to be from users who didn't read a word of documentation and got their instructions from some how-to blog
kevinykchan has joined #ruby
Domon has joined #ruby
Quashie has quit [Ping timeout: 264 seconds]
<pipecloud> Or just rather difficult questions no one is willing to expose their ignorance about in order to help debugging or sorting out.
Quashie_ has joined #ruby
<zendeavor> those are very rare
<pipecloud> Pretty much every one I send that goes unanswered typically is.
<pipecloud> I just contact maintainers and core directly afterwards if I know they're nice and friendly.
<rubino123> any octopress users in?
<zendeavor> cc them from the ML so there's a public record or you're doing it wrong
<zendeavor> unless you update your thread in the ml personally
<pipecloud> Naw, would rather not directly contact them upon sending the ML an email.
<pipecloud> Seems rood.
<zendeavor> you cc on followup
<pipecloud> zendeavor – Learn you how to email right proper, he will.
<zendeavor> this is proper
Alina-malina has quit [Quit: Leaving]
<zendeavor> this is why mailing lists are archived
<pipecloud> I value your ability to form opinions, but I disagree with your preference.
snovak has joined #ruby
<zendeavor> you're equally rude for contacting the maintainer directly, whether you cc from a followup on the ML or not
<pipecloud> Lol.
<zendeavor> that's a stone cold truth, brother
end_guy has quit [Ping timeout: 240 seconds]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
<pipecloud> Not really. I typically contact people who're quite nice. They're welcome to ignore that email or not, but they don't.
* zendeavor boggle
kevinykchan has quit [Read error: Connection reset by peer]
<zendeavor> CCing the core maintainer from this thread
<pipecloud> I think that whatever culture you keep doesn't coincide with mine entirely. It might very well be rude, but I don't email you about your projects, so it's a win there. The people who I do email about it are people I've typically conversed with before.
<zendeavor> that's the status quo
workmad3 has joined #ruby
andikr has joined #ruby
<pipecloud> No reason to do that at all.
rickmasta has joined #ruby
<zendeavor> public record is a very valid reason
<pipecloud> Let's not devolve into aspie-hour about how to email.
<sevenseacat> lol
<zendeavor> that's the most mature way to say "im rite ur rong shutup" i've ever heard
Bry8Star{T2 has joined #ruby
<pipecloud> You're just being an argumentative grump.
<sevenseacat> settle, children.
<pipecloud> sevenseacat: Too bad can't !popcorn2
<sevenseacat> its ok, i'm popcorn2'ing on the inside.
<pipecloud> sevenseacat: That makes me feel moist... in a bad way.
kevinykchan has joined #ruby
Megtastique has quit [Quit: Megtastique]
<pipecloud> on the positive side, the tears I shed on the inside would be great for salting the popcorn2.
<jrobeson> i don't want to be mailed directly unless i aks you to..
<jrobeson> i do think it is rude..
snovak has quit [Ping timeout: 276 seconds]
<zendeavor> it's okay, he knows them personally
<pipecloud> Good, I won't, and I'll likely not use or endorse your projects either.
<zendeavor> totally different scenario
<jrobeson> ah yes
Es0teric has joined #ruby
<pipecloud> so it's a win on both sides then.
end_guy has joined #ruby
<pipecloud> I'd personally rather not be in contact with someone who wouldn't be interested in receiving email about highly technical questions about their projects. Doesn't seem like the sort of project worth my time to deal with.
marr has joined #ruby
lotherk has joined #ruby
codecop has joined #ruby
Astralum has joined #ruby
lemonsparrow has quit [Ping timeout: 250 seconds]
camilasan has joined #ruby
ahawkins has left #ruby [#ruby]
beneggett-alt has joined #ruby
gtissus_ has joined #ruby
gtissus_ has quit [Client Quit]
Weems is now known as unattractive
gtissus has joined #ruby
zombiebit has joined #ruby
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
<gtissus> Hi, how do I run command on a remote server over ssh? I would like to run a mysqldump for example
Jan is now known as Guest87762
argentum has quit [Quit: argentum]
cj3kim has joined #ruby
<Olipro> gtissus: there's an SSH gem
<Olipro> or you could just invoke ssh off the commandline
lemonsparrow has joined #ruby
b00stfr3ak has quit [Ping timeout: 264 seconds]
cultavix2 has joined #ruby
Quashie_ has quit [Ping timeout: 245 seconds]
tyfighter has quit [Quit: tyfighter]
dankest has quit [Quit: dankest]
<diegoviola> is there a ruby method or something to tell me that method foo is part of class Foo?
unattractive is now known as gentleman
<diegoviola> some random method
<diegoviola> like its parent class
<pipecloud> diegoviola: You can check into the Object#method method and see what you could find there.
<diegoviola> thanks
<diegoviola> i'll check that
kevinykchan has quit [Quit: Computer has gone to sleep.]
<Olipro> for a roughly decent listing... Yourclass.methods - Object.methods
vlad_sta_ has joined #ruby
maveonair has joined #ruby
vlad_sta_ has quit [Read error: Connection reset by peer]
<diegoviola> sweet, thanks
cj3kim has quit [Ping timeout: 246 seconds]
vlad_sta_ has joined #ruby
<pipecloud> Olipro: But if he has a method, he wants to figure out the owner of the method. He could use Object#method and Kernel#caller
maveonair has quit [Client Quit]
gentleman is now known as pweems
maveonair has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
maveonair has quit [Client Quit]
maz-dev has joined #ruby
maveonair has joined #ruby
JohnBat26 has joined #ruby
siera08_ has joined #ruby
khushildep has joined #ruby
cookiemonsta has joined #ruby
obs has joined #ruby
siera08 has quit [Ping timeout: 245 seconds]
siera08_ is now known as siera08
Xiti has quit [Ping timeout: 256 seconds]
ssvo has joined #ruby
* ssvo
khushildep has quit [Read error: Connection reset by peer]
clocKwize has joined #ruby
jprovazn has joined #ruby
dangerousdave has joined #ruby
<pipecloud> Maybe Method#source_location might be useful? I don't know.
dodosan has joined #ruby
maxmanders has joined #ruby
blackmesa has joined #ruby
<gtissus> Olipro, lotherk, thx for the link
dodosan has quit [Ping timeout: 260 seconds]
<lotherk> you're welcome
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
starfox21 has joined #ruby
jonkri has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
ahg has quit [Ping timeout: 240 seconds]
siera08_ has joined #ruby
allsystemsarego has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
maveonair has quit [Quit: leaving]
siera08 has quit [Ping timeout: 248 seconds]
siera08_ is now known as siera08
threesome has joined #ruby
ephemerian has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
maveoanir has joined #ruby
maveoanir has quit [Client Quit]
maveonair has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
gstamp has quit [Quit: Computer has gone to sleep.]
Lewix_ has joined #ruby
mupkoo has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
rubino123 has quit [Quit: Leaving]
cultavix3 has joined #ruby
relix has joined #ruby
Xiti has joined #ruby
cultavix2 has quit [Ping timeout: 256 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
jaredlevitz has quit [Ping timeout: 248 seconds]
jaredlevitz has joined #ruby
mrsolo has quit [Quit: Leaving]
maveonair has quit [Quit: Lost terminal]
maveonair has joined #ruby
priyam_ has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
rickmasta has quit [Quit: Be back later]
snovak has joined #ruby
rickmasta has joined #ruby
troessner has joined #ruby
BRMatt has joined #ruby
Anticom has joined #ruby
blaxter_ has joined #ruby
kek has joined #ruby
snovak has quit [Read error: Operation timed out]
zarubin has joined #ruby
razi has quit [Remote host closed the connection]
Es0teric has quit [Ping timeout: 276 seconds]
razi has joined #ruby
timonv has joined #ruby
akemrir has joined #ruby
akemrir has quit [Client Quit]
zeroXten has left #ruby [#ruby]
akemrir has joined #ruby
workmad3 has joined #ruby
brtdv has quit [Quit: brtdv]
diegoviola has quit [Quit: WeeChat 0.4.1]
huevon has joined #ruby
Guest87762 is now known as jan1337zZz
<ryanf> diegok: there is a Method#owner method
jibi has joined #ruby
<ryanf> some_obj.method(:to_s).owner
tylersmith has quit [Ping timeout: 256 seconds]
Wildhoney has joined #ruby
<ryanf> usually I just look at the inspect output of method(whatever) though, since afaik that always includes the owner
wargasm has quit [Ping timeout: 264 seconds]
<ryanf> oh, wrong diego
<ryanf> tab completion fooled me :(
Lewix_ has quit [Remote host closed the connection]
nomenkun has joined #ruby
Lewix has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
cj3kim has joined #ruby
JohnBat26 has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
S0da has quit [Remote host closed the connection]
Lewix has quit [Ping timeout: 245 seconds]
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
Jan is now known as Guest55216
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
shaunbaker has joined #ruby
ebouchut has joined #ruby
cj3kim has quit [Ping timeout: 246 seconds]
JohnBat26 has joined #ruby
varfoo has quit [Ping timeout: 245 seconds]
timonv has quit [Remote host closed the connection]
krz has quit [Ping timeout: 240 seconds]
wolcanus has joined #ruby
Xeago has joined #ruby
decoponio has joined #ruby
Ripp__ has quit [Quit: Ripp__]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Kelet has quit [Quit: Leaving]
Xeago has joined #ruby
<avril14th> Hello, I have tons of (Rails models) class in *.rb
<avril14th> in one of them I go
<avril14th> SomeClass.descendants.each do {}
wolcanus has quit [Ping timeout: 248 seconds]
elaptics`away is now known as elaptics
<avril14th> but some of the class files are not loaded yet
<avril14th> is there a way to force their loading?
browndawg has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
<pipecloud> Are they all in the models directory?
<avril14th> models/subdirs
noname001 has joined #ruby
myu has joined #ruby
<avril14th> (I did add all the subdirs in application.rb: config.autoload_paths += Dir["#{config.root}/app/models/subdir/**"])
maveonair has quit [Ping timeout: 246 seconds]
intuxicated has quit [Remote host closed the connection]
<pipecloud> What version of rails is this?
browndawg has joined #ruby
joonty has quit [Quit: WeeChat 0.4.1]
<avril14th> 4
ndrei has quit [Ping timeout: 245 seconds]
<clocKwize> autoload paths are paths that contain classes that will be automatically loaded when you request them
<clocKwize> they won't be loaded when rails starts
<avril14th> hmm..true
ebouchut has quit [Quit: This computer has gone to sleep]
<avril14th> so hence the question, can one "eager load" them?
<clocKwize> you could write an initialiser that does Dir["subdir/*.rb"].each { |f| load f }
<pipecloud> You shouldn't use autoload like that, also all files in app/ are loaded for you.
<avril14th> pipecloud: well, I get errors when I don't autoload them there
<pipecloud> avril14th: How are you querying these models? via rails console?
workmad3 has quit [Ping timeout: 264 seconds]
<avril14th> clocKwize: still, you would have to force a certain order I guess
<avril14th> avril14th: what do you mean? it's a rails app
<avril14th> I use both console / browser
MrZYX|off is now known as MrZYX
adeponte has quit [Remote host closed the connection]
<clocKwize> avril14th: shouldn't need to - if the directory is in the autoload_path already, then if they reference each other, they'll still load
<avril14th> clocKwize: that's what I thought to and IIRC what the doc says. :)
<pipecloud> Is config.load_paths still a thing? config.load_paths += Dir[Rails.root.join("app/models/**/")
<clocKwize> I guess you can add other paths
<clocKwize> but anything in app/models and its subs will automatically be auto loaded
<clocKwize> no need to add it
<avril14th> clocKwize: it's funnier than that. if subdirs have subdirs, I also have to autload them manually
<avril14th> I don't know
<pipecloud> I know, right
<pipecloud> avril14th: Probably a hint something is off.
Senjai has quit [Read error: Operation timed out]
<avril14th> something in the dir structure?!
joonty has joined #ruby
sjltaylo_ has joined #ruby
<clocKwize> hmm, maybe the default load_path includes app/models/**/*.rb
<clocKwize> which matches app/models/blah.rb and app/models/blah/blah.rb but does it match depper?
<clocKwize> deeper*
Astralum has quit [Ping timeout: 245 seconds]
<Xeago> **/* means all files in all (sub..)directories
<clocKwize> ok :)
<Xeago> **/* covers a lot
<Xeago> it doesn't go into .dot-directories
noopq has quit [Ping timeout: 264 seconds]
jbpros has joined #ruby
<avril14th> well, it works (obviously) if I require all the files for all the descendants
freeayu__ has joined #ruby
ssvo has joined #ruby
<avril14th> let's stick with that until we find better
_bart_ has joined #ruby
fgo has quit [Remote host closed the connection]
brianpWins has joined #ruby
varfoo has joined #ruby
solrize_ has quit [Ping timeout: 276 seconds]
nari has quit [Ping timeout: 264 seconds]
freeayu has quit [Ping timeout: 240 seconds]
krz has joined #ruby
krz has quit [Changing host]
krz has joined #ruby
ebouchut has joined #ruby
<sevenseacat> the config.load_paths just adds the files to the autoload array so files can be autoloaded from there, it doesnt actually load stuff
<clocKwize> yeah I said this already :)
niceguyjames has joined #ruby
gildo has quit [Ping timeout: 264 seconds]
Liothen has quit [Quit: System of a down……]
ssvo has quit [Ping timeout: 276 seconds]
klaut has joined #ruby
niceguyjames has quit [Client Quit]
nowthatsamatt has quit [Quit: nowthatsamatt]
jbpros has quit [Quit: jbpros]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
Turkishviking has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
niceguyjames has joined #ruby
jocellyn has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
snovak has joined #ruby
lyanchih has quit [Quit: lyanchih]
camilasa_ has quit [Read error: Connection reset by peer]
jocellyn has left #ruby [#ruby]
noopq has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
Kelet has joined #ruby
snovak has quit [Ping timeout: 276 seconds]
camilasan has quit [Read error: Connection reset by peer]
gildo has joined #ruby
camilasan has joined #ruby
braoru has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
ebouchut_ has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
nari has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
eka has joined #ruby
corehook has joined #ruby
ebouchut_ has quit [Write error: Broken pipe]
ebouchut_ has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
timonv has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
niceguyjames has quit [Quit: Computer has gone to sleep.]
camilasan has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
siera08 has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
endash has joined #ruby
niceguyjames has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
sjltaylo_ has quit [Quit: Textual IRC Client: www.textualapp.com]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
fgo has joined #ruby
cj3kim has joined #ruby
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
dweeb_ has joined #ruby
camilasan has joined #ruby
<dweeb_> how do I test a simple method as this: http://pastie.org/private/be0uvy5kwhgaw2l05mruzg
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
jbpros has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
ebouchut has joined #ruby
ebouchut has left #ruby [#ruby]
noname001 has quit [Read error: Operation timed out]
camilasan has quit [Read error: Connection reset by peer]
RantriX has joined #ruby
camilasan has joined #ruby
<RantriX> hello
noopq has quit [Ping timeout: 240 seconds]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
ebouchut_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
cj3kim has quit [Ping timeout: 264 seconds]
fgo has quit [Ping timeout: 246 seconds]
_bart_ has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
jbpros has quit [Quit: jbpros]
myu has left #ruby ["Leaving"]
sevenseacat has quit [Quit: Leaving.]
beneggett-alt has quit [Quit: beneggett-alt]
mercwithamouth has joined #ruby
orionstein_away is now known as orionstein
jibi has quit [Quit: .]
bean has joined #ruby
anderson has quit [Quit: Leaving]
rickmasta has quit [Quit: Leaving...]
senayar_ has joined #ruby
senayar_ has quit [Remote host closed the connection]
senayar has quit [Read error: Connection reset by peer]
senayar has joined #ruby
noopq has joined #ruby
razi has quit [Ping timeout: 245 seconds]
shaunbaker has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
aryaching has joined #ruby
Guest55216 is now known as jan1337zZz
Fire-Dragon-DoL has joined #ruby
orionstein is now known as orionstein_away
shaunbak_ has joined #ruby
platzhirsch has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
<platzhirsch> Throw me a cool class name for a class that creates compressed JSON dumps
aryaching has joined #ruby
<shevy> platzhirsch class Muellhalde
<platzhirsch> shevy: no hipster recommendations
<shevy> or JsonMuellhalde
<platzhirsch> ^^
<shevy> class JsonToilet
aryaching has quit [Client Quit]
<shevy> class JsonDumpster
<shevy> class JsonDump
<MrZYX> class JsonSchrottplatz
<platzhirsch> JsonHardDriveAmbassador
aryaching has joined #ruby
<shevy> haha
greenysan has joined #ruby
<shevy> I like "Schrottplatz"
<shevy> platzhirsch, I think that is too long
adeponte has joined #ruby
ssvo has joined #ruby
<shevy> platzhirsch how about... JsonArchive(r)
<platzhirsch> Archiver, beautiful
<shevy> I have a class that is called Extracter and it's sole purpose is to extract things
<platzhirsch> sold to shevy
<shevy> but I also have classes that have longer names and I rarely like these :(
<platzhirsch> maybe you should change the editor font then to display the camelcase more nicely
<shevy> class WebpageForImages
<shevy> creates a webpage with images...
<shevy> but I dont like the name
<platzhirsch> ImageWebpage ?
<shevy> hmm let me think ...
<MrZYX> ImagePage ?
ezotrank has joined #ruby
<platzhirsch> PicSheet
ggordan has joined #ruby
ezotrank has quit [Client Quit]
ebouchut has joined #ruby
fgo has joined #ruby
ebouchut has quit [Remote host closed the connection]
mbuf has joined #ruby
ssvo has quit [Ping timeout: 245 seconds]
adeponte has quit [Ping timeout: 256 seconds]
lyanchih has joined #ruby
VTLob has joined #ruby
ndrei has joined #ruby
m8 has joined #ruby
fatmandown has joined #ruby
<mbuf> if I have a sorted array such as b = ["1-X-alpha", "1-alpha", "2-X-alpha", "2-alpha"], how can I re-arrange such that 1-alpha comes before 1-X-alpha, and 2-alpha comes before 2-X-alpha?
fgo has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<MrZYX> where X is a number?
timonv has quit [Remote host closed the connection]
<shevy> where X is X I think :D
<shevy> mbuf perhaps pass it through a method that does the sorting?
snovak has joined #ruby
<mbuf> MrZYX: shevy yes X is just X
filipe has quit [Read error: Operation timed out]
<MrZYX> .sort with a block, looking for the X and falling back to the standard comparison if not found, look at the docs for .sort
<mbuf> shevy: using two for loops?
<shevy> ack
<shevy> I never use for myself so I would not recommend this ever
<mbuf> MrZYX: sorry, where can I see the docs for .sort with a block?
andrein_ has joined #ruby
<shevy> files = Dir["*"]; sorted = files.sort {|a,b| File.new(a).mtime <=> File.new(b).mtime}
<shevy> or .sort_by
<MrZYX> I think sort_by won't help because you can't override the comparison
snovak has quit [Read error: Operation timed out]
buzzybron has joined #ruby
<mbuf> MrZYX: okay
nari has quit [Ping timeout: 248 seconds]
fgo has joined #ruby
lockweel has joined #ruby
lkba has joined #ruby
jan1337zZz is now known as jan1337z
jan1337z is now known as Jan
Jan is now known as Guest29640
aryaching has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
amacgregor_ has joined #ruby
camilasa_ has quit [Remote host closed the connection]
amacgregor has quit [Ping timeout: 245 seconds]
camilasan has joined #ruby
rickmasta has joined #ruby
filipe has joined #ruby
agjacome has quit [Quit: leaving]
ebouchut has joined #ruby
ebouchut has quit [Remote host closed the connection]
timonv has joined #ruby
fatmandown has left #ruby ["Leaving"]
kaspergrubbe has quit [Remote host closed the connection]
zathras has joined #ruby
thepreacher has joined #ruby
maveonair has joined #ruby
cj3kim has joined #ruby
varfoo has quit [Quit: Leaving]
ismlages has joined #ruby
moofish has joined #ruby
noname001 has joined #ruby
rickmasta has quit [Quit: Leaving...]
tvw has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
khushildep has joined #ruby
ebouchut has joined #ruby
JDHankle has joined #ruby
ebouchut has quit [Client Quit]
<andrein_> Hi, I'm having some weird issues with a ruby script. I'm using RMagick to watermark some images. On my workstation it works fine, but on the server where it's supposed to be deployed the workers freeze at line 114. I've tried running the same snippet of code in irb on the server and it works as expected. Any ideas how to troubleshoot this further?
hamed_r has joined #ruby
osvico has joined #ruby
Bry8Star{T2_ has joined #ruby
nonamehero has joined #ruby
nonamehero has quit [Client Quit]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
Speed has joined #ruby
JDHankle has quit [Ping timeout: 240 seconds]
nfk has joined #ruby
nfk has quit [Changing host]
nfk has joined #ruby
kaspergrubbe has joined #ruby
martxel has quit [Quit: WeeChat 0.4.1]
vince_prignano has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
razi has joined #ruby
martxel has joined #ruby
martxel has quit [Changing host]
martxel has joined #ruby
ehaliewicz has quit [Ping timeout: 246 seconds]
whowantstolivef1 has quit [Read error: Connection reset by peer]
whowantstolivef1 has joined #ruby
syed_ has quit [Ping timeout: 246 seconds]
vlad_sta_ has quit [Remote host closed the connection]
zathras is now known as zathraz
<ndrei> [I
nari has joined #ruby
ebouchut has joined #ruby
ndrei has quit [Quit: leaving]
ssvo has joined #ruby
ndrei has joined #ruby
ndrei has quit [Client Quit]
ndrei has joined #ruby
realDAB has joined #ruby
tkuchiki has quit [Remote host closed the connection]
thebastl has joined #ruby
Turkishviking has quit [Ping timeout: 260 seconds]
<mbuf> shevy: MrZYX solved it by lower casing 'X', sorting, and replacing the 'x' with 'X', https://gist.github.com/anonymous/6318041
lucazi has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
ssvo has quit [Ping timeout: 248 seconds]
jleishman has joined #ruby
buzzybron has left #ruby [#ruby]
devoldmx has joined #ruby
S0da has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
tapioca_ has quit [Ping timeout: 246 seconds]
bronson_ has quit [Quit: bronson_]
Domon has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
Domon has joined #ruby
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
tapioca has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
lyanchih has quit [Ping timeout: 264 seconds]
swordsmanz_ has joined #ruby
whowantstolivef1 has quit [Read error: Connection reset by peer]
swordsmanz has quit [Ping timeout: 264 seconds]
swordsmanz_ is now known as swordsmanz
whowantstolivef1 has joined #ruby
endash has quit [Quit: endash]
yfeldblum has joined #ruby
Domon has quit [Ping timeout: 260 seconds]
thepreacher has quit [Quit: Leaving]
ebouchut has joined #ruby
hit is now known as cosmin
St_Marx has quit [Quit: Ex-Chat]
pranny1 has joined #ruby
pranny has quit [Read error: Connection reset by peer]
pweems has quit [Ping timeout: 240 seconds]
intuxicated has joined #ruby
JohnE has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
kevinykchan has joined #ruby
jaredlevitz has quit [Quit: Leaving.]
postmodern has joined #ruby
browndawg has quit [Quit: Leaving.]
Neomex has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
eregon has quit [Ping timeout: 246 seconds]
ldnunes has joined #ruby
maz-dev has quit [Remote host closed the connection]
snovak has joined #ruby
eregon has joined #ruby
Neomex has quit [Quit: Neomex]
corehook has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
guiocavalcanti has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
mklappstuhl has quit [Remote host closed the connection]
foofoobar has joined #ruby
binaryplease has joined #ruby
ndrei has quit [Read error: Operation timed out]
mklappstuhl has joined #ruby
kalin has joined #ruby
kalin has left #ruby [#ruby]
<foofoobar> Hi. Before I reinstalled my system, octopress worked without any problem. Now I get: You have already activated rake 10.0.4, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this.
<foofoobar> What can I do now? "bundle exec" gives me: bundle exec needs a command to execute
shaunbaker has joined #ruby
shaunbak_ has joined #ruby
postmodern has quit [Quit: Leaving]
ebouchut has quit [Quit: This computer has gone to sleep]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest29640 is now known as jan1337zZz
vlad_starkov has joined #ruby
shaunbaker has quit [Ping timeout: 264 seconds]
Guest43753 has quit [Quit: Computer has gone to sleep.]
d45h has quit [Quit: d45h]
maveonair has quit [Ping timeout: 260 seconds]
dash_ has joined #ruby
kalin has joined #ruby
kalin has left #ruby [#ruby]
ssvo has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
Wildhoney has quit [Quit: Wildhoney]
IceyEC has joined #ruby
binaryplease has quit [Ping timeout: 264 seconds]
niceguyjames has joined #ruby
eightbitraptor has joined #ruby
hamed_r has quit [Ping timeout: 276 seconds]
Wildhoney has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
mlpinit has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
krz has quit [Quit: krz]
freeayu__ has quit [Remote host closed the connection]
<zendeavor> give it a ruby command to execute
realDAB has quit [Quit: realDAB]
devoldmx3 has joined #ruby
shadoi1 has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
lyanchih has joined #ruby
f3rsportas has joined #ruby
<f3rsportas> All go to dbz-heroes.wu.lt
f3rsportas has quit [Killed (idoru (Spam is off topic on freenode.))]
devoldmx has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
aryaching has joined #ruby
RantriX has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
gyre007 has joined #ruby
yalue has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
<pontiki> foofoobar: documentation for bundle is at http://bundler.io/
lemonsparrow has quit [Ping timeout: 250 seconds]
mansi has joined #ruby
thebastl has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
julian-delphiki has joined #ruby
gtissus has quit [Quit: Quitte]
gtissus has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
aryaching_ has joined #ruby
jan1337zZz is now known as jan1337z
haxrbyte has quit [Ping timeout: 240 seconds]
jan1337z is now known as Jan
Jan is now known as Guest36875
vlad_starkov has quit [Ping timeout: 241 seconds]
mbuf has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
geekbri has joined #ruby
mark_locklear has joined #ruby
bean has quit [Ping timeout: 241 seconds]
aryaching has quit [Ping timeout: 246 seconds]
devoldmx3 has quit [Ping timeout: 245 seconds]
kek has quit [Quit: kek]
gtissus has quit [Client Quit]
user258467 has joined #ruby
breakingthings has joined #ruby
pranny1 has quit [Read error: Connection reset by peer]
cultavix3 has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
haxrbyte has joined #ruby
pranny has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
haxrbyte is now known as 36DABBX4Z
pranny has quit [Client Quit]
binaryplease has joined #ruby
drago777 has joined #ruby
shadoi1 has quit [Read error: Connection reset by peer]
shadoi has joined #ruby
fgo has quit [Remote host closed the connection]
Guest36875 is now known as jan1337zZz
visof has quit [Quit: Leaving]
jan1337zZz is now known as jan1337z
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
cody-- has joined #ruby
kaspergrubbe has joined #ruby
cody-- has quit [Client Quit]
cody-- has joined #ruby
user258467 has quit [Quit: Quitte]
user258467_ has joined #ruby
user258467_ has quit [Remote host closed the connection]
user258467 has joined #ruby
cj3kim has joined #ruby
jp- has joined #ruby
niceguyjames has quit [Write error: Broken pipe]
caju has joined #ruby
noname001 has quit [Excess Flood]
aryaching_ has quit [Read error: Connection reset by peer]
lyanchih_ has joined #ruby
aryaching has joined #ruby
guiocavalcanti has quit [Ping timeout: 248 seconds]
endash has joined #ruby
jdenen has joined #ruby
cj3kim has quit [Ping timeout: 245 seconds]
kaspergrubbe has quit [Ping timeout: 248 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
atyz has quit [Quit: Linkinus - http://linkinus.com]
lyanchih has quit [Ping timeout: 245 seconds]
noname001 has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
jan1337z is now known as jan1337zZz
snovak has joined #ruby
Akuma has quit [Ping timeout: 246 seconds]
niceguyjames has joined #ruby
Akuma has joined #ruby
codecop has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
caju has quit [Remote host closed the connection]
BizarreCake has joined #ruby
cultavix3 has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
mansi has quit [Ping timeout: 264 seconds]
Bry8Star{T2_ has quit [Ping timeout: 240 seconds]
h8R has joined #ruby
kaspergrubbe has joined #ruby
cultavix3 has quit [Ping timeout: 256 seconds]
endash has quit [Read error: Connection reset by peer]
Wildhoney has quit [Quit: Wildhoney]
newUser1234 has joined #ruby
shaunbak_ has quit [Read error: Connection reset by peer]
kdaigle has joined #ruby
ndrei has quit [Ping timeout: 260 seconds]
brbcoding has joined #ruby
ananthakumaran has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
Bry8Star{T2 has joined #ruby
aryaching has joined #ruby
<mostlybadfly> So guys is it best to do + variable or #{variable} when using in a string?
<mostlybadfly> I just started and have seen both
h8R has quit [Ping timeout: 245 seconds]
<mostlybadfly> The latter seems to be more streamlined to me
sambao21 has joined #ruby
toutouastro has joined #ruby
newUser1234 has quit [Remote host closed the connection]
bean has joined #ruby
<mostlybadfly> And why single vs double quotes?
fgo has joined #ruby
<MrZYX> compare "#{1+1}" and '#{1+1}' in irb
ssvo has joined #ruby
h8R has joined #ruby
yfeldblum has joined #ruby
shaunbaker has joined #ruby
<toutouastro> hey
s00pcan has quit [Remote host closed the connection]
<toutouastro> I want to know what do you use to read excel files from ruby
julian-delphiki has quit [Ping timeout: 246 seconds]
<toutouastro> ?
shaunbak_ has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<toutouastro> and are the libraries stable enough to rely on ?
jprovazn has quit [Quit: Leaving]
<mostlybadfly> Ah I see
fmcgeough has joined #ruby
<mostlybadfly> MrZYX I was just confused because one tutorial goes right into ' ' and the other goes straight to " " in the first lessons
mmitchell has joined #ruby
<toutouastro> hey
kaldrenon has joined #ruby
kek has joined #ruby
<toutouastro> what do you guys use to read excel files
<toutouastro> ?
<MrZYX> '' doesn't and therefore doesn't has to do interpolation, so it's a bit faster, but hardly noticeable
<MrZYX> ' ' that is
[Goodoog] has joined #ruby
shaunbaker has quit [Ping timeout: 245 seconds]
ssvo has quit [Ping timeout: 288 seconds]
<mostlybadfly> Ah I see
<mostlybadfly> It seems easier to use variables with interpolation
<shevy> I dunno
<shevy> I dont like interpolation :(
fgo has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
<MrZYX> sure, "a#{b}c" is better because 'a' + b + 'c' creates more String objects
<shevy> how does it create more string objects?
s00pcan has joined #ruby
toutouastro has quit [Quit: Page closed]
dweeb_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> though b could be nil sometimes, so "#{b}" would indeed be better... b.to_s feels strange
maz-dev has joined #ruby
ehc has joined #ruby
<shevy> I just think its ugly still :\
<mostlybadfly> For example I had an exercise to tie 3 variables together and it seemed more tedious to do var1 + var2 + var3 + ' string'
hogeo has joined #ruby
<wuest> shevy: "a%sc" % b #even uglier though, obviates the need for explicit to_s
newUser1234 has joined #ruby
<shevy> yeah
Wildhoney has joined #ruby
<shevy> the % is not a big improvement
noname001 has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 245 seconds]
<wuest> Yeah. There are times when I love formatted style, and times when I hate it.
<shevy> '%10s' % '1' # => " 1"
avril14th has quit [Remote host closed the connection]
ryandeussing has joined #ruby
noname001 has joined #ruby
<shevy> my brain struggles a bit when it sees two %
fridim__ has joined #ruby
<shevy> how do the guys in C have it work? they must use printf() all the time and never complain
<shevy> yeah mostlybadfly
<wuest> You could explicitly call sprintf()
<tobiasvl> guys in C have to put up with lots of stuff without complaining
<MrZYX> shevy: ('a'(1) + b)(2)+'c'(3)
<wuest> I enjoy C!
<shevy> MrZYX what is that
<mostlybadfly> shevy: this tutorial does double quotes just for a string
<shevy> lisp?
<MrZYX> counted the string objects for you
<mostlybadfly> puts "hello world"
<shevy> MrZYX and "#{a}#{b}#{c}" has less than 3 string objects?
mneorr has joined #ruby
<wuest> Not lisp, not s-exprs.
<MrZYX> "a#{b}c" has
noopq has quit [Ping timeout: 264 seconds]
jefflyne has joined #ruby
<shevy> mostlybadfly I think most ruby guys use the "" all the time
<mostlybadfly> OK
<shevy> I once thought it would make my brain happier if I use "" only when I need to use #{} too
<mostlybadfly> I'll probably do that then lol
aryaching has joined #ruby
<wuest> I use non-interpolated quotes when possible, myself.
<shevy> but I hate the #{} ... and somehow started to use '' ... now I dont want to go back to "" all the time :(
kek has quit [Quit: kek]
<mostlybadfly> It seems duplicative
<shevy> when I look at other people's ruby code, really like ... 90% of them use "" 100% all the time
<shevy> YES
<shevy> every time when you can make a choice in ruby, there are paths to follow
<shevy> 90% go one path, the remaining 9% the other path (the other 1% say screw that and create their own path)... that is the ruby way
<wuest> Ergo, Ruby is NewPerl ;)
<shevy> lambda style coding, that's one path I never really understood
<Mon_Ouie> I prefer to always use "" unless I somehow need to insert double quotes in my string
<shevy> Rack::Lint.new(lambda { |env
<wuest> shevy: learn you some scheme! First class/higher order functions are smexy.
<Mon_Ouie> (or things that could be escape sequences)
<shevy> app = lambda { |env| [200, { "Last-Modified" => last_modified }, ["Hello World!"]] }
<Mon_Ouie> Because those two cases happen less often than wanting to interpolate a string
alexs__ has joined #ruby
snovak has joined #ruby
<andrein_> Hi, I've got a ruby daemon. What's the best way to print the number of iterations of its main loop every minute/hour?
<shevy> chase it down with the holy inquisition!
zombiebit has quit [Remote host closed the connection]
<shevy> perhaps run a separate Thread.new as proc ... and .call on it every n seconds where n is your delay?
s00pcan has quit [Remote host closed the connection]
<wuest> andrein_: File#write seems logical? Really though, your question is a bit vague. If that sort of data was desired, a counter to track iterations over a time period and a Thread which slept for n time, printed the counter to your log, and reset the counter is the quick and dirty solution which comes to mind.
kaspergrubbe has quit [Remote host closed the connection]
jprovazn has joined #ruby
fgo has joined #ruby
catphish has joined #ruby
thebastl has joined #ruby
<catphish> does ruby support poll()?
wallerdev has joined #ruby
<catphish> i've read varying and conflicting reports about the dangers of select()
<catphish> and i'm not entirely clear on how to proceed
jonathanwallace has quit [Ping timeout: 264 seconds]
filipe has quit [Ping timeout: 245 seconds]
aedorn has quit [Remote host closed the connection]
mklappst_ has joined #ruby
cultavix3 has joined #ruby
kek has joined #ruby
JDHankle has joined #ruby
hollyw00d has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
__maes_ has quit [Quit: __maes_]
<mostlybadfly> Is there a good interpreter online? I wanted to practice at work but i can't actually install ruby at work
cultavix3 has quit [Client Quit]
s00pcan has joined #ruby
eightbitraptor has quit [Quit: eightbitraptor]
mklappstuhl has quit [Ping timeout: 264 seconds]
ndrei has quit [Ping timeout: 264 seconds]
<zendeavor> do you have access to curl and tar?
eightbitraptor has joined #ruby
eightbitraptor has quit [Client Quit]
guiocavalcanti has joined #ruby
blaxter_ is now known as blaxter
eightbitraptor has joined #ruby
jlebrech has joined #ruby
vlad_starkov has joined #ruby
wmoxam has joined #ruby
vlad_sta_ has quit [Read error: Connection reset by peer]
<yfeldblum> mostlybadfly, tryruby.org
sayan has quit [Ping timeout: 260 seconds]
kpshek has joined #ruby
threeturn has joined #ruby
<yfeldblum> mostlybadfly, http://repl.it/
<mostlybadfly> I basically can't do anything not in a webpage that isn't blocked
Dreamer3 has joined #ruby
interactionjaxsn has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
<mostlybadfly> It would probably work if we didn't use IE8...
siera08 has joined #ruby
<mostlybadfly> This is why I need a new career lol
kaspergrubbe has joined #ruby
senayar_ has joined #ruby
dhruvasagar has joined #ruby
<catphish> get your own computer maybe?
senayar_ has quit [Remote host closed the connection]
foofoobar has quit [Remote host closed the connection]
<catphish> http://repl.it/ looks cool
senayar_ has joined #ruby
[Goodoog] has quit [Disconnected by services]
[Goodoog_] has joined #ruby
senayar has quit [Read error: Connection reset by peer]
alexs__ has left #ruby [#ruby]
filipe has joined #ruby
baordog has joined #ruby
<mostlybadfly> They don't really let us not keep on task
sparr has joined #ruby
<mostlybadfly> But if its on this computer they won't notice
fgo has quit [Remote host closed the connection]
<mostlybadfly> I don't work with computers at all right now so I'm restricted
hogeo has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
[Goodoog_] has quit [Quit: probabile che mi riconnetta fra qualche secondo]
zachrab has joined #ruby
v0n has joined #ruby
<greenysan> you can always ssh to a pc that does have ruby installed
ffranz has joined #ruby
<greenysan> your on windows so run putty from a usb stick or something
sailias has joined #ruby
Lewix has joined #ruby
Tricon has joined #ruby
jan1337zZz is now known as jan1337z
ZadYree_ is now known as ZadYree
ZadYree has quit [Changing host]
ZadYree has joined #ruby
jan1337z is now known as Jan
hurrrtin has quit [Ping timeout: 250 seconds]
YaNakilon has quit [Ping timeout: 245 seconds]
Jan is now known as Guest5471
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
cody-- has joined #ruby
St_Marx has joined #ruby
newUser1234 has quit [Remote host closed the connection]
cjs226 has quit [Ping timeout: 240 seconds]
<zachrab> anyone here has used shotgun?
crunch-choco has joined #ruby
monkegjinni has joined #ruby
akells`` has joined #ruby
lyanchih_ has quit [Ping timeout: 264 seconds]
Lewix has quit [Ping timeout: 256 seconds]
<crunch-choco> plop
eightbitraptor has quit [Quit: eightbitraptor]
tomzx_mac has joined #ruby
arooni-mobile has joined #ruby
sparr has quit [Ping timeout: 246 seconds]
agjacome has joined #ruby
optimusprimem has quit [Read error: Connection timed out]
burlyscudd has joined #ruby
bklane has joined #ruby
arooni-mobile has quit [Client Quit]
hasrb has joined #ruby
hasrb has quit [Remote host closed the connection]
arooni-mobile has joined #ruby
<arooni-mobile> will require gem; require the latest version gem automatically?
jaynewstrom has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
sjltaylor has joined #ruby
dash_ has quit [Quit: dash_]
jaynewstrom has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
fyz1x has joined #ruby
cj3kim has joined #ruby
[Goodoog] has joined #ruby
shaunbaker has joined #ruby
shaunbaker has quit [Remote host closed the connection]
newUser1234 has joined #ruby
<Mon_Ouie> Yes, unless Kernel#gem has been used to activate another version
end_guy has quit [Remote host closed the connection]
shaunbak_ has quit [Ping timeout: 264 seconds]
end_guy has joined #ruby
srji has joined #ruby
cj3kim has quit [Ping timeout: 240 seconds]
<Mon_Ouie> For example if you call gem "foo", "= 1.2.6" it will load foo v1.2.6, even if a newer version is installed
akemrir has quit [Ping timeout: 276 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jonathanwallace has joined #ruby
monkegjinni has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
kvirani has joined #ruby
mansi has joined #ruby
sambao21 has joined #ruby
huoxito has joined #ruby
<lotherk> haven't posted anything in this channel yet. I'm very new to ruby (not to programming, coming from perl, bash, etc). this shall be my first post: i f*cking start to love ruby. :)
brennanMKE has joined #ruby
Dreamer3 has quit [Ping timeout: 240 seconds]
dknight has joined #ruby
baroquebobcat has joined #ruby
duggiefresh has joined #ruby
BrianJ has joined #ruby
jaynewstrom has quit [Remote host closed the connection]
jaynewstrom has joined #ruby
atyz has joined #ruby
optimusprimem has joined #ruby
MrZYX is now known as MrZYX|off
<catphish> yes, ruby is pretty great
zathraz has quit [Ping timeout: 240 seconds]
<dknight> how can I find out http version used by net http module ?
__maes_ has joined #ruby
_maes_ has joined #ruby
Dreamer3 has joined #ruby
echevemaster has joined #ruby
brennanMKE has quit [Ping timeout: 245 seconds]
failshell has joined #ruby
blaxter has quit [Ping timeout: 260 seconds]
lucazi has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
dangerousdave has quit [Quit: Leaving...]
sambao21 has quit [Quit: Computer has gone to sleep.]
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
ahg has joined #ruby
zodiak has joined #ruby
<arooni-mobile> is there a better JSON parsing library than 'json' ? i'm getting a bunch of intermittant parsing errors
zodiak has quit [Read error: Connection reset by peer]
sayan has joined #ruby
MrThePlague has joined #ruby
MrThePlague has quit [Changing host]
MrThePlague has joined #ruby
sambao21 has joined #ruby
mengu has joined #ruby
rhys__ has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
kpshek has quit []
blaxter has joined #ruby
b00stfr3ak has quit [Ping timeout: 245 seconds]
|PiP| has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
camilasan has quit [Remote host closed the connection]
fgo has joined #ruby
camilasan has joined #ruby
tjad has joined #ruby
|PiP| has quit [Client Quit]
cookiemonsta has quit [Ping timeout: 264 seconds]
<pipecloud> multijson
camilasan has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
camilasan has joined #ruby
wolcanus has joined #ruby
Lewix has joined #ruby
quazimodo has quit [Ping timeout: 248 seconds]
<waxjar> oj is superfast
kpshek has joined #ruby
bluenemo has quit [Remote host closed the connection]
braoru has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 256 seconds]
fgo has quit [Ping timeout: 260 seconds]
poga has quit [Ping timeout: 264 seconds]
anonymuse has joined #ruby
kek has quit [Quit: kek]
vlad_starkov has joined #ruby
ezra has joined #ruby
ezra is now known as Guest13305
cjs226 has joined #ruby
Guest13305 is now known as ezra
ezra has quit [Changing host]
ezra has joined #ruby
pipework has joined #ruby
shaunbaker has joined #ruby
sarkis has joined #ruby
shredding has joined #ruby
aedorn has joined #ruby
lucazi has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
lyoko1 has joined #ruby
mary5030 has joined #ruby
axl_ has joined #ruby
giarc has left #ruby [#ruby]
<lyoko1> Hi, how can I turn an array such as [[a, b, c], [d, e, f], ...] into [[a, (b + c)], [d, (e + f)], ...] ?
brennanMKE has joined #ruby
BrianJ has quit [Quit: Computer has gone to sleep.]
bklane has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
mrsolo has joined #ruby
argentum has joined #ruby
siera08_ has joined #ruby
goganchic has joined #ruby
mary5030 has joined #ruby
persand has quit [Quit: persand]
siera08_ has quit [Client Quit]
<kaspergrubbe> lyoko1: Try this, not the most nice code, but you get the idea
<kaspergrubbe> a = [ [1,2,3], [4,5,6] ]
<kaspergrubbe> a.map! { |a| [a[0], a[1]+a[2] ] }
<kaspergrubbe> => [[1, 5], [4, 11]]
siera08 has quit [Ping timeout: 245 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
<andrein_> wuest: sorry for the late reply, went to a meeting. I was asking about a way to compute the number of iterations. I also thought about the quick and dirty method using a thread and a counter. I guess that's the way to go :)
brennanMKE has joined #ruby
[Goodoog] has quit [Quit: probabile che mi riconnetta fra qualche secondo]
Davey has joined #ruby
brennanMKE has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
cjs226 has quit [Quit: cjs226]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
YaNakilon has joined #ruby
sjltaylor has joined #ruby
razi has quit [Ping timeout: 260 seconds]
<sjltaylor> what is the error?
shredding has quit [Quit: shredding]
fsck3r has joined #ruby
yogsototh has joined #ruby
yogsototh has left #ruby [#ruby]
kobain has joined #ruby
Guest5471 is now known as jan1337zZz
fgo has joined #ruby
newUser1234 has quit [Remote host closed the connection]
dhruvasagar has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
Vicmaste_ has quit [Remote host closed the connection]
zachrab has quit [Remote host closed the connection]
soba has quit [Ping timeout: 264 seconds]
ewnd9 has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
jlast has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jonathanwallace has quit [Read error: Operation timed out]
Coolhand has quit [Read error: Connection reset by peer]
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
say_ has joined #ruby
sporkbomb has joined #ruby
monkegjinni has joined #ruby
Coolhand has joined #ruby
snath has joined #ruby
Jake232 has joined #ruby
Zai00 has joined #ruby
tvw has quit []
zoee has quit [Quit: zoee]
quazimodo has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
cj3kim has joined #ruby
p0hl has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
fgo has quit [Ping timeout: 246 seconds]
shoumikhin has joined #ruby
p0hl has quit [Read error: Connection reset by peer]
caju has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
goganchic has quit []
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mufasa27 has joined #ruby
monkegjinni has quit [Remote host closed the connection]
goganchic has joined #ruby
infecto has joined #ruby
fsck3r has quit [Quit: Leaving...]
hiyosi has joined #ruby
codecop has joined #ruby
cj3kim has quit [Ping timeout: 260 seconds]
user258467 has quit [Remote host closed the connection]
mufasa27 has left #ruby [#ruby]
snath has quit [Ping timeout: 241 seconds]
browndawg has left #ruby [#ruby]
platzhirsch has left #ruby [#ruby]
agjacome has quit [Quit: leaving]
agjacome has joined #ruby
alpha123 has joined #ruby
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user258467 has joined #ruby
monkegjinni has joined #ruby
|PiP| has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
kdaigle has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
ndrei has quit [Ping timeout: 260 seconds]
Coolhand has quit [Ping timeout: 264 seconds]
tommyvyo has joined #ruby
agjacome has quit [Remote host closed the connection]
rogeruiz has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
rogeruiz has left #ruby [#ruby]
gazarsgo has joined #ruby
agjacome has joined #ruby
_maes_ has quit [Ping timeout: 240 seconds]
__maes_ has quit [Ping timeout: 240 seconds]
agjacome has quit [Client Quit]
|PiP| has quit [Remote host closed the connection]
|PiP| has joined #ruby
monkegjinni has quit [Remote host closed the connection]
lsmola has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
browndawg has joined #ruby
alex__c2022 has joined #ruby
hollyw00d has quit [Quit: Textual IRC Client: www.textualapp.com]
Coolhand has joined #ruby
monkegjinni has joined #ruby
ExxKA has joined #ruby
lyanchih has joined #ruby
pitzips has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
zavier has quit [Quit: WeeChat 0.4.0]
zavier has joined #ruby
brennanMKE has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 240 seconds]
baroquebobcat has joined #ruby
ndrei has joined #ruby
Anticom has quit [Quit: Nettalk6 - www.ntalk.de]
agjacome has joined #ruby
jonathanwallace has joined #ruby
agjacome has quit [Client Quit]
havenwood has joined #ruby
dodosan has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
D4T has joined #ruby
D4T has quit [Max SendQ exceeded]
D4T has joined #ruby
D4T has quit [Max SendQ exceeded]
D4T has joined #ruby
ezra has quit [Read error: Connection reset by peer]
Neomex has joined #ruby
Neomex has quit [Client Quit]
dknight has quit [Ping timeout: 246 seconds]
blaxter has quit [Ping timeout: 245 seconds]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
apeiros has joined #ruby
mando has joined #ruby
MarioEIU has joined #ruby
MarioEIU has left #ruby [#ruby]
zeropx has joined #ruby
mrsolo has joined #ruby
monkegjinni has quit [Remote host closed the connection]
D4T has quit [Quit: Textual IRC Client: www.textualapp.com]
zachrab has joined #ruby
orionstein_away is now known as orionstein
burlyscudd has quit [Quit: Leaving.]
Spami has quit [Quit: This computer has gone to sleep]
jocellyn1 has joined #ruby
Ripp__ has joined #ruby
kiri has quit [Quit: Leaving]
geggam has joined #ruby
snath has joined #ruby
burlyscudd has joined #ruby
nomenkun has quit [Remote host closed the connection]
syed_ has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
zarubin has quit [Ping timeout: 276 seconds]
pel_daniel has joined #ruby
blaxter has joined #ruby
intuxicated has quit [Ping timeout: 246 seconds]
zachrab has quit [Remote host closed the connection]
scarolan has joined #ruby
orionstein is now known as orionstein_away
caju has quit [Remote host closed the connection]
shaunbaker has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
caju has joined #ruby
jonkri has quit [Ping timeout: 276 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
petercommand has quit [Quit: Lost terminal]
Megtastique has joined #ruby
atyz has quit [Quit: Leaving...]
monkegjinni has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CalvinnHobbes has quit [Ping timeout: 276 seconds]
digital-ghost has joined #ruby
ssvo has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has quit [Quit: axl_]
dankest has joined #ruby
b00stfr3ak has joined #ruby
Matriks has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Quit: Leaving.]
yebyen has quit [Ping timeout: 264 seconds]
atno has joined #ruby
stuartrexkin has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
yebyen has joined #ruby
yebyen is now known as Guest65923
cj3kim has joined #ruby
Kabaka has joined #ruby
filipe has quit [Remote host closed the connection]
jocellyn1 has quit [Quit: Leaving.]
ntus1017 has joined #ruby
sambao21 has joined #ruby
seo has joined #ruby
axl_ has joined #ruby
seo is now known as Guest78657
cj3kim has quit [Ping timeout: 260 seconds]
S0da has quit [Remote host closed the connection]
axl_ has left #ruby [#ruby]
stuartrexkin has quit [Quit: Leaving...]
threeturn has quit [Quit: threeturn]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
lotherk has quit [Quit: Leaving.]
tbjers has joined #ruby
razi has joined #ruby
tbjers has left #ruby [#ruby]
klaut has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
camilasa_ has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
nari has quit [Ping timeout: 276 seconds]
aeontech has quit [Quit: aeontech]
newUser1234 has joined #ruby
Voodoofish430 has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
zorg24 has joined #ruby
jocellyn has joined #ruby
kpshek has quit [Ping timeout: 245 seconds]
duggiefresh has quit [Quit: duggiefresh]
tyfighter has joined #ruby
dodosan has joined #ruby
Xeago has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
tjad has quit [Ping timeout: 240 seconds]
allanm has quit [Ping timeout: 264 seconds]
ehaliewicz has joined #ruby
burlyscudd has quit [Quit: Leaving.]
aaronmcadam has quit [Ping timeout: 240 seconds]
<mostlybadfly> Hi guys a question if I may
allanm has joined #ruby
danbeck has joined #ruby
<shevy> lol
<shevy> you need to ask the question
adambeynon has joined #ruby
<mostlybadfly> Why is it that during a loop the variable keeps decreasing? In the statement while var > 0
<mostlybadfly> I know that it's a loop
shaunbaker has joined #ruby
<mostlybadfly> But why is it if I do puts var.to_s + (var -= 1).to_s
<mostlybadfly> It remembers to decrease var by one in the next loop?
mklappst_ has quit [Remote host closed the connection]
goganchi1 has joined #ruby
36DABBX4Z has quit [Remote host closed the connection]
haxrbyte has joined #ruby
kaspergrubbe has joined #ruby
snath has quit [Read error: Operation timed out]
zeade has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
johnnyfuchs has quit [Remote host closed the connection]
haxrbyte has quit [Read error: Connection reset by peer]
goganchic has quit [Ping timeout: 256 seconds]
haxrbyte has joined #ruby
burlyscudd has joined #ruby
Ripp__ has quit [Quit: Ripp__]
<mostlybadfly> Oh crap that's wrong aorry
<mostlybadfly> Sorry
atyz has joined #ruby
danbeck has quit [Quit: danbeck]
thebastl has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 248 seconds]
atyz has quit [Read error: Connection reset by peer]
helvete has joined #ruby
catphish has quit [Quit: Leaving]
ssvo has quit [Quit: Lost terminal]
maxmanders has quit [Quit: Computer has gone to sleep.]
dangerousdave has joined #ruby
sleetdrop has joined #ruby
<mostlybadfly> shevy: OK sorry. var = 10; while var > 1; puts var.to_s + ' minus 1 is ' + (var -= 1).to_s; end
<shevy> I hate while loops
danbeck_ has joined #ruby
<mostlybadfly> How does it know to start the next line with 9? If it still calls var
ghr has quit [Quit: Computer has gone to sleep.]
<mostlybadfly> Is there a better way to write that?
<shevy> var = 10; loop { puts var.to_s+' minus 1 is '+(var -=1).to_s; break if var == 0 }
mansi has quit [Remote host closed the connection]
<mostlybadfly> Oh cool
senayar has joined #ruby
noname001 has quit [Ping timeout: 276 seconds]
<mostlybadfly> I don't know if I'm there yet just based on what I've seen so far but I totally understand it
mansi has joined #ruby
lucazi has quit []
danbeck_ has quit [Client Quit]
<shevy> here with formatting
<shevy> var = 10; loop { printf '%3d'+' minus 1 is '+(var -=1).to_s+"\n", var+1; break if var == 0 }
<shevy> or you could use "#{var}"
shaunbaker has quit [Remote host closed the connection]
<havenwood> 10.downto(1) { |n| puts "#{n} minus 1 is #{n - 1}" }
lucazi has joined #ruby
<shevy> mostlybadfly (var -= 1) is the same as: var = var - 1
blaxter has quit [Quit: foo]
<mostlybadfly> Ah ok
<mostlybadfly> Makes sense
<shevy> so you do the down-counting in your own code already
<mostlybadfly> I was trying to write 99 bottles of beer song lol
<shevy> then why start at 10!!!
senayar_ has quit [Ping timeout: 245 seconds]
<digital-ghost> lol
kaldrenon has quit [Remote host closed the connection]
<digital-ghost> 10 bottles is < 99 bottles for sure.
Guest78657 has quit [Remote host closed the connection]
<mostlybadfly> Lol I know I just wanted to give an example
<mostlybadfly> Mine was super long
<digital-ghost> Are you reading Learning Rails by .. oh whats his face.
mansi has quit [Ping timeout: 240 seconds]
senayar has quit [Ping timeout: 246 seconds]
<digital-ghost> I read some book a month or two ago where 99 bottles was one of the first examples.
<digital-ghost> Had to re-write it like 5 times over. Got more and more complex, but less code each time.
fridim__ has quit [Read error: Connection reset by peer]
dodosan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
tjad has joined #ruby
Xeago has joined #ruby
tommyvyo has joined #ruby
tommyvyo has joined #ruby
<mostlybadfly> var 99; loop{puts var.to_s + ' bottles of beer on the wall, ' + var.to_s + ' bottles of beer. Take 1 down, pass it around, ' (var -= 1).to_s + ' bottles of beer on the wall.'; break if var == 0
obs has quit [Quit: Konversation terminated!]
brennanMKE has joined #ruby
scarolan has quit [Ping timeout: 245 seconds]
srji_ has joined #ruby
orionstein_away is now known as orionstein
caju has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 240 seconds]
srji has quit [Ping timeout: 264 seconds]
ExxKA has quit [Quit: Leaving]
poga has joined #ruby
Megtastique has quit [Quit: Megtastique]
tvw has joined #ruby
leonardorb has joined #ruby
leonardorb has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
leonardorb has joined #ruby
lockweel has quit [Ping timeout: 264 seconds]
newUser1234 has quit [Remote host closed the connection]
<mfilipe> is there some plugin for Sublime Text para o ruby-debug?
<mfilipe> sorry
<mfilipe> ahahaha
<banisterfiend> mfilipe mixing up languages? :P
<mfilipe> is there any plugin for Sublime Text for ruby-debug?
<mfilipe> banisterfiend: yep! hahahah... I mixed english and portuguese
<banisterfiend> mfilipe hehe, cool
<apeiros> portlish or enguese?
rupee has joined #ruby
iliketur_ has joined #ruby
ffio has joined #ruby
vlad_starkov has joined #ruby
Krajsnick has joined #ruby
Senjai has joined #ruby
Krajsnick has quit [Remote host closed the connection]
<digital-ghost> Anyone have any experience with jira-ruby gem?
hasrb has joined #ruby
khushildep has quit [Quit: khushildep]
|PiP| has quit [Quit: |PiP|]
kaldrenon has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
cj3kim has joined #ruby
spider-mario has joined #ruby
duggiefresh has joined #ruby
browndawg has joined #ruby
bronson_ has joined #ruby
i_s has joined #ruby
duggiefresh is now known as Guest93803
Monie has joined #ruby
nfisher has joined #ruby
jocellyn has quit [Ping timeout: 240 seconds]
i_s has quit [Remote host closed the connection]
twoism has joined #ruby
troessner has quit [Quit: Leaving]
infecto has quit [Quit: Leaving.]
tbjers has joined #ruby
tyfighter has quit [Ping timeout: 256 seconds]
cj3kim has quit [Ping timeout: 264 seconds]
echevemaster has quit [Ping timeout: 248 seconds]
Warlock_ has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
tkuchiki has joined #ruby
interactionjaxsn has joined #ruby
jocellyn has joined #ruby
newUser1234 has joined #ruby
brianpWins has quit [Quit: brianpWins]
aganov has quit [Quit: aganov]
vlad_starkov has quit [Read error: Connection reset by peer]
sarkis has quit [Quit: leaving]
GeekOnCoffee has quit [Ping timeout: 276 seconds]
gyre007 has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
tyfighter has joined #ruby
tyfighter has quit [Client Quit]
i_s has joined #ruby
interactionjaxsn has quit [Ping timeout: 240 seconds]
ananthakumaran has quit [Quit: Leaving.]
randomautomator has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
timonv has joined #ruby
goganchi1 has quit [Quit: leaving]
mbreedlove has joined #ruby
fbernier has joined #ruby
goganchic has joined #ruby
daniel_hinojosa has joined #ruby
goganchic has quit [Client Quit]
tbjers has quit [Quit: tbjers]
tylersmith has joined #ruby
c0rn has quit [Client Quit]
ebobby has joined #ruby
nfisher has quit [Quit: Good-bye all!]
c0rn has joined #ruby
syed_ has quit [Ping timeout: 264 seconds]
fsck3r has joined #ruby
c0rn has quit [Client Quit]
r4nd0m1 has joined #ruby
altamic has joined #ruby
timonv has quit [Remote host closed the connection]
Squarepy has joined #ruby
altamic has left #ruby [#ruby]
cody-- has joined #ruby
maxmanders has joined #ruby
Targen has joined #ruby
poga has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorg24 has quit [Ping timeout: 246 seconds]
poga has joined #ruby
c0rn has joined #ruby
beneggett has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
beneggett has quit [Client Quit]
Megtastique has joined #ruby
Xeago has joined #ruby
relix has joined #ruby
devoldmx3 has joined #ruby
elaptics is now known as elaptics`away
sleetdrop has quit [Quit: Computer has gone to sleep.]
b00stfr3ak has quit [Read error: Operation timed out]
marr has quit [Ping timeout: 260 seconds]
wolcanus has quit [Remote host closed the connection]
BizarreCake has joined #ruby
wolcanus has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
noname-shaggy has left #ruby [#ruby]
fsck3r has quit [Read error: Connection reset by peer]
fsck3r has joined #ruby
kidoz has joined #ruby
b00stfr3ak has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
kirun has joined #ruby
wolcanus has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
BRMatt has quit [Ping timeout: 248 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
Jake232 has joined #ruby
maxmanders has joined #ruby
Waka_Flocka_Flam has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
adeponte has joined #ruby
apok has joined #ruby
tbjers has joined #ruby
Astralum has joined #ruby
Aloysius1 has joined #ruby
lyanchih has quit [Quit: lyanchih]
adeponte has quit [Remote host closed the connection]
adeponte has joined #ruby
_adeponte has joined #ruby
timonv has joined #ruby
mansi has joined #ruby
hiroyuki has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
adeponte has quit [Ping timeout: 240 seconds]
XenoWolf has quit [Ping timeout: 276 seconds]
|PiP| has joined #ruby
awwaiid has quit [Ping timeout: 268 seconds]
carraroj has joined #ruby
blackmesa has joined #ruby
Dreamer3 has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
shnee has joined #ruby
nowthatsamatt has joined #ruby
dangerousdave has quit [Quit: Leaving...]
endash has joined #ruby
seggy has joined #ruby
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has quit [Remote host closed the connection]
threeturn has joined #ruby
Megtastique has quit [Quit: Megtastique]
<shevy> ruby rocks the world
brennanMKE has quit [Read error: Connection reset by peer]
Guest65923 is now known as yebyen
brennanMKE has joined #ruby
mwmnj has joined #ruby
<yebyen> anyone use the sequel gem to join a table to itself?
newUser1234 has quit [Remote host closed the connection]
fsck3r has quit [Quit: Leaving...]
rezzack has joined #ruby
syed_ has joined #ruby
Diranged has joined #ruby
brianpWins has joined #ruby
chrisja has quit [Quit: leaving]
<Diranged> Im leveraging a ruby gem from someone else, and I really want to be able to access the @root instance variable in each object thati create.. ie my_obj = NewObject() … then puts my_obj.root
<Diranged> that syntax obviously doesnt work.. but i was wondering if theres a way to inspect the object and get the value of an instance variable inside a ruby object?
<Aloysius1> Style question: I have a line of code "if !go? | (!record = next_record)" where I want to simultaneous set a local variable to the result of a function (next_record) and test to see if it's nil.
<pietr0> Diranged: you can use #instance_variable_get
<Aloysius1> I could also do this as "if !go? | begin !record = next_record end" but that doesn't really seem better.
<Aloysius1> "if !go? | !{record=next_record}" might read better but syntactically, the curly braces would be interpreted as a hash, I think.
devoldmx3 has quit [Read error: Connection reset by peer]
<Xeago> Aloysius1: neither seem good, but I would go with parentheses
<Aloysius1> any thoughts?
Megtastique has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<Xeago> Aloysius1: can't you apply demorgan laws and use unless?
jefflyne has joined #ruby
<Xeago> unless go && (record=next_record)
Monie has joined #ruby
<apeiros> IMO don't do side-effect in &&
<apeiros> use normal `if` for side effect
<Aloysius1> Yeah--that's probably better but still has the side-effect--right.
<Xeago> apeiros: how is it different with if/unless?
<apeiros> it's less surprising
Zai00 has quit [Quit: Zai00]
sambao21 has joined #ruby
<apeiros> it's generally considered a smell when a condition contains side-effects
<Aloysius1> I mean, I could do: "record = next_record; unless go && record"
c0rn has quit [Quit: Computer has gone to sleep.]
echevemaster has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
<Xeago> return unless end_loop && (record=next); more code
<Xeago> still ugly yes
<Xeago> but from what he said he was looking for something in 1 line
<shevy> ack
<Xeago> it would be nice to have more context when answering these questions Aloysius1
<Aloysius1> Well, it doesn't HAVE to be one line...but if it can be done in one line elegantly, that'd be good.
bookmage has joined #ruby
jlebrech has joined #ruby
tommyvyo_ has joined #ruby
<Aloysius1> Xeago: I'm popping a record off a queue, but the queue is being populated in a different thread.
bnj has left #ruby [#ruby]
wmoxam has joined #ruby
<Aloysius1> The "go" and "next_record" routines both synchronize with the thread that's pulling records.
jlebrech has quit [Client Quit]
syed_ has quit [Ping timeout: 260 seconds]
thillux has joined #ruby
tommyvyo has quit [Ping timeout: 256 seconds]
<Aloysius1> If "go" is false, that means there are more records to be read before processing can begin.
end_guy has quit [Ping timeout: 240 seconds]
<Aloysius1> If next_record is nil, that means there aren't any records left in the queue.
tbjers has quit [Quit: tbjers]
carraroj has quit [Read error: Operation timed out]
jlebrech has joined #ruby
<Xeago> I don't really understand go
axeman- has quit [Remote host closed the connection]
<Xeago> you wait until you have enough records in your queue to start processing?
altamic has joined #ruby
<Xeago> I would put this logic in your queue
<Xeago> so you can just call record=queue.pop()
<Xeago> which waits, synchronizes and everything
scarolan has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
end_guy has joined #ruby
threeturn has quit [Quit: threeturn]
cj3kim has joined #ruby
devoldmx has joined #ruby
intuxicated has joined #ruby
alvaro_o has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
<Aloysius1> I can't start processing until I have the earliest record, and the server call gives the most recent.
<Aloysius1> So I make consecutive calls until I get the oldest record I haven't processed yet.
altamic has quit [Read error: Connection reset by peer]
awwaiid has joined #ruby
XenoWolf has joined #ruby
Ripp__ has joined #ruby
Diranged has left #ruby [#ruby]
<Aloysius1> (Starting with the newest and going backwards creates a whole mess of problems.)
altamic has joined #ruby
altamic has quit [Changing host]
altamic has joined #ruby
<Aloysius1> I didn't know queue was thread-safe, though. It wouldn't change the above code much, tho'.
altamic has left #ruby [#ruby]
ebobby has left #ruby [#ruby]
<Aloysius1> "if !go | (record = @queue.shift())"
monkegjinni has joined #ruby
threeturn has joined #ruby
<Aloysius1> Wait, it's not a queue, sorry. It's just an array. :-P
syed_ has joined #ruby
<Aloysius1> I'm using "queue" generically, rather than referring to a particular class.
ggordan has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
r0bglees0n has quit [Ping timeout: 256 seconds]
huoxito has quit [Quit: Leaving]
alex__c2022 has quit [Ping timeout: 264 seconds]
devoldmx has quit [Read error: Connection reset by peer]
wolcanus has joined #ruby
threeturn has quit [Client Quit]
devoldmx has joined #ruby
burlyscudd1 has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
thillux has quit [Read error: Operation timed out]
greenysan1 has joined #ruby
wmoxam has joined #ruby
dodosan has quit [Remote host closed the connection]
greenysan has quit [Read error: Operation timed out]
Megtastique has quit [Quit: Megtastique]
carraroj has joined #ruby
Megtastique has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
huoxito has joined #ruby
<Aloysius1> I'm not sure I get why side-effects are okay in "if"s but not "unless"es (setting aside my particular situation).
DanKnox_away is now known as DanKnox
Ripp__ has quit [Quit: Ripp__]
giarc has joined #ruby
devoldmx has quit [Ping timeout: 276 seconds]
razi has quit [Ping timeout: 276 seconds]
greenysan1 has quit [Ping timeout: 246 seconds]
Xeago has quit [Remote host closed the connection]
browndawg has left #ruby [#ruby]
hamakn_ has quit [Remote host closed the connection]
hamakn has joined #ruby
tommyvyo_ is now known as tommyvyo
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
brianpWins has quit [Quit: brianpWins]
maxmanders has joined #ruby
spider-mario has quit [Ping timeout: 245 seconds]
endash has quit [Quit: endash]
starfox21 has quit [Quit: starfox21]
hamakn has quit [Ping timeout: 245 seconds]
aeontech has joined #ruby
Notte has joined #ruby
brianpWins has joined #ruby
helvete has quit [Quit: Leaving...]
Ripp__ has joined #ruby
kpshek has joined #ruby
|PiP|_ has joined #ruby
Ripp__ has quit [Client Quit]
ixti has quit [Ping timeout: 245 seconds]
thillux has joined #ruby
|PiP| has quit [Ping timeout: 240 seconds]
atno has quit [Remote host closed the connection]
kidoz has quit [Quit: Ухожу я от вас]
cj3kim has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
syed_ has quit [Ping timeout: 240 seconds]
jbpros has joined #ruby
|PiP|_ has quit [Ping timeout: 264 seconds]
moted has quit [Quit: moted]
shnee has quit [Remote host closed the connection]
moted has joined #ruby
syed_ has joined #ruby
tommyvyo has joined #ruby
sparq_ has joined #ruby
pweems has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mansi has joined #ruby
Warlock_ has quit [Quit: leaving]
Waka_Flocka_Flam has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
maxmanders has quit [Quit: Computer has gone to sleep.]
devoldmx has joined #ruby
senayar has joined #ruby
thillux has quit [Ping timeout: 245 seconds]
atyz has joined #ruby
threeturn has joined #ruby
s2013 has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
devinus has joined #ruby
<devinus> is there a way to override a global function within the context of a module?
<devinus> including all functions the module calls out to?
dhruvasagar has joined #ruby
ixti has joined #ruby
arooni-mobile has quit [Ping timeout: 264 seconds]
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ColKurtz has joined #ruby
Ripp__ has joined #ruby
<apeiros> method
<apeiros> there are no real global methods, they seem to be, but they're just inherited
<apeiros> hence: yes, you can. just override it.
sambao21 has quit [Quit: Computer has gone to sleep.]
dodosan has joined #ruby
rickmasta has joined #ruby
sparq_ has quit [Ping timeout: 276 seconds]
senayar has quit [Ping timeout: 276 seconds]
cj3kim has joined #ruby
Neomex has joined #ruby
labrat__ has joined #ruby
ArchBeOS has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]]
mansi has joined #ruby
<devinus> apeiros: i see. where are all global methods then?
Neomex has quit [Client Quit]
<apeiros> in Kernel as module_function
<devinus> Kernel?
<devinus> i see
<devinus> thank you
<apeiros> so you can call them as Kernel.foo and just foo
hackingoff has quit [Ping timeout: 264 seconds]
Thav has left #ruby [#ruby]
tommyvyo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
Megtastique has quit [Quit: Megtastique]
kaspergrubbe has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
<shevy> apeiros, do you write mostly rails-related ruby code these days or do you still have active projects where you use ruby, but which have little to do with rails / your job?
ebouchut has joined #ruby
<apeiros> shevy: I barely write code which isn't job related atm
mneorr_ has joined #ruby
<apeiros> my last project is iso-iban to generate iban account numbers
geekbri has quit [Remote host closed the connection]
<apeiros> it's released as a gem and available on github
devoldmx has joined #ruby
geekbri has joined #ruby
timonv has joined #ruby
mneorr has quit [Ping timeout: 246 seconds]
zavier has quit [Quit: WeeChat 0.4.0]
threeturn has quit [Quit: threeturn]
zavier has joined #ruby
pweems has quit [Ping timeout: 248 seconds]
mary5030 has quit [Ping timeout: 248 seconds]
carraroj has quit [Ping timeout: 264 seconds]
cortexman1 has joined #ruby
devoldmx3 has joined #ruby
cortexman1 has quit [Max SendQ exceeded]
cortexman1 has joined #ruby
timonv has quit [Remote host closed the connection]
mary5030 has joined #ruby
sambao21 has joined #ruby
BizarreCake has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
cortexman has quit [Ping timeout: 264 seconds]
mary5030 has joined #ruby
sambao21 has quit [Client Quit]
workmad3 has joined #ruby
daniel_hinojosa has quit [Quit: Leaving.]
Coolhand has quit [Remote host closed the connection]
ebouchut has quit [Quit: This computer has gone to sleep]
devoldmx has quit [Ping timeout: 264 seconds]
ixti has quit [Ping timeout: 264 seconds]
gildo has quit [Remote host closed the connection]
newUser1234 has joined #ruby
wallerdev has joined #ruby
XenoWolf has quit [Ping timeout: 248 seconds]
marr has joined #ruby
awwaiid has quit [Ping timeout: 264 seconds]
decoponio has quit [Quit: Leaving...]
Xeago has joined #ruby
jprovazn has quit [Quit: Odcházím]
Coolhand has joined #ruby
r0bglees0n has joined #ruby
Fire-Dragon-DoL has joined #ruby
geekbri has quit [Remote host closed the connection]
ebouchut has joined #ruby
wmoxam has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
awwaiid has joined #ruby
sambao21 has joined #ruby
newUser1234 has quit [Ping timeout: 245 seconds]
<devinus> is there a way to override a Kernel method for everything that happens within a module?
<eka> Perl would be Voodoo - An incomprehensible series of arcane incantations that involve the blood of goats and permanently corrupt your soul. Often used when your boss requires you to do an urgent task at 21:00 on friday night.
burlyscudd1 has quit [Quit: Leaving.]
Coolhand has quit [Read error: Connection reset by peer]
mark_locklear has quit [Quit: Leaving]
XenoWolf has joined #ruby
<shevy> eka in 1995 :P
ratanasv has joined #ruby
<apeiros> devinus: as said, override the method. as of ruby 2.0, refinements would also be an option.
Es0teric has joined #ruby
ratanasv has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tvw has quit [Ping timeout: 256 seconds]
ratanasv has joined #ruby
jleishman has quit [Remote host closed the connection]
ratanasv has quit [Remote host closed the connection]
ratanasv has joined #ruby
rickmasta has quit [Quit: Leaving...]
mary5030 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
mary5030 has joined #ruby
ratanasv has quit [Remote host closed the connection]
maz-dev has quit [Remote host closed the connection]
ratanasv has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
maz-dev has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Notte has quit [Write error: Broken pipe]
ntus1017 has quit [Remote host closed the connection]
monkegjinni has quit [Remote host closed the connection]
axeman- has joined #ruby
Ripp__ has quit [Quit: Ripp__]
hamakn has joined #ruby
brbcoding has quit [Ping timeout: 245 seconds]
_maes_ has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
casheew has joined #ruby
postmodern has joined #ruby
defaultro has joined #ruby
jbpros has quit [Quit: jbpros]
sambao21 has joined #ruby
jlebrech has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hamakn has quit [Ping timeout: 245 seconds]
robustus has quit [Ping timeout: 264 seconds]
kpshek has quit []
leonardorb has quit [Remote host closed the connection]
aeontech has quit [Quit: aeontech]
robustus has joined #ruby
maz-dev has quit [Remote host closed the connection]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
JDHankle has quit [Remote host closed the connection]
Krajsnick has joined #ruby
Squarepy has quit [Quit: Leaving]
shoumikhin has quit [Ping timeout: 248 seconds]
iliketur_ has quit [Quit: zzzzz…..]
leonardorb has joined #ruby
allsystemsarego has quit [Quit: Leaving]
dv_ has quit [Read error: Operation timed out]
Tuxist has joined #ruby
ravster has joined #ruby
geggam has quit [Remote host closed the connection]
terinjokes has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
dv_ has joined #ruby
<havenwood> And as of 2.1 it wont whine at you when you use refinements. :)
rickmasta has joined #ruby
Spami has joined #ruby
<terinjokes> i'm using Ruby 2.0.0 and RubyGems 2.0.3 on Ubuntu. For whatever reason, if I install something with gem it gets a binstub of /usr/local/bin/ruby1.8
<terinjokes> ruby1.8 is not installed on this system
<terinjokes> I'm using gems installed alongside Ruby 2.0.0-p247
carraroj has joined #ruby
geggam has joined #ruby
srji_ has quit [Quit: leaving]
guiocavalcanti has quit [Read error: No route to host]
guiocavalcanti has joined #ruby
arooni-mobile has joined #ruby
dodosan has quit [Remote host closed the connection]
wargasm has joined #ruby
akells``_ has joined #ruby
<havenwood> terinjokes: Mmm debian... what do you get for: update-alternatives --list ruby
<shevy> why do they install into /usr/local
akells`` has quit [Read error: Connection reset by peer]
<shevy> that is a violation of the FHS
<terinjokes> update-alternatives: error: no alternatives for ruby.
<havenwood> terinjokes: How did you install Ruby?
<havenwood> terinjokes: Doesn't seem configured properly.
dodosan has joined #ruby
<terinjokes> i didn't install a ubuntu package, i installed it with ruby-install
<terinjokes> i have no ubuntu/debian ruby packages installed
<shevy> what is ruby-install?
<havenwood> terinjokes: Ah, just install chruby and you'll be good to go: update-alternatives --list ruby
<terinjokes> havenwood: i have chruby installed
<havenwood> terinjokes: chruby will set the environment variables properly to point at your ruby-installed Ruby
<terinjokes> it's how I have ruby 2.0.0 selected
<terinjokes> shevy: i typo-ed, it's really #!/usr/bin/ruby1.8
kdaigle has quit [Quit: Textual IRC Client: www.textualapp.com]
axeman- has quit [Ping timeout: 245 seconds]
sporkbomb has quit [Ping timeout: 245 seconds]
<terinjokes> but in any case, i've never had ruby 1.8 on this machine
<havenwood> terinjokes: If you look at `gem env` is there any mention of 1.8?
<terinjokes> havenwood: again, i have chruby installed
Ripp__ has joined #ruby
<shevy> ah cool
<shevy> have not heard of ruby-install before
devoldmx3 has quit [Ping timeout: 276 seconds]
<terinjokes> nope, everything is either /home/terin/.gem/ruby/2.0.0 or /home/terin/.rubies/ruby-2.0.0-p247/ prefixed
axeman- has joined #ruby
<shevy> strange
<shevy> why is /usr/local used at your machine then for ruby
newUser1234 has quit [Remote host closed the connection]
<shevy> - GEM PATHS:
<shevy> - /Programs/Ruby/1.9.3p448/lib/ruby/gems/1.9.1
<terinjokes> that's what I'm asking here
<terinjokes> :)
<shevy> you can't have only /home/terin
<havenwood> shevy: It is a remnant it appears of where debian puts system Ruby. Why it is happening, dunno.
<shevy> yeah
<shevy> terinjokes, you must have had another ruby before
<terinjokes> which -a bundle; # /home/terin/.gem/ruby/2.0.0/bin/bundle and /usr/local/bin/bundle
<terinjokes> shevy: this is a new VM
sporkbomb has joined #ruby
<havenwood> terinjokes: Ah, so its listing the location where chruby properly installed the gem, and then another false-positive relating to system Ruby location.
musl has quit [Quit: WeeChat 0.4.1]
<havenwood> terinjokes: The `bundle` you're actually using is in the proper location, right?: command -v bundle
<terinjokes> havenwood: yes, even if I call the chruby/ruby-install version, i still get the error
solrize_ has joined #ruby
hasrb has quit [Remote host closed the connection]
JadedEvan has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
iliketur_ has joined #ruby
<terinjokes> ok, great news
devoldmx has joined #ruby
<terinjokes> i axed ~/.gem/ and reinstalled and it's happy now
<havenwood> terinjokes: w00t
<eka> "did you try to turn it off and on again"
<havenwood> eka: hehe
<terinjokes> i have no idea what was misconfigured in there, or how it got that way
<terinjokes> eka: no, but uninstalled and reinstalled bundler and ruby several tiems
<havenwood> terinjokes: Good question, that is the first I've heard of that particular one.
<eka> terinjokes: that's the problem though…
<eka> :)
<terinjokes> havenwood: there was no .gem when i started, and my .gemrc doesn't mess with any paths or anything
cape_2005 has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
cape_2005 has left #ruby [#ruby]
pskosinski has joined #ruby
bronson_ has quit [Quit: bronson_]
bluOxigen has joined #ruby
<havenwood> shevy: Some nice advantages to ruby-install including tests, ability to install arbitary versions, lighter weight, etc.
JadedEvan has left #ruby ["Leaving"]
dash_ has joined #ruby
JadedEvan has joined #ruby
mary5030 has quit [Remote host closed the connection]
sambao21 has joined #ruby
<havenwood> Yay for options. ;)
<eka> havenwood: that ruby-install is the windows ruby-install or what? (didn't follow the conversation :P)
senayar has joined #ruby
<havenwood> eka: No it targets same as ruby-build. Just a different tool.
<eka> havenwood: yes was looking at that
<eka> havenwood: like rvm, rbenv but just installer?
axeman- has quit [Ping timeout: 260 seconds]
<eka> yep seems so
Greenrose has quit []
Greenrose has joined #ruby
<eka> I stopped using those things… just install latest and use 'gs'
<postmodern> eka, like ruby-build
<eka> for gemsets
jonathanwallace has quit [Ping timeout: 246 seconds]
<havenwood> eka: rvm vs rbenv/ruby-build vs chruby/ruby-install (rvm does both installation and selection of Rubies)
zodiak has joined #ruby
<eka> right
atyz has quit [Quit: Leaving...]
axeman- has joined #ruby
atyz has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
<havenwood> eka: chgems would be the equiv tool to gs from this family of tools
rickmasta has quit [Quit: Leaving...]
<havenwood> This family meaning stuff postmodern wrote. :P
Z3tta has quit [Read error: Connection reset by peer]
senayar has quit [Ping timeout: 248 seconds]
Liquid-- has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
<pipework> What's gs?
zacts has joined #ruby
ebouchut has joined #ruby
<pipework> havenwood: thanks. I'll definitely just keep with postmodern's stuff. It's cleaner and simpler and attractively small.
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
gemmy has joined #ruby
ebouchut has quit [Client Quit]
swordsmanz has quit [Quit: ooh ponies kinkeyyy]
mary5030 has joined #ruby
<pipework> postmodern: Did you get a pull request into homebrew to have it in homebrew proper? Or should I just tap your recipes?
Krajsnick has quit [Remote host closed the connection]
axisys has joined #ruby
Z3tta has joined #ruby
<havenwood> pipework: chruby and ruby-install are in homebrew proper, but not chgems
<eka> havenwood: lately I found chruby
leonardorb has quit [Remote host closed the connection]
<pipework> havenwood: Correct.
Nisstyre has joined #ruby
<axisys> can I use erb template to generate multiple stanzas? I need to create user = %username% { blah blah } for 10 username
<axisys> usernames*
akells``_ has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
<axisys> man erb gives me an example like this % erb -T - example.erb .. but did not quite follow
arooni-mobile has quit [Read error: Operation timed out]
carraroj has quit [Quit: Konversation terminated!]
akells`` has joined #ruby
solrize_ has quit [Ping timeout: 240 seconds]
ratanasv has quit [Remote host closed the connection]
ratanasv has joined #ruby
c0rn has joined #ruby
vlad_starkov has joined #ruby
i_s has quit [Remote host closed the connection]
<axisys> so file.erb contains Hello %user% . how do I feed ``foo'' so erb file.erb will print Hello foo ?
burlyscudd has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
asobrasil has left #ruby [#ruby]
<zacts> are these webcasts worth looking into: https://www.destroyallsoftware.com/screencasts
ebouchut has joined #ruby
companion is now known as Companion
<zacts> they have a few ruby tutorials, so I thought I would ask here..
sporkbomb has quit [Ping timeout: 246 seconds]
musl has joined #ruby
<havenwood> zacts: Yeah, great stuff. A similar thing for (mostly) just Ruby is RubyTapas.
i_s has joined #ruby
pweems has joined #ruby
newUser1234 has joined #ruby
aeontech has joined #ruby
jbpros has joined #ruby
terinjokes has left #ruby [#ruby]
ebouchut has quit [Client Quit]
GeissT has quit [Read error: Connection reset by peer]
mupkoo has quit [Remote host closed the connection]
cortexman has joined #ruby
newUser1234 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
Emiils has joined #ruby
hasrb has joined #ruby
cortexman1 has quit [Ping timeout: 245 seconds]
<apeiros> axisys: I don't think that's proper ERB
vlad_starkov has joined #ruby
<apeiros> axisys: it should be Hello <%= user %>
newUser1234 has quit [Remote host closed the connection]
<Eiam> banisterfiend: what was that alternative to pry-nav yo mentioned
<apeiros> pry-debugger ?
<Eiam> no
<Eiam> it was like..
<Eiam> some 5 letter word
casheew has quit [Quit: Lost terminal]
<banisterfiend> Eiam what ruby version are you on?
<Eiam> 2
<Eiam> p247
<banisterfiend> Eiam pry-byebug
<Eiam> byebug!
<Eiam> okay so pry-byebug vs pry-debugger
<Eiam> whats the deal?
blackmesa has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<existensil> byebug is debugging for ruby2 it looks like
<existensil> looks cool. THIS is why I idle here.
sambao21 has joined #ruby
lukec has joined #ruby
|PiP| has joined #ruby
arooni-mobile has joined #ruby
kpshek has joined #ruby
akells`` has quit [Remote host closed the connection]
yfeldblum has joined #ruby
dr_ick has quit [Quit: Ex-Chat]
* apeiros wonders too about pry-nav vs. pry-debugger vs. pry-byebug
caveat- has quit [Ping timeout: 245 seconds]
* apeiros pokes banisterfiend
Spami has quit [Quit: This computer has gone to sleep]
<banisterfiend> apeiros first, i didn't create them ;) they're 3rd party plugins…but the relationship is this
<apeiros> SO WHAT! YOU'RE MR PRY!!!!!!1!1!! :-D
anonymuse has quit [Remote host closed the connection]
bronson_ has joined #ruby
<banisterfiend> pry-nav is pure ruby, it uses set_trace_func, so as a result is a little slow (and i think has a couple of bugs related to step vs next)
defaultro has left #ruby [#ruby]
caveat- has joined #ruby
anonymuse has joined #ruby
<banisterfiend> apeiros pry-debugger is built on top of 'debugger' which works great for 1.9.* but due to changes in ruby 2.0, it also has some occasional weird behaviour related to step vs next
<banisterfiend> apeiros pry-byebug is ruby 2.0 only and fixes the step/next issue (it makes use of new 2.0 debugging APIs)
<apeiros> aha!
<apeiros> thanks for the explanation
<banisterfiend> pry-byebug is built on top of the byebug 2.0 debugger
c0rn has quit [Quit: Computer has gone to sleep.]
<apeiros> so basically ruby 1.8 -> pry-nav, 1.9 -> pry-debugger, 2.0+ -> pry-byebug
<zacts> havenwood: cool thanks!
verto has joined #ruby
<banisterfiend> apeiros pretty much
<zacts> I'm still at a newbie level of ruby, but eventually want to check those out
<banisterfiend> apeiros i should probably sit down sometime and make the whole thing less complicated and weird (like merging them all into a single gem with different code paths)
<zacts> I learn really well with videos
<apeiros> banisterfiend: or poke them to document that :)
Guest00000 has joined #ruby
<Guest00000> hello
<apeiros> I mean it's the same 3 lines in all 3 gems' Readme
sailias has quit [Quit: Leaving.]
<existensil> zacts: pry is a fantastic replacement for irb, the ruby console, which you'll probably use a ton while learning
andikr has quit [Remote host closed the connection]
<Guest00000> im running a geminabox gem source and im wondering if i can use names for my gems that collide with gems on rubygems which i am not going to use
<Guest00000> all the simple names are taken, basically
<Guest00000> can i shadow them somehow
<existensil> hahaha. all the simple names are not taken
<apeiros> Guest00000: probably not a good idea
Coolhand has joined #ruby
<apeiros> even if possible
ixti has joined #ruby
<Guest00000> hmm.
<apeiros> just use a prefix
<existensil> yes, you can. in your Gemfile just do something like "gem_name", git: "https://your.repo/"
<Guest00000> ok
<apeiros> guest0000000000000-mygem
<existensil> or something similar
<apeiros> existensil: that's bundler, not rubygems
Spami has joined #ruby
hasrb has quit [Remote host closed the connection]
<existensil> your right. still a good pitfall to be aware of if you are using bundler
<existensil> *you're
<Guest00000> im using two source lines in the Gemfile
burlyscudd has quit [Quit: Leaving.]
<Guest00000> it just does not care about my gems if i name them the same as something on rubygems, regardless of the order i put them in
<slash_nick> Guest00000: yeeeah... that's tough :)
Companion is now known as companion
stkowski has joined #ruby
<existensil> Guest00000: if your gem line points to the location of your gem (using :git or :path options) it should take precedence over rubygems after a bundle install
_honning_ has joined #ruby
<existensil> does two source lines work? are you attempting to run your own private gem server?
<Guest00000> i dont want to have to repeat the source over and over for each gem
<apeiros> it's actually not really precedence as simply rubygems not being the instance dealing with it
rickmasta has joined #ruby
<apeiros> (rubygems has no concept of gems on github e.g.)
<Guest00000> existensil: yes
<apeiros> Guest00000: Gemfile is ruby code. use a variable.
<Guest00000> x = foo
<existensil> Guest00000: so abstract it. you can def a function right in your Gemfile that makes `my_gem "gem_name"` add the path
<Guest00000> still repeating x over and over
<apeiros> Guest00000: oh my, cry me a river
<apeiros> you're repeating `gem` all over too.
v0n has quit [Ping timeout: 245 seconds]
<existensil> Guest00000: if you have your own gemserver you could also just use that as a source and copy the specific versions of the gems you plan to use there, whether yours or not
<apeiros> srsly, the time you take here to whine over it is about 100x more than it'd have taken you to simply copy & paste the source.
rbento has joined #ruby
<Guest00000> yeah i can homebrew whatever just trying to find something more conventional
<Guest00000> apeiros: im just going to name them something else and not do that
<existensil> Guest00000: then call the method `mg` and your "my gem" gem lines will actually be shorter than the regular ones!
<existensil> how is that repeating?
IceyEC has quit [Quit: IceyEC]
<Guest00000> its not repeating, but its less conventional
intuxicated has quit [Quit: Leaving]
axeman- has quit [Remote host closed the connection]
hasrb has joined #ruby
visof has quit [Ping timeout: 245 seconds]
<Guest00000> existensil: good call on copying gems to the private server
<existensil> Guest00000: http://bundler.io/v1.3/git.html
<Guest00000> and cool about the git command with block
mando has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
<Guest00000> i think im going to switch to that
<Guest00000> its a lot easier to lock down a git repo than the geminabox app
|PiP| has quit [Quit: |PiP|]
jlast has quit [Ping timeout: 245 seconds]
yalue has quit [Quit: Leaving]
bronson_ has quit [Quit: bronson_]
|PiP| has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
kpshek has quit []
Deele has quit [Ping timeout: 240 seconds]
aeontech has quit [Quit: aeontech]
kaldrenon has quit [Remote host closed the connection]
<mfilipe> which string method can I use for replace a hash for another? for examplo: "Mon, 19 Aug 2013 18:07".method_to_replace({'Mon' => 'Seg', 'Wed' => 'Qua'})
<mfilipe> or something like that
bronson_ has joined #ruby
newUser1234 has joined #ruby
burlyscudd has joined #ruby
<mfilipe> examplo = example
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
newUser1234 has quit [Read error: No route to host]
fyz1x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Eiam> zacts: putting off incorporating pry was one of my biggest ruby mistakes
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
<Eiam> its made me almost not care about compiled languages and static analyzers
<Eiam> almost!
IceyEC has joined #ruby
nanoxd has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 245 seconds]
visof has joined #ruby
ratanasv has quit [Remote host closed the connection]
greenysan has joined #ruby
blackmesa has joined #ruby
mwmnj has quit [Quit: Textual IRC Client: www.textualapp.com]
ratanasv has joined #ruby
txdv has joined #ruby
<apeiros> mfilipe: gsub. needs a bit of work, though
<apeiros> str.gsub(Regexp.union(hash.keys), hash)
breakingthings has quit [Quit: breakingthings]
cj3kim has joined #ruby
dash_ has quit [Ping timeout: 276 seconds]
zodiak has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
jbpros has quit [Quit: jbpros]
brianpWins has quit [Quit: brianpWins]
<mfilipe> apeiros: is there other way to do that? it's not necessarily to be a hash, it could be two arrays
<banisterfiend> Eiam which pry features do you use mostly?
* banisterfiend thinking about building in some kind of usage tracker so i can see what all you people do ;)
<apeiros> mfilipe: you say "that" and name an entirely different thing in the same phrase.
<apeiros> can't work with "that".
<apeiros> you can always write a custom method to do whatever you want
Tuxist has quit [Read error: Connection reset by peer]
<banisterfiend> .
<mfilipe> ?
<Eiam> banisterfiend: we talked about that a few weeks ago =) now that I've found byebug
<Eiam> I'm going to start using breakpoints
Emiils has quit [Ping timeout: 264 seconds]
<banisterfiend> Eiam i forgot your answer :) can you remind me?
rickmasta has quit [Quit: Leaving...]
<skyjumper> anyone selling a ticket to GoGaRuCo?
<skyjumper> oh its late on a friday
<Eiam> banisterfiend: step, next, binding.pry, object inspection, modifying objects inline, highlighting
<Eiam> nothing particularly fancy
rickmasta has joined #ruby
<banisterfiend> Eiam show-source / show-doc / cd / ls ?
<Eiam> I know pry does a lot more, like the source code browsing & so on, but I've already got my source code setup on a 27" display with a 4x grid thats laid out for all my source viewing
<Eiam> banisterfiend: yeah.. I know its there.. just usually have that stuff already available elsewhere
Liquid-- has quit [Ping timeout: 264 seconds]
<Eiam> I have 4 displays on my machine
zodiak has joined #ruby
<Eiam> so displays have specific areas dedicated to showing information like that
<Eiam> (outside of pry)
<banisterfiend> 4 displays?
<Eiam> yeah
<banisterfiend> like 4 monitors?
<Eiam> yes
<banisterfiend> the fuck..
<banisterfiend> that's normal at your work place?
<Eiam> well in my office I have 7 total displays
<Eiam> 4 on one machine, 3 on the other
<apeiros> comfy
<banisterfiend> i feel fancy having just 2 monitors :)
newUser1234 has quit [Remote host closed the connection]
<Eiam> hm, I guess it depends on the person. I've always had quite a few displays in my tenure.. some people like to use laptops with extended displays, or just one external with a clamshell
<digital-ghost> Most devs have 3 here
<Eiam> I also rotate 2 of the displays
<banisterfiend> Eiam how big is each monitor?
<argentum> I cannot use more than one, myself
endash has joined #ruby
<argentum> now, the one I use has to be at least 27-inch
<digital-ghost> I use two, wish I had a third 8)
cmarques has joined #ruby
<Eiam> banisterfiend: I have 2x27", 3x24" 2x20"
<MarcWeber> Is anybody willing to run 'gem install -i /tmp/target ncursesw-sup' after creating /tmp/target and tell me whether you succeed? ruby near version 1.9.3-p429 would be perfect
<banisterfiend> Eiam which editor do you use?
<Eiam> the 24 & 20 are rotated
<Eiam> banisterfiend: sublime text. its full screen on the 27" with a grid view (so 4 views into code)
<banisterfiend> Yeah, i use emacs with split windows when i'm on a large monitor
tvw has joined #ruby
<banisterfiend> on my baby 11" MBA just one window (at most 2) full-screen
<Eiam> i do dev at home on my retina macbook pro
<Eiam> and it drives me nuts =)
<Eiam> I feel like I can't see anything
<Eiam> lol
<banisterfiend> but 11" is too small for Xcode dev, i need two monitors at least for that (or one enormous one)
snearch has joined #ruby
ratanasv has quit [Remote host closed the connection]
Guest93803 has quit [Quit: Guest93803]
<Eiam> I should just embrace spaces or what not, but I guess I've always been big on multiple displays
duggiefresh_ has joined #ruby
vlad_starkov has joined #ruby
<banisterfiend> osx full screen + multiple monitors is a joke
<banisterfiend> i wish they would fix that
dankest has quit [Quit: Peace]
ratanasv has joined #ruby
<apeiros> banisterfiend: afaik they do in 10.9
<apeiros> finally menu bar on all monitors you wish
<banisterfiend> cool
<Eiam> yeah.. I'm on 10.9
failshell has quit [Ping timeout: 245 seconds]
<Eiam> on both of the machines with all the displays
<Eiam> but previously i had this setup on 10.8 and 10.7 and 10.6..
<Eiam> was fine =p
<Eiam> and 10.5 and 10.4 and 10.3
ratanasv has quit [Remote host closed the connection]
wolcanus_ has joined #ruby
<Eiam> well back then i had 2, not 4 =)
s0ber_ has joined #ruby
ratanasv has joined #ruby
wolcanus_ has quit [Remote host closed the connection]
<banisterfiend> Eiam do you have really expensive apple monitors?
duggiefresh_ has quit [Client Quit]
fsck3r has joined #ruby
wolcanus_ has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 248 seconds]
s0ber_ is now known as s0ber
wolcanus has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby
Emiils has joined #ruby
ldnunes has quit [Quit: Leaving]
jocellyn has quit [Quit: Leaving.]
nowthatsamatt has quit [Quit: nowthatsamatt]
<jrobeson> Eiam, how did you integrate pry
<jrobeson> i haven't really done anything with it other than install it and use the console yet
<Eiam> jrobeson: put it in my gemfile
<Eiam> binding.pry to debug in padrino
apeiros has quit [Remote host closed the connection]
<banisterfiend> Eiam i want you to use pry-rescue
<banisterfiend> and pry-stack_explorer
wolcanus_ has quit [Ping timeout: 248 seconds]
<Eiam> stack explorer sounds good
apeiros has joined #ruby
MrThePlague has quit [Remote host closed the connection]
<Eiam> oh yes i want this
<Eiam> _
Wildhoney has joined #ruby
Emiils has quit [Ping timeout: 245 seconds]
<Eiam> banisterfiend: I used to have two 30" apple cinema displays
<Eiam> but i changed teams & left those behind
<Eiam> banisterfiend: only two of them are "expensive 27" apple displays"
lyanchih has joined #ruby
blizzow has joined #ruby
Nisstyre has quit [Quit: Leaving]
mneorr_ has quit [Remote host closed the connection]
zorg24 has joined #ruby
ratanasv has quit [Remote host closed the connection]
TheFuzzball has joined #ruby
wallerdev has quit [Quit: wallerdev]
codecop has quit [Remote host closed the connection]
jdenen has quit [Read error: Connection reset by peer]
burlyscudd has quit [Quit: Leaving.]
bronson_ has quit [Quit: bronson_]
<blizzow> I have a ruby module (sinatra) which requires a gem called rack protection. The rack protection gem has a .rb file called frame_options.rb. frame_options.rb sets some headers to disallow iframe embedding of pages served by sinatra. How can I disable the headers or de-fang the frame_options.rb?
giarc has quit [Quit: Leaving.]
bronson_ has joined #ruby
<falten> Eiam: using a macpro for >1 monitor?
<Eiam> falten: nope, imac's =)
<falten> ah
<Eiam> with SSDs
newUser1234 has joined #ruby
ratanasv has joined #ruby
<falten> I'm running external off my macbook atm, would love a second monitor to work natively :/
<Eiam> banisterfiend: hmm how do I pickup the show-stack plugin?
<Eiam> no gem
codezomb has quit [Quit: Linkinus - http://linkinus.com]
<Eiam> stack_explorer
* falten waits for egpu
syed_ has quit [Quit: Lost terminal]
<banisterfiend> Eiam: add pry-stack_explorer to your Gemfile
<Eiam> ooo pry rescue, this is like Xcode break on exception
<Eiam> love that feature too =)
Emiils has joined #ruby
fsck3r has quit [Quit: Leaving...]
cmarques has quit [Ping timeout: 240 seconds]
<Eiam> I'd love to integrate stack_explorer into padrino
<Eiam> and get the full stack in logs so we can step through user errors
slainer6_ has joined #ruby
mrsolo has quit [Quit: Leaving]
solrize_ has joined #ruby
Vivekananda has joined #ruby
mrsolo has joined #ruby
jlast has joined #ruby
<banisterfiend> Eiam do it then fren, tell me how u get on ;)
|PiP| has quit [Quit: |PiP|]
<scarolan> window 4
slainer6_ has quit [Remote host closed the connection]
gazarsgo has quit [Quit: gazarsgo]
atyz has quit [Quit: Leaving...]
newUser1234 has quit [Remote host closed the connection]
devinus has quit [Quit: devintorr.es]
infecto has joined #ruby
<infecto> anyone here live in the bay area willing to provide some career advice?
<Eiam> learn ruby!
<Eiam> =)
<Eiam> infecto: advice is worth what you pay for it, but fire away =p
<Eiam> go to Austin! its cheaper
<Eiam> okay I'm done trolling you =)
jaynewstrom has quit [Remote host closed the connection]
pkrnj has joined #ruby
greenysan has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
ratanasv has quit [Remote host closed the connection]
lyanchih has joined #ruby
ratanasv has joined #ruby
fsck3r has joined #ruby
ahg has quit [Ping timeout: 264 seconds]
fsck3r has quit [Client Quit]
c0rn has joined #ruby
lyanchih has quit [Client Quit]
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
Aloysius1 has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Quit: Leaving.]
Astralum has quit [Ping timeout: 246 seconds]
devdazed has quit [Quit: Bye]
swordsmanz has joined #ruby
endash has quit [Quit: endash]
ratanasv has quit [Remote host closed the connection]
ratanasv has joined #ruby
sporkbomb has joined #ruby
scarolan has quit [Ping timeout: 276 seconds]
mlpinit has quit [Ping timeout: 240 seconds]
zodiak has quit [Ping timeout: 276 seconds]
rhys__ has quit [Quit: Leaving]
fsck3r has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
sporkbomb has quit [Ping timeout: 240 seconds]
jsatk has joined #ruby
atyz has joined #ruby
DrCode has quit [Remote host closed the connection]
hasrb has quit [Remote host closed the connection]
DrCode has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
pipework has joined #ruby
mmitchell has quit [Remote host closed the connection]
FastestMilkman has joined #ruby
verto has quit [Quit: Textual IRC Client: www.textualapp.com]
bookmage has quit [Remote host closed the connection]
stkowski has quit [Quit: stkowski]
io_syl has quit [Quit: io_syl]
rafacv has joined #ruby
ratanasv has quit [Remote host closed the connection]
baordog has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
FastestMilkman has quit [Client Quit]
duggiefresh has joined #ruby
ratanasv-bot has joined #ruby
duggiefresh is now known as Guest13694
baroquebobcat has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
pkrnj has quit [Quit: Computer has gone to sleep.]
Wildhoney has joined #ruby
mary5030 has quit [Remote host closed the connection]
FastestMilkman has joined #ruby
rickmasta has quit [Quit: Leaving...]
Guest00000 has quit [Ping timeout: 245 seconds]
iliketur_ has quit [Quit: zzzzz…..]
iliketur_ has joined #ruby
dominikh has quit [Remote host closed the connection]
ShapeShifter499 has quit [Remote host closed the connection]
dominikh has joined #ruby
OffTheRails has joined #ruby
newUser1234 has joined #ruby
randomdrake has joined #ruby
ratanasv-bot has quit [Remote host closed the connection]
aeontech has joined #ruby
_adeponte has quit [Remote host closed the connection]
ratanasv-bot has joined #ruby
adeponte has joined #ruby
Guest13694 has quit [Quit: Guest13694]
ratanasv-bot has quit [Remote host closed the connection]
whowantstolivefo has joined #ruby
<whowantstolivefo> hi
newUser1234 has quit [Read error: Connection reset by peer]
nowthatsamatt has joined #ruby
<randomdrake> I've gone through and enjoyed TryRuby. The next tutorials in the CodeSchool line seem to be video-based, which I'm not a fan of. Can someone recommend a good next tutorial that is up to date and not video-based?
<eka> whowantstolivefo: "Highlander" 1 rules yea :)
c0rn has joined #ruby
<eka> randomdrake: code school is hands on
<whowantstolivefo> i get the following error when i type " gem install rubyfb " here is the gist, how i can fix ? https://gist.github.com/maasdesigner/6a24647
<eka> randomdrake: you see the video then you take the test
<eka> randomdrake: interactive test
ratanasv-bot has joined #ruby
arooni-mobile has quit [Read error: Connection reset by peer]
<randomdrake> eka: right, I would rather not have to listen to a video so I can go at my own pace so I was curious if there were non-video suggestions.
Ripp__ has quit [Quit: Ripp__]
pr0ggie has quit [Excess Flood]
<eka> whowantstolivefo: that gist gives me 404
pskosinski has quit [Quit: Til rivido Idisti!]
<eka> randomdrake: I liked it though
<eka> randomdrake: there are good books on it
infecto has quit [Quit: Leaving.]
<eka> randomdrake: but that depends on your taste
ericmathison has joined #ruby
<OffTheRails> randomdrake: try Eloquent Ruby
<OffTheRails> randomdrake: or.. http://rubykoans.com/
<randomdrake> OffTheRails: thanks much
<eka> whowantstolivefo: AddUser.c:28:19: fatal error: ibase.h: No such file or directory … seems that this gem depends on a library
<eka> randomdrake: Eloquent ruby as OffTheRails said is very good
<whowantstolivefo> eka: depends on a library ? how i will fix ?
Ripp__ has joined #ruby
fsck3r has quit [Quit: Leaving...]
r4nd0m1 has quit []
hiroyuki has quit [Read error: Connection reset by peer]
pel_daniel has left #ruby [#ruby]
<eka> whowantstolivefo: maybe you need to install firebird dev library?
workmad3 has joined #ruby
<whowantstolivefo> eka: let me search for firebird dev library
<eka> whowantstolivefo: maybe something like this? libfbclient2 - Firebird client library
<eka> whowantstolivefo: not sure which… you have to check that
<eka> whowantstolivefo: use apt-cache search firebird
<eka> whowantstolivefo: or maybe firebird-dev - Development files for Firebird - an RDBMS based on InterBase 6.0 code
baroquebobcat has quit [Quit: baroquebobcat]
pr0ggie has joined #ruby
<eka> whowantstolivefo: yes I think is firebird-dev
<eka> whowantstolivefo: do sudo apt-get install firebird-dev
<eka> and try again with the gom
<eka> *gem
ratanasv-bot has quit [Remote host closed the connection]
caju has joined #ruby
<whowantstolivefo> im doing
ratanasv-bot has joined #ruby
sporkbomb has joined #ruby
baroquebobcat has joined #ruby
<whowantstolivefo> eka: failed https://gist.github.com/maasdesigner/6324700
cajueiro has joined #ruby
caju has quit [Read error: Connection reset by peer]
amacgregor_ has quit [Read error: Connection reset by peer]
lotherk has joined #ruby
lotherk has left #ruby [#ruby]
Speed has joined #ruby
atyz has quit [Quit: Leaving...]
endash has joined #ruby
gemmy has quit [Read error: Connection reset by peer]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby
ratanasv-bot has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
scarolan has joined #ruby
emanu has joined #ruby
endash has quit [Client Quit]
ShapeShifter499 has joined #ruby
Nisstyre has joined #ruby
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
MrZYX|off is now known as MrZYX
arooni-mobile has joined #ruby
ratanasv-bot has joined #ruby
JadedEvan has quit [Quit: This computer has gone to sleep]
gemmy has joined #ruby
mansi has quit [Remote host closed the connection]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mansi has joined #ruby
ffranz has quit [Ping timeout: 245 seconds]
_maes_ has joined #ruby
rickmasta has joined #ruby
jlast has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
dodosan has joined #ruby
greenysan has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
jsatk has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
greenysan has quit [Ping timeout: 264 seconds]
_maes_ has quit [Ping timeout: 245 seconds]
cj3kim has joined #ruby
ffranz has joined #ruby
whowantstolivefo has quit [Quit: whowantstolivefo]
ffranz has quit [Read error: Connection reset by peer]
JadedEvan has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
zorg24 has quit [Ping timeout: 240 seconds]
FastestMilkman has quit [Quit: FastestMilkman]
pygospa has quit [Read error: Operation timed out]
anonymuse has quit [Remote host closed the connection]
snearch has quit [Quit: Verlassend]
pygospa has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
greenysan has joined #ruby
brennanMKE has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
rcosta has joined #ruby
baroquebobcat has joined #ruby
newUser1234 has joined #ruby
baroquebobcat has quit [Client Quit]
workmad3 has quit [Ping timeout: 248 seconds]
randomdrake has left #ruby [#ruby]
timonv has joined #ruby
greenysan has quit [Ping timeout: 260 seconds]
_honning_ has quit [Ping timeout: 256 seconds]
fixl has joined #ruby
newUser1234 has quit [Ping timeout: 240 seconds]
rcosta has quit [Remote host closed the connection]
snovak has quit [Remote host closed the connection]
zets has quit [Ping timeout: 264 seconds]
gildo has joined #ruby
mlpinit has joined #ruby
gazarsgo has joined #ruby
gazarsgo has quit [Client Quit]
timonv has quit [Remote host closed the connection]
Ziarkaen has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
S0da has joined #ruby
mlpinit has quit [Ping timeout: 264 seconds]
ndrei has joined #ruby
<Ziarkaen> Is there a shortcut to f { |x| g(x) } ?
emanu has quit [Quit: emanu]
infecto has joined #ruby
io_syl has joined #ruby
zodiak has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
Guest00000 has joined #ruby
jefflyne has joined #ruby
<infecto> What does pay look like for entry level web developer in Bay area?
zodiak has quit [Max SendQ exceeded]
zodiak has joined #ruby
tvw has quit []
<MrZYX> Ziarkaen: no really clean one: f(&method(:g))
ratanasv-bot has quit [Remote host closed the connection]
<MrZYX> I prefer writing it out
<eka> explicit is better than implicit
ratanasv-bot has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
emergion has joined #ruby
<pipework> eka: This ain't python! Metabrogram all the things.
<pipework> See PiFS
<eka> lol
<eka> PiFS?
gemmy has quit [Quit: leaving]
emanu has joined #ruby
Guest00000 has quit [Ping timeout: 256 seconds]
ratanasv-bot has quit [Remote host closed the connection]
ratanasv-bot has joined #ruby
ratanasv-bot has quit [Remote host closed the connection]
pitzips has quit [Ping timeout: 245 seconds]
<bronson_> Dangit, File.join and Pathname.join behave differently.
<bronson_> WHY???
<shevy> eka well, ruby omits things too, all syntax sugar for instance
<shevy> what I hate in python is that you need to tell python what self is
qhartman has quit [Remote host closed the connection]
<shevy> bronson_, dunno, I hate Pathname though
<bronson_> Agreed. It's a shame that Rails uses it everywhere.
i_s has quit [Remote host closed the connection]
<MrZYX> what's wrong with pathname?
ephemerian has left #ruby [#ruby]
lucazi has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
sparq_ has joined #ruby
ratanasv-bot has joined #ruby
mercwithamouth has joined #ruby
realDAB has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
emergion has quit [Quit: Computer has gone to sleep.]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
shadoi has quit [Quit: Leaving.]
Davey has quit [Quit: Computer has gone to sleep.]
tyfighter has joined #ruby
rickmasta has quit [Quit: Leaving...]
predator117 has joined #ruby
realDAB has quit [Client Quit]
snovak has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
gazarsgo has joined #ruby
mbreedlove has quit [Quit: Konversation terminated!]
rupee has quit [Quit: Leaving]
mrsolo has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<gazarsgo> how do i get HTTParty to respect UTF-8 BOM for xml documents ?
<gazarsgo> i don't really want it to parse at all …
s2013 has quit [Read error: Connection reset by peer]
predator217 has quit [Ping timeout: 276 seconds]
snovak has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
s2013 has joined #ruby
|PiP| has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
rickmasta has joined #ruby
jp- has joined #ruby
<shevy> MrZYX it's extremely verbose and not needed on linux
<MrZYX> path.join('foo').exist? is more verbose than File.exist?(File.join(path, 'foo)) ?
pipework has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 240 seconds]
kvirani has quit [Remote host closed the connection]
Wildhoney has joined #ruby
kvirani has joined #ruby
<bronson_> MrZYX: Pathname doesn't work the same as File.
atyz has joined #ruby
<bronson_> Just cost me 2 hours tracking down an obscure problem.
<bronson_> Turns out Pathname.join and File.join disagree.