apeiros changed the topic of #ruby-lang to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
ffmegama_ has quit [Remote host closed the connection]
migbar has quit [Ping timeout: 245 seconds]
mistym has joined #ruby-lang
migbar has joined #ruby-lang
moogs has joined #ruby-lang
chills42 has joined #ruby-lang
ikrima has joined #ruby-lang
tkuchiki has joined #ruby-lang
Phrogz_ has joined #ruby-lang
moogs has quit [Remote host closed the connection]
chills42 has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 245 seconds]
ffmegaman has joined #ruby-lang
ap4y has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
spastorino has joined #ruby-lang
daemien has joined #ruby-lang
daemien has left #ruby-lang [#ruby-lang]
Phrogz_ is now known as Phrogz
seamon has quit [Quit: Zzzzzzz]
torrieri has quit [Quit: Leaving...]
torrieri has joined #ruby-lang
pr0ton has joined #ruby-lang
marr has quit [Ping timeout: 250 seconds]
houhoulis has quit [Remote host closed the connection]
bsvineet_ has joined #ruby-lang
bsvineet_ has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
houhoulis has joined #ruby-lang
Phrogz has quit [Remote host closed the connection]
Averna has joined #ruby-lang
mistym_ has joined #ruby-lang
pr0ton has quit [Ping timeout: 245 seconds]
mistym has quit [Ping timeout: 246 seconds]
lewix has joined #ruby-lang
pr0ton has joined #ruby-lang
mistym_ is now known as mistym
tectonic has quit []
amclain has quit [Quit: Leaving]
pr0ton has quit [Ping timeout: 240 seconds]
migbar has joined #ruby-lang
mistym_ has joined #ruby-lang
mistym has quit [Ping timeout: 260 seconds]
pr0ton has joined #ruby-lang
mistym_ is now known as mistym
migbar has quit [Ping timeout: 250 seconds]
pr0ton has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby-lang
pr0ton has joined #ruby-lang
unlikely_monkey has joined #ruby-lang
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
kgrz has joined #ruby-lang
skammer3 has quit [Ping timeout: 250 seconds]
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
seanosaur has joined #ruby-lang
unlikely_monkey has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
joast has joined #ruby-lang
seanosaur has quit [Client Quit]
dagda1 has quit [Ping timeout: 250 seconds]
mistym has quit [Ping timeout: 245 seconds]
dagda1 has joined #ruby-lang
Miphix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
charliesome has joined #ruby-lang
Phrogz_ has joined #ruby-lang
Phrogz_ is now known as Phrogz
charliesome has quit [Client Quit]
pr0ton has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
red_menace has quit [Quit: peer reset by connection]
migbar has joined #ruby-lang
justinmburrous has quit [Ping timeout: 250 seconds]
snsei has quit [Ping timeout: 272 seconds]
justinmburrous has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
snsei has joined #ruby-lang
migbar has quit [Ping timeout: 258 seconds]
unlikely_monkey has joined #ruby-lang
symm- has joined #ruby-lang
stevenkuhn has joined #ruby-lang
charliesome has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
migbar has joined #ruby-lang
skammer3 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
bsvineeth has joined #ruby-lang
skammer3 has quit [Ping timeout: 250 seconds]
stevenkuhn has quit [Quit: stevenkuhn]
unlikely_monkey has quit [Remote host closed the connection]
migbar has quit [Ping timeout: 245 seconds]
konr has quit [Quit: Connection closed for inactivity]
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
Phrogz has quit [Remote host closed the connection]
snsei has quit [Ping timeout: 260 seconds]
yatish27 has quit [Ping timeout: 260 seconds]
bantic has quit [Quit: bantic]
pr0ton has quit [Quit: pr0ton]
bsvineeth has quit [Remote host closed the connection]
tectonic has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 250 seconds]
tectonic has quit []
_rgn has quit [Ping timeout: 240 seconds]
ffmegaman has quit [Remote host closed the connection]
Phrogz_ has joined #ruby-lang
justinmburrous has joined #ruby-lang
Phrogz_ has quit [Read error: Connection reset by peer]
Phrogz_ has joined #ruby-lang
Phrogz_ has joined #ruby-lang
Phrogz_ is now known as Phrogz
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
thomasxie has joined #ruby-lang
Phrogz has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 250 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
SuMo_D has quit [Ping timeout: 260 seconds]
torrieri has quit [Quit: Leaving...]
Phrogz_ has joined #ruby-lang
Phrogz_ is now known as Phrogz
duper has quit [Remote host closed the connection]
duper has joined #ruby-lang
skammer3 has joined #ruby-lang
torrieri has joined #ruby-lang
torrieri has quit [Read error: Connection reset by peer]
torrieri has joined #ruby-lang
migbar has joined #ruby-lang
torrieri has quit [Ping timeout: 260 seconds]
skammer3 has quit [Ping timeout: 272 seconds]
crackity_jones has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
_rgn has joined #ruby-lang
migbar has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
gianlucadv has joined #ruby-lang
ap4y` has joined #ruby-lang
bsvineeth has joined #ruby-lang
ap4y has quit [Ping timeout: 246 seconds]
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 260 seconds]
ffmegaman has joined #ruby-lang
Phrogz has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
snsei has joined #ruby-lang
ap4y` has quit [Ping timeout: 245 seconds]
gix- has quit [Ping timeout: 246 seconds]
slimjims has joined #ruby-lang
apeiros_ has joined #ruby-lang
torrieri has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
gix has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
stevenkuhn has joined #ruby-lang
tectonic has joined #ruby-lang
klmlfl has joined #ruby-lang
koderok has joined #ruby-lang
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
koderok has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
skammer3 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
thomasxie has quit [Ping timeout: 250 seconds]
skammer3 has quit [Ping timeout: 245 seconds]
migbar has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
<slimjims> Hey guys, when I run the following program I get an error
<slimjims> Is the error
<slimjims> Can someone help me out?
Raynes has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
mistym has joined #ruby-lang
snsei has quit [Ping timeout: 260 seconds]
migbar has quit [Ping timeout: 244 seconds]
yatish27 has joined #ruby-lang
justinmburrous has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
stevenkuhn has quit [Quit: stevenkuhn]
gianlucadv has quit [Ping timeout: 246 seconds]
nofxx_ has quit [Ping timeout: 246 seconds]
snsei has joined #ruby-lang
justinmburrous has quit [Ping timeout: 272 seconds]
kyb3r_ has joined #ruby-lang
<slimjims> https://gist.github.com/anonymous/a9fe1c2c200c1a4c90a7 : how do I deal with this error guys?
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
nofxx_ has joined #ruby-lang
thomasxie has joined #ruby-lang
SuMo_D has quit [Ping timeout: 272 seconds]
harly_ has joined #ruby-lang
harly has quit [Ping timeout: 250 seconds]
kyb3r_ has quit [Ping timeout: 258 seconds]
justinmburrous has joined #ruby-lang
kyb3r_ has joined #ruby-lang
justinmb_ has joined #ruby-lang
<bnagy> nice username / password
havenwood has joined #ruby-lang
justinmburrous has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 250 seconds]
<slimjims> lol
<slimjims> hehe
<slimjims> bnagy, any ideaas
<slimjims> ?
<bnagy> looks to me like you're doing dodgy shit
<slimjims> huh?
<slimjims> naw, I'm trying to install apps on FB with a script :)
miqui has quit [Remote host closed the connection]
<bnagy> and then like them? Yes nothing dodgy about that at all.
<slimjims> it's for research, so not in the least.
fragamus has joined #ruby-lang
<bnagy> hahah
tylersmith has quit [Remote host closed the connection]
<slimjims> Anyhow, you got any ideas on the error or how to fix it?
tylersmith has joined #ruby-lang
Meta5 has joined #ruby-lang
<bnagy> it looks self explanatory
<bnagy> although the line number doesn't match
<slimjims> yeah, I'm a ruby newb . I'm really not sure how to use it
<bnagy> don't try to call #split on nil. Make sure elements exist before you work with them.
<bnagy> maybe you should try to learn the basic before you work with other people's code
<slimjims> I know, I'm just on a very short deadline :/
<bnagy> well suck it up, princess
<slimjims> :( ok, i'll give it another shot
tylersmith has quit [Ping timeout: 260 seconds]
Meta5 has quit [Client Quit]
shubhamgoyal has quit [Remote host closed the connection]
skammer3 has joined #ruby-lang
symm- has joined #ruby-lang
snsei has quit [Remote host closed the connection]
fragamus has quit [Quit: Computer has gone to sleep.]
emmesswhy has quit [Quit: emmesswhy]
slimjims has quit [Quit: Leaving]
emmesswhy has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
wkoch1 has quit [Quit: wkoch1]
bsvineeth has joined #ruby-lang
skammer3 has quit [Ping timeout: 260 seconds]
ffmegaman has quit [Remote host closed the connection]
ffmegaman has joined #ruby-lang
bsvineet_ has joined #ruby-lang
bsvineeth has quit [Ping timeout: 260 seconds]
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
migbar has joined #ruby-lang
ffmegaman has quit [Ping timeout: 260 seconds]
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
fragamus has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
migbar has quit [Ping timeout: 260 seconds]
lezou has joined #ruby-lang
<lezou> hi
lezou has quit [Client Quit]
thomasxie has quit [Quit: Leaving.]
_ht has joined #ruby-lang
thomasxie has joined #ruby-lang
bsvineet_ has quit [Ping timeout: 246 seconds]
bsvineeth has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
SuMo_D has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
kimegede has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
tectonic has quit []
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
AKASkip has joined #ruby-lang
apeiros has quit [Ping timeout: 245 seconds]
bsvineeth has quit [Ping timeout: 245 seconds]
bsvineeth has joined #ruby-lang
postmodern has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
[spoiler] has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
mofai has quit [Quit: Leaving...]
SuMo_D has quit [Ping timeout: 260 seconds]
klmlfl has quit [Remote host closed the connection]
fragamus has quit [Quit: Computer has gone to sleep.]
klmlfl has joined #ruby-lang
mofai has joined #ruby-lang
AKASkip has quit [Ping timeout: 258 seconds]
klmlfl has quit [Remote host closed the connection]
skammer3 has joined #ruby-lang
charliesome has quit [Quit: zzz]
emmesswhy has quit [Quit: Leaving]
lewix has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
lewix has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
skammer3 has quit [Ping timeout: 272 seconds]
ocdmw has joined #ruby-lang
valeri_ufo has quit [Read error: Connection reset by peer]
valeri_ufo has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
migbar has joined #ruby-lang
migbar has quit [Ping timeout: 245 seconds]
AKASkip has joined #ruby-lang
unclaimedbaggage has joined #ruby-lang
hellangel7 has joined #ruby-lang
AlJaMa has quit [Quit: No Ping reply in 180 seconds.]
AlJaMa has joined #ruby-lang
unclaimedbaggage has quit [Quit: unclaimedbaggage]
solars has joined #ruby-lang
kimegede has left #ruby-lang ["Linkinus - http://linkinus.com"]
kgrz has quit [Remote host closed the connection]
justinmb_ has quit [Remote host closed the connection]
ffmegaman has joined #ruby-lang
justinmburrous has joined #ruby-lang
katmutua has joined #ruby-lang
havenwood has quit []
ffmegaman has quit [Ping timeout: 272 seconds]
benlovell has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
pr0ton has joined #ruby-lang
mistym has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
kgrz has joined #ruby-lang
skammer3 has joined #ruby-lang
thomasxie has quit [Remote host closed the connection]
skammer3 has quit [Ping timeout: 250 seconds]
marr has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
ta has joined #ruby-lang
michd is now known as MichD
bsvineeth has joined #ruby-lang
katmutua has quit [Ping timeout: 272 seconds]
bsvineeth has quit [Ping timeout: 246 seconds]
migbar has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
ffmegaman has joined #ruby-lang
justinmburrous has joined #ruby-lang
unclaimedbaggage has joined #ruby-lang
ffmegaman has quit [Ping timeout: 272 seconds]
justinmburrous has quit [Ping timeout: 260 seconds]
JaReAx has joined #ruby-lang
migbar has quit [Ping timeout: 258 seconds]
Gu_______ has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
elia has joined #ruby-lang
sepp2k has joined #ruby-lang
relix has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
klmlfl has quit [Remote host closed the connection]
banister_ has joined #ruby-lang
oleo has joined #ruby-lang
nofxx_ has quit [Ping timeout: 245 seconds]
banister has quit [Ping timeout: 240 seconds]
skammer3 has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.3]
dagda1 has joined #ruby-lang
charliesome has quit [Quit: zzz]
skammer3 has quit [Ping timeout: 258 seconds]
mikecmpbll has joined #ruby-lang
Gu_______ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yorickpeterse> morning kids
thomasxie has joined #ruby-lang
GBrawl has joined #ruby-lang
<oddmunds> morning
apeiros has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
Gu_______ has joined #ruby-lang
ffmegaman has joined #ruby-lang
migbar has joined #ruby-lang
ruskie has quit [Ping timeout: 246 seconds]
ffmegaman has quit [Ping timeout: 260 seconds]
skade has joined #ruby-lang
migbar has quit [Ping timeout: 245 seconds]
stamina has joined #ruby-lang
Iskarlar has joined #ruby-lang
thomasxie has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
t_ has quit [Ping timeout: 244 seconds]
thomasxie has joined #ruby-lang
t_ has joined #ruby-lang
JaRe_Ax has joined #ruby-lang
JaReAx has quit [Ping timeout: 260 seconds]
JaRe_Ax is now known as JaReAx
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
justinmburrous has joined #ruby-lang
thomasxie has quit [Read error: Connection reset by peer]
Averna has quit [Quit: Leaving.]
thomasxie has joined #ruby-lang
ggherdov___ has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
justinmburrous has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby-lang
Iskarlar has joined #ruby-lang
unclaimedbaggage has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby-lang
workmad3 has joined #ruby-lang
skammer3 has joined #ruby-lang
dangerousdave has quit [Client Quit]
skammer3 has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby-lang
jds has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bsvineeth has quit [Remote host closed the connection]
ta has quit [Ping timeout: 244 seconds]
qba73 has quit [Remote host closed the connection]
migbar has joined #ruby-lang
ta has joined #ruby-lang
yatish27 has joined #ruby-lang
jhass is now known as jhass|off
qba73 has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby-lang
dangerousdave has joined #ruby-lang
yatish27 has quit [Ping timeout: 244 seconds]
skammer3 has joined #ruby-lang
migbar has quit [Ping timeout: 250 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
skammer3 has quit [Ping timeout: 272 seconds]
faces has joined #ruby-lang
face has quit [Ping timeout: 246 seconds]
AKASkip1 has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AKASkip has quit [Ping timeout: 260 seconds]
GBrawl_ has joined #ruby-lang
GBrawl has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
qba73 has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
qba73 has joined #ruby-lang
bsvineeth has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
FiXato has quit [Remote host closed the connection]
bsvineeth has joined #ruby-lang
hahuang65 has joined #ruby-lang
FiXato has joined #ruby-lang
hahuang65 has quit [Ping timeout: 260 seconds]
FiXato has quit [Read error: Connection reset by peer]
qba73 has quit [Remote host closed the connection]
FiXato has joined #ruby-lang
qba73 has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qba73 has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
shubhamg_ has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby-lang
unclaimedbaggage has joined #ruby-lang
chills42 has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
Iskarlar has joined #ruby-lang
migbar has joined #ruby-lang
Gu_______ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shubhamg_ has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
x0f has joined #ruby-lang
micaeked has quit [Quit: WeeChat 1.0]
migbar has quit [Ping timeout: 250 seconds]
Forgetful_Lion has joined #ruby-lang
shubhamgoyal has quit [Ping timeout: 258 seconds]
nofxx_ has joined #ruby-lang
nofxx_ has joined #ruby-lang
frank_o has joined #ruby-lang
x0f_ has quit [Ping timeout: 250 seconds]
unclaimedbaggage has quit [Ping timeout: 250 seconds]
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
hellangel7 has quit [Ping timeout: 250 seconds]
banister has joined #ruby-lang
skammer3 has joined #ruby-lang
Guest____ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tkuchiki has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
elia has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
GBrawl_ has quit [Quit: Computer has gone to sleep.]
bruno- has quit [Quit: Lost terminal]
dangerousdave has joined #ruby-lang
helgeblod has joined #ruby-lang
Guest____ has quit [Quit: Textual IRC Client: www.textualapp.com]
emrox has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ikrima has quit [Ping timeout: 244 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maloik> Anyone here use prawn quite often? I'm trying to figure out what the easiest way is to inline a small image (icon)
<maloik> I basically have a centered piece of text, which I want to prepend with the twitter logo
tkuchiki has joined #ruby-lang
migbar has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
kuanyui has joined #ruby-lang
kuanyui has left #ruby-lang [#ruby-lang]
migbar_ has joined #ruby-lang
migbar has quit [Read error: Connection reset by peer]
dabradley has quit [Ping timeout: 260 seconds]
unclaimedbaggage has joined #ruby-lang
<maloik> will crosspost to ror channel, perhaps has more success there
dabradley has joined #ruby-lang
justinmburrous has joined #ruby-lang
araujo has joined #ruby-lang
araujo has joined #ruby-lang
elia has quit [Quit: (IRC Client: textualapp.com)]
justinmburrous has quit [Ping timeout: 245 seconds]
SuMo_D has joined #ruby-lang
tkuchiki has joined #ruby-lang
tbuehlmann has joined #ruby-lang
klmlfl has joined #ruby-lang
malconis has joined #ruby-lang
marr has quit [Remote host closed the connection]
marr has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
<[spoiler]> maloik, never used prawn
yfeldblum has joined #ruby-lang
charliesome has quit [Quit: zzz]
shinnya has joined #ruby-lang
charliesome has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
t4nk456 has joined #ruby-lang
<t4nk456> Why does this return an array? It is supposed to add the numbers together. http://pastebin.com/d917RAQ2
<yorickpeterse> because n is an array in that method
<yorickpeterse> also you're doing the-same-array + the-same-array
<certainty> t4nk456: you're declaring that add accepts a variable number of arguments. those will be bound to the variable n in the method's body
<yorickpeterse> >> def foo(*n); n + n; end; foo(10, 20)
<eval-in_> yorickpeterse => [10, 20, 10, 20] (https://eval.in/199908)
<certainty> too slow :(
<yorickpeterse> >> def foo(a, b); a + b; end; foo(10, 20)
<eval-in_> yorickpeterse => 30 (https://eval.in/199909)
<yorickpeterse> >> def foo(*n); n.inject(:+); end; foo(10, 20)
<eval-in_> yorickpeterse => 30 (https://eval.in/199910)
<yorickpeterse> >> def foo(*n); n; end; foo(10, 20)
<eval-in_> yorickpeterse => [10, 20] (https://eval.in/199911)
vladgh has quit [Quit: Lost terminal]
<yorickpeterse> *n is a splat argument, it gobbles up all the remaining arguments into an array
Iskarlar has joined #ruby-lang
frank_o has quit [Ping timeout: 272 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
<t4nk456> Alright. I suppose that makes sense.
<t4nk456> Thanks
miqui has joined #ruby-lang
_rgn has quit [Ping timeout: 246 seconds]
symm- has quit [Ping timeout: 260 seconds]
wkoch has joined #ruby-lang
jgpawletko has joined #ruby-lang
<TTilus> a gem failed to install and i'd like to uninstall it, but `gem uninstall gemname` says i dont have it installed
<apeiros> if it failed to install, it's not installed
<TTilus> and there seems to be no --also-purge-partially-installed style flags
<TTilus> apeiros: and i manually need to delete all the cruft that the failed install left behind?
workmad3 has joined #ruby-lang
<apeiros> ah, that's your issue. I think there's a command. but I don't know it. check `gem help commands?
<apeiros> s/?/`/
<TTilus> alreadyd did, i'll redo
Hanmac has quit [Ping timeout: 260 seconds]
<TTilus> d'oh
<TTilus> nothing found
chills42 has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
t4nk456 has quit [Ping timeout: 246 seconds]
chills42 has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
yfeldblu_ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
wkoch has quit [Ping timeout: 272 seconds]
hellangel7 has joined #ruby-lang
banister has joined #ruby-lang
lewix has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
banister has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 245 seconds]
banister has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 272 seconds]
banister has quit [Read error: Connection reset by peer]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
banister has joined #ruby-lang
rsl has joined #ruby-lang
<TTilus> gem update --system && bundle update ZenTest && gem uninstall ZenTest -v 4.9.5 worked
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
<TTilus> now im not getting a bunch of "Illformed requirement" complaints from ZenTest-4.9.5.gemspec on all gem invocations
Hanmac has joined #ruby-lang
justinmburrous has joined #ruby-lang
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
justinmburrous has quit [Ping timeout: 260 seconds]
_rgn has joined #ruby-lang
beseku has joined #ruby-lang
danromano has joined #ruby-lang
jxie_ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
ldnunes has joined #ruby-lang
<workmad3> TTilus: try running 'gem pristine --all'
jxie has quit [Ping timeout: 240 seconds]
[spoiler] has quit [Remote host closed the connection]
SkramX has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
unclaimedbaggage has quit [Quit: unclaimedbaggage]
<TTilus> workmad3: that bundle update + uninstall already did the trick
<TTilus> workmad3: i guess it was old gem that caused the problem in the first place
unclaimedbaggage has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
<TTilus> workmad3: need to remember pristine for next time
<workmad3> TTilus: there were some changes internally to rubygems recently (last year or so)... 'gem pristine --all' essentially re-installs all the gems in your gem repo, making sure any new internal structuring is applied
<workmad3> TTilus: the warnings you got are fairly typical of gems from prior to that update being stuck in the repo :)
FiXato has quit [Quit: Quit my IRC client. I'll probably be back soon after a restart of it.]
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
jhass|off is now known as jhass
wkoch has joined #ruby-lang
ffmegaman has joined #ruby-lang
chills42 has joined #ruby-lang
helgeblod has quit [Remote host closed the connection]
<yorickpeterse> man, I should make a sport out of hiding from camera
<yorickpeterse> Baruco highlights video, features the restaurant I was having food, focusing on the area I was sitting
thomasxie has quit [Quit: Leaving.]
<yorickpeterse> I'm conveniently hidden
ffmegaman has quit [Ping timeout: 244 seconds]
FiXato has joined #ruby-lang
* yorickpeterse mumbles something about "I am the night"
hellangel7 has joined #ruby-lang
<wnd> I'm almost posting a link to a YouTube video of an 80s-style synth album called "I am the night"
<yorickpeterse> post it
btiefert has quit [Read error: Connection reset by peer]
<yorickpeterse> 80s synth is always good
<yorickpeterse> (usually)
hellangel7 has quit [Max SendQ exceeded]
<yorickpeterse> Ha, Pertubator
<yorickpeterse> * Perturbator
<yorickpeterse> fkn name
<wnd> parts of it strongly remind me of alien breed 3d
<yorickpeterse> wnd: familiar with Dance with the dead?
<wnd> I am now
<wnd> or will be, rather
unclaimedbaggage has quit [Quit: unclaimedbaggage]
yfeldblum has joined #ruby-lang
luiz_lha has joined #ruby-lang
whippythellama has joined #ruby-lang
<yorickpeterse> heh
<yorickpeterse> They make good stuff, their albums are well worth the buy (only like 5 bucks or something)
unclaimedbaggage has joined #ruby-lang
<yorickpeterse> SSSSHHHHHIIIII new album
<yorickpeterse> I did not know that
unclaimedbaggage has quit [Client Quit]
<wnd> yup, listening to it right now
<yorickpeterse> Into the Abyss is really good
<yorickpeterse> has some really nice guitar stuff
<yorickpeterse> OAHASHDAJKSDH!@(*#U!@#
<yorickpeterse> I came
<yorickpeterse> (figuretively)
symm- has joined #ruby-lang
<yorickpeterse> wnd: Lazerhawk is also really good
unclaimedbaggage has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
<yorickpeterse> oh and Kavinsky of course, though I figure he's a bit more well known
* yorickpeterse is a total synth nerd
<wnd> I haven't come across any of these before
<wnd> I'm still stuck with my Synthesizer Greatest tapes ;-)
<yorickpeterse> heh
<yorickpeterse> patience young grasshopper, soon you'll learn the way of the synth and mullet
<yorickpeterse> shit, I didn't bring my phone cabel. That means I can't listen to this on my way home :<
<yorickpeterse> * cable
<wnd> Oh the "good" old times. I'd have to make a copy of vol 2 so that the original would last longer. It would take quite a few turns of the cassette to get through the day.
<wnd> this stuff is great
<wnd> not that I was getting bored with beben's tetris, dream theatre and muse, but it's good to have something else too
snsei has joined #ruby-lang
<yorickpeterse> meh, muse
<surrounder> yay, dream theater
<yorickpeterse> last time I listened to Dream Theater I was having my goth/rocker period
<yorickpeterse> which was like, a whopping 8 years ago I think
<wnd> I discovered both maybe just a year ago
centrx has joined #ruby-lang
<yorickpeterse> pfffft, youngsters
<surrounder> discovered dream theater 14 years ago I think
<surrounder> something like that
<workmad3> surrounder: same here, by browsing my brother's fairly comprehensive MP3 collection... then 'rediscovered' them a couple of years back after playing Guitar Hero :)
<surrounder> haha nice
<wnd> I didn't really listen to any non-synth stuff until this millenium. Before that it was pretty much just Alphaville and Synthesizer greatest. And 8-bit home computers, namely C64, obviously.
justinmburrous has joined #ruby-lang
<workmad3> I mostly listen to rock & metal stuff... not particularly fond of things like dance or trance music
apeiros has quit [Ping timeout: 245 seconds]
<wnd> I think I first came across Muse when I was going through HVSC and heard Hysteria. Had to search teh Internet for moar. Dream ThreatER probably came from a link on IRC. Good thing it did.
<wnd> Now I listen to almost anything except some experimental jazz (when I can't really hear any melody whatsoever) and opera with "fat ladies" with a voice too loud and at the really high notes
<yorickpeterse> I went from rock to metal, to white guy's rap, to house. Now I listen to jazz, instrumental (mostly piano), house, techno, electro, hip hop (mostly more Asian oriented hip hop) and a whole bunch of other things
<surrounder> workmad3: aye, 8 years ago or so I started to appreciate some electronic stuff too
<workmad3> wnd: how about operatic/melodic metal? :)
<yorickpeterse> basically if you grep this channel's logs for my conversations with matti you'll find what I listen to :P
<wnd> workmad3, sure
justinmburrous has quit [Ping timeout: 272 seconds]
<wnd> yorickpeterse, I've noticed ;-)
<workmad3> wnd: was just curious as you don't listen to opera, and a lot of operatic metal is sung by opera singers and hits some of the high ranges :)
snsei has quit [Remote host closed the connection]
<workmad3> (I don't listen to opera either... but not for those reasons :) )
<wnd> yeah, but melodic metal has other stuff as well
snsei has joined #ruby-lang
<wnd> opera sometimes has too much emphasis on that one single thing
<yorickpeterse> lemme just dump some shit here
<wnd> for example, I did like Nightiwish's older stuff and Tarja's vocals that otherwise would not exactly please me
<yorickpeterse> dat youtube dump
<workmad3> wnd: I'm quite fond of 'Over the Hills' by Nightwish :)
<wnd> (of course, the older stuff isn't that symphonic but the vocals are "operatic")
<wnd> operish?-)
<workmad3> I'd go operatic
<surrounder> heh I only liked Oceanborn really
<surrounder> at least that was still somewhat powermetal
<workmad3> wnd: a quick check of 'operatic' reckons it can be used to mean 'relating to or characteristic of opera'
AlJaMa has quit [Quit: No Ping reply in 180 seconds.]
AlJaMa has joined #ruby-lang
<whitequark> workmad3: oh yes that song is great
snsei has quit [Ping timeout: 272 seconds]
<whitequark> the 'old' version especially
snsei has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
AKASkip1 has quit [Ping timeout: 240 seconds]
dagda1 has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
dagda1 has joined #ruby-lang
ffmegaman has joined #ruby-lang
skammer3 has quit [Ping timeout: 272 seconds]
skammer3 has joined #ruby-lang
bsvineeth has quit [Remote host closed the connection]
cmhobbs has joined #ruby-lang
bradcliffe has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
GBrawl__ has joined #ruby-lang
yfeldblum has joined #ruby-lang
ffmegaman has quit [Ping timeout: 260 seconds]
jo__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
apeiros has joined #ruby-lang
unclaimedbaggage has quit [Quit: unclaimedbaggage]
mkaesz has quit [Remote host closed the connection]
GBrawl__ has quit [Quit: Computer has gone to sleep.]
tkuchiki has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
unclaimedbaggage has joined #ruby-lang
mkaesz has quit [Ping timeout: 258 seconds]
GBrawl__ has joined #ruby-lang
solars has quit [Ping timeout: 272 seconds]
yalue has joined #ruby-lang
dwknoxy has joined #ruby-lang
|jemc| has joined #ruby-lang
Iskarlar has joined #ruby-lang
tkuchiki has joined #ruby-lang
dangerousdave has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
cmhobbs has quit [Ping timeout: 240 seconds]
imkmf has joined #ruby-lang
mistym has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby-lang
dangerousdave has joined #ruby-lang
cmhobbs has joined #ruby-lang
yfeldblum has joined #ruby-lang
ffmegaman has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
unclaimedbaggage has quit [Quit: unclaimedbaggage]
__butch__ has joined #ruby-lang
benlovell has joined #ruby-lang
benlovell has quit [Ping timeout: 246 seconds]
relix has joined #ruby-lang
wallerdev has joined #ruby-lang
Demannu has joined #ruby-lang
<Demannu> Afternoon Ruby
hramrach_ has quit [Remote host closed the connection]
<Demannu> I've been scratching my head on this for a few now. Figured I need an extra set of eyes. https://gist.github.com/Demannu/1ae5d7137ba957219ef6
hramrach_ has joined #ruby-lang
<Demannu> The issue is my final return is always nil, even though it should be appending the string to say at least something
skade has quit [Quit: Computer has gone to sleep.]
<tbuehlmann> Demannu, your last expression is puts, which will return nil
<canton7> Demannu, what does 'puts foo' return?
<canton7> damn spoiled it :P
shinnya has quit [Ping timeout: 245 seconds]
aphex80 has joined #ruby-lang
<Demannu> Oh man, prior to my condensing I had it return something but for some reason in my drunked stupor last night I decided puts was better. Let me give that a shot, I appreciate it guys
<Demannu> Welp, that has me returning. Back to figuring out my strings :)
beseku has quit [Quit: Lingo - http://www.lingoirc.com]
<Demannu> I know it won't work as intended right now, I had been stuck on that and done a little bit of damage to my code ;)
stevenkuhn has joined #ruby-lang
stevenkuhn has quit [Client Quit]
<Demannu> So to help me understand, puts is basically an echo out. Probably shouldn't use that for too much aside from console logging correct?
<Demannu> I should stick to return for well.. returning data from methods?
bungoman has joined #ruby-lang
<aphex80> Hello, does anyone know about this behavior? https://gist.github.com/anonymous/d69ecaff428c402672bf
imkmf_ has joined #ruby-lang
<Demannu> Also, I was asked on exercism.io why I was using a class instead of a module. Is there any reason not to use a class or vice versa?
chills42 has quit [Remote host closed the connection]
luiz_lha has quit [Read error: Connection reset by peer]
imkmf has quit [Ping timeout: 258 seconds]
luiz_lha has joined #ruby-lang
<tbuehlmann> aphex80, (hash["test"] ||= 0) returns 0, and 0 += 10 doesn't make sense
<whitequark> you use a class if you want to make instances
<whitequark> you use a module if you 1) want to include it somewhere 2) just want namespacing
chills42 has joined #ruby-lang
charliesome has quit [Quit: zzz]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aphex80> Thanks tbuehlmann, it makes sense now. Any idea how to write it in one line? I mean set the key to 0 and then accumulate
<Demannu> whitequark: Fair enough, so I should be using modules for this purpose. Thanks
thomasxie has joined #ruby-lang
luiz_lha has quit [Max SendQ exceeded]
justinmburrous has joined #ruby-lang
luiz_lha has joined #ruby-lang
amsi has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
<tbuehlmann> aphex80, depends. shall 0 be the default for all keys or just for 'test'?
bungoman has quit []
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
banister has quit [Ping timeout: 245 seconds]
<aphex80> tbuehlmann, for all keys
banister has joined #ruby-lang
luiz_lha has quit [Remote host closed the connection]
justinmburrous has quit [Ping timeout: 250 seconds]
<tbuehlmann> initialize the hash with `hash = Hash.new { |hash, key| hash[key] = 0 }` then
luiz_lha has joined #ruby-lang
<apeiros> uh
lewix has quit [Remote host closed the connection]
<apeiros> Hash.new(0)
<apeiros> there are differences between the two, mind you
<apeiros> >> h1 = Hash.new { |hash, key| hash[key] = 0 }; h2 = Hash.new(0); h1[:x]; h2[:x]; {h1_keys: h1.keys, h2_keys: h2.keys}
<eval-in_> apeiros => {:h1_keys=>[:x], :h2_keys=>[]} (https://eval.in/199996)
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rcvalle has joined #ruby-lang
emrox has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
ledestin_ has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 245 seconds]
pr0ton has joined #ruby-lang
ledestin has quit [Ping timeout: 245 seconds]
ledestin_ is now known as ledestin
karamazov has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sepp2k has quit [Quit: Konversation terminated!]
pr0ton has quit [Client Quit]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
skammer3 has quit [Ping timeout: 260 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aphex80 has quit [Quit: Page closed]
yfeldblum has joined #ruby-lang
Iskarlar has joined #ruby-lang
mistym has quit [Remote host closed the connection]
thagomizer has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
nonmadden has joined #ruby-lang
nonmadden has quit [Quit: Leaving...]
nonmadden has joined #ruby-lang
hellangel7 has joined #ruby-lang
nonmadden has quit [Client Quit]
tectonic has joined #ruby-lang
bsvineeth has joined #ruby-lang
nonmadden has joined #ruby-lang
nonmadden has quit [Remote host closed the connection]
nonmadden has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby-lang
sepp2k has joined #ruby-lang
koderok has joined #ruby-lang
koderok has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
lewix has joined #ruby-lang
bsvineeth has quit [Ping timeout: 260 seconds]
benlovell has joined #ruby-lang
stamina has quit [Remote host closed the connection]
luiz_lha has quit [Quit: Saindo]
hellangel7 has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
benlovell has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
thomasxie has quit [Ping timeout: 245 seconds]
whippythellama has quit [Quit: whippythellama]
whippythellama has joined #ruby-lang
workmad3 has quit [Ping timeout: 244 seconds]
skade has joined #ruby-lang
tylersmith has joined #ruby-lang
brianpWins has joined #ruby-lang
qba73 has quit []
Miphix has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
lewix has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
luiz_lha has joined #ruby-lang
mkaesz has joined #ruby-lang
bradcliffe has joined #ruby-lang
ta has joined #ruby-lang
hahuang65 has joined #ruby-lang
emmesswhy has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
brianpWins_ has joined #ruby-lang
brianpWins has quit [Ping timeout: 272 seconds]
brianpWins_ is now known as brianpWins
elia has joined #ruby-lang
klmlfl has joined #ruby-lang
spastorino has joined #ruby-lang
pr0ton has joined #ruby-lang
skade has quit [Ping timeout: 260 seconds]
bradcliffe has quit [Quit: Textual IRC Client: www.textualapp.com]
bradcliffe has joined #ruby-lang
wallerdev has joined #ruby-lang
elia has quit [Client Quit]
yfeldblum has joined #ruby-lang
mikecmpbll has joined #ruby-lang
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
pr0ton has quit [Quit: pr0ton]
yfeldblum has quit [Ping timeout: 272 seconds]
migbar_ has quit []
araujo has quit [Ping timeout: 260 seconds]
benlovell has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danromano has quit [Ping timeout: 246 seconds]
malconis has quit [Ping timeout: 272 seconds]
malconis has joined #ruby-lang
gix has quit [Ping timeout: 245 seconds]
ta has quit [Quit: Leaving...]
gix has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby-lang
dagda1_ has joined #ruby-lang
RobertBirnie has joined #ruby-lang
havenwood has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
centrx has joined #ruby-lang
dabradley has quit [Quit: WeeChat 0.3.8]
dabradley has joined #ruby-lang
kgrz has joined #ruby-lang
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
danromano has joined #ruby-lang
justinmburrous has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nonmadden has quit [Quit: Leaving...]
ffmegaman has quit [Remote host closed the connection]
justinmburrous has quit [Ping timeout: 260 seconds]
chills42 has quit [Remote host closed the connection]
ffmegaman has joined #ruby-lang
danromano has quit [Ping timeout: 258 seconds]
malconis has joined #ruby-lang
dabradley has quit [Quit: WeeChat 0.3.8]
dabradley has joined #ruby-lang
fragamus has joined #ruby-lang
chills42 has joined #ruby-lang
symm- has quit [Ping timeout: 272 seconds]
<Steve_Jobs> I'd like to change some of my Gems in my solution to work off of local projects and not get them from git directly. Is there a preferred way of managing a Gemfile so it behaves differently when on my dev machine and when a client pulls down the repos?
symm- has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
yfeldblum has joined #ruby-lang
<pipework> Steve_Jobs: groups usually
seank_ has joined #ruby-lang
<waxjar> you can instruct bundler to use a local git repository for a specific gem.
<waxjar> forgot how though
yfeldblum has quit [Ping timeout: 272 seconds]
seank_ has quit [Remote host closed the connection]
<waxjar> bundle config local.GEM_NAME /path/to/local/git/repository, apparently
seank_ has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kgrz has quit [Remote host closed the connection]
dangerousdave has joined #ruby-lang
danromano has joined #ruby-lang
<Steve_Jobs> I would be pointing to another directory like ../../some-dependency
<Steve_Jobs> instead of git://github.com/user/repo.git
<Steve_Jobs> but only for 3 of lots of references...
<Steve_Jobs> waxjar: looking now...
sarkyniin has joined #ruby-lang
<havenwood> path:
seank_ has quit []
seank has joined #ruby-lang
dangerousdave has quit [Ping timeout: 260 seconds]
seank is now known as seank_
<wallerdev> vendor
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
danromano has quit [Ping timeout: 240 seconds]
klmlfl has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
klmlfl has joined #ruby-lang
bradcliffe has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
AKASkip has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Ping timeout: 260 seconds]
bradcliffe has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
ironcamel has quit [Quit: leaving]
ffmegaman has quit [Remote host closed the connection]
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ffmegaman has joined #ruby-lang
nofxx_ has quit [Ping timeout: 245 seconds]
mkaesz has quit [Read error: Connection reset by peer]
mskaesz has joined #ruby-lang
gnufied has joined #ruby-lang
Scripore has joined #ruby-lang
benlovell has quit [Ping timeout: 258 seconds]
dagda1 has joined #ruby-lang
ffmegaman has quit [Ping timeout: 246 seconds]
bradcliffe has joined #ruby-lang
yliu has quit [Ping timeout: 272 seconds]
bradcliffe has quit [Client Quit]
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
bantic has joined #ruby-lang
bradcliffe has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
Scripore has quit []
luiz_lha has quit [Remote host closed the connection]
luiz_lha has joined #ruby-lang
cklee has joined #ruby-lang
mofai has quit []
relix has joined #ruby-lang
tkuchiki has joined #ruby-lang
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danromano has joined #ruby-lang
amsi has quit [Ping timeout: 272 seconds]
konr has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
amsi has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
t4nk008 has joined #ruby-lang
<t4nk008> Am I too dumb to iterate over a hash? http://pastebin.com/xm36xSwA
Iskarlar has joined #ruby-lang
<havenwood> t4nk008: just close that block with a `}` and that should be peaches
amsi has quit [Ping timeout: 245 seconds]
<sarkyniin> btw, what's the difference between this channel and #ruby?
<havenwood> sarkyniin: this chan requires nick reg (right?)
<t4nk008> havenwood: Isn't there one on line 5?
Phrogz_ has joined #ruby-lang
Phrogz_ is now known as Phrogz
<havenwood> t4nk008: that closes the Hash literal, i'm talking closing the block on line 7.
<havenwood> do/end {/}
<apeiros> havenwood: afaik it doesn't. +cnt. iirc +r is nickreg
<havenwood> apeiros: aha, then i'm mistaken - had a doubt right after i typed it
<havenwood> shoulda looked before speaking i guess :O
<t4nk008> One again, I have done it!
<apeiros> there was a time, yes. but it wasn't for too long. a couple of months I think.
<t4nk008> Thanks a lot.
emmesswhy has quit [Quit: This computer has gone to sleep]
<havenwood> that must be what i was thinking, because when i checked before it was, but yeah things change :)
SuMo_D has joined #ruby-lang
mkaesz has joined #ruby-lang
mskaesz has quit [*.net *.split]
[dmp] has joined #ruby-lang
[dmp] has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
FiXato has quit [Quit: bbiab]
wallerdev has quit [Quit: wallerdev]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chills42 has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
SuMo_D has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby-lang
SuMo_D has joined #ruby-lang
ironcamel has joined #ruby-lang
FiXato has joined #ruby-lang
emmesswhy has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Client Quit]
araujo has joined #ruby-lang
araujo has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 244 seconds]
SuMo_D has quit [Ping timeout: 244 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ffmegaman has joined #ruby-lang
ur5us has joined #ruby-lang
dagda1 has quit [Ping timeout: 272 seconds]
tectonic has joined #ruby-lang
mistym has quit [Quit: Leaving...]
arBmind has joined #ruby-lang
theraisedhand has joined #ruby-lang
dagda1 has joined #ruby-lang
benlovell has joined #ruby-lang
t4nk008 has quit [Ping timeout: 246 seconds]
shinnya has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest11612
malconis has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 245 seconds]
malconis has joined #ruby-lang
yfeldblum has joined #ruby-lang
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
Guest11612 has quit [Ping timeout: 272 seconds]
FiXato has quit [Remote host closed the connection]
FiXato has joined #ruby-lang
__Cid has joined #ruby-lang
kadoppe has quit [Ping timeout: 260 seconds]
michaeldeol has joined #ruby-lang
yalue has quit [Quit: Leaving]
_ht has quit [Read error: Connection reset by peer]
__Cid is now known as MSten
wallerdev has quit [Quit: wallerdev]
MSten has quit []
GBrawl__ has quit [Quit: Computer has gone to sleep.]
RobertBirnie has joined #ruby-lang
GBrawl___ has joined #ruby-lang
justinmburrous has joined #ruby-lang
MSten has joined #ruby-lang
fragamus has joined #ruby-lang
<MSten> Hey - is there a newbie channel or is this the right place to make a fool of myself?
<ohsix> i'd say the entire internet is a great place to make a fool of oneself
<MSten> heh - point well taken :)
mkaesz has quit [Remote host closed the connection]
<MSten> Im trying to parse a csv file ... look for a value ...and where that value is found, write the row into a new file ...... its super tedious in Excel so I decided that a scripting language is probably the smarter way to go ... I picked Ruby at random ... it has a cute name ...and it has a csv library of functionalities .... so ... I been trying to get it to work (with googles help) ..but I am getting really stuck - a
<MSten> nyone feel like pointing and laughing at my code (and hopefully educate me a bit as well)
justinmburrous has quit [Ping timeout: 245 seconds]
Iskarlar has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Client Quit]
fragamus has quit [Quit: Computer has gone to sleep.]
<apeiros> MSten: sure. paste it up on gist.github.com
<MSten> apeiros: Thank you! https://gist.github.com/anonymous/c0b4ce03eca0651fa8d8 - you can ignore most of the stuff in the beginning that was just me playing around with Ruby ... the trouble starts around line 20
ldnunes has quit [Quit: Leaving]
<MSten> what I really want it to do is read the file - output headers and each line with a match into a new file
matp has quit [Remote host closed the connection]
matp has joined #ruby-lang
fusillicode has quit [Ping timeout: 272 seconds]
<apeiros> MSten: ok, taking a look
<MSten> it seems to ...kinda work - it does open and read the file ..and the matches are found - but I can't get the headers in - and although it seems to run, it gives me ton of errors while running
<MSten> thank you
torrieri has joined #ruby-lang
<MSten> This is what the console looks like when I run it: https://gist.github.com/anonymous/a9161b3c456a8527325b
ItSANgo has quit [Quit: Leaving...]
matp has quit [Remote host closed the connection]
<apeiros> MSten: csv.headers returns an array
<apeiros> if you want to write it to the file you have to convert it back to a csv compatible string
<apeiros> easiest solution: .to_csv
<MSten> oh!
<apeiros> MSten: `gem 'utf8-cleaner' ` on its own does nothing btw.
<MSten> yeah, leftover .... I was having a real hard time with all the garbage data in the csv (8 bit)
<MSten> I honestly could not figure out how to call it .... so I went another route
kgrz has joined #ruby-lang
miqui has quit [Remote host closed the connection]
matp has joined #ruby-lang
ap4y has joined #ruby-lang
<MSten> apeiros: I also struggled with the placement of the header output ... I dont want it written to output every loop
<apeiros> MSten: also you should probably not print it in the loop
<apeiros> yeah
<MSten> (not that it ever did that ....but I suspect it would if it worked)
<apeiros> put it in front of the loop then ;-)
<apeiros> oh
<MSten> but ...isnt that where we get the header
<apeiros> but before the loop you don't have the csv parsed…
<MSten> exactly
<MSten> or should I parse it twice
kgrz has quit [Ping timeout: 260 seconds]
<apeiros> whoopsie. forgot to rename one of the `csv` variables to `row`. sorry. also: untested ;-)
wallerdev has joined #ruby-lang
ldnunes has joined #ruby-lang
<MSten> it doesent run - but it looks fancy :)
<MSten> same errrors as I got, but the output file is empty
<MSten> apeiros: lol, I like your comments ;)
jdecuirm_ has quit [Ping timeout: 245 seconds]
<MSten> oh, you fixed the unless ....I got stuck there as well - thanks :)
kadoppe has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
banister has joined #ruby-lang
<yorickpeterse> oh nice, so there's this gem called mp3info
<yorickpeterse> and there's ruby-mp3info
<yorickpeterse> the former doesn't work on 2.x
<yorickpeterse> the latter does
<yorickpeterse> and is the one I used before
<yorickpeterse> Naming Gems: still hard
amsi has joined #ruby-lang
yfeldblum has joined #ruby-lang
<MSten> apeiros: oh, got rid of the errors - you had a infile and a outfile mixed up
<MSten> apeiros: the output file is empty though - but no more errors on the console
<MSten> apeiros: my script is a mess but outputs data, yours is neat and clean but does not - now to try and compile the two into something working ;-)
<apeiros> MSten: hm, I also forgot to put back the csv headers
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> where did I mix up in/outfile? (which line?) I can't see it :-(
<MSten> data = File.read(in_file, encoding: 'iso-8859-1:utf-8')
<apeiros> that should be correct
<apeiros> read the file from which you parse the csv
<MSten> thats what I corrected it to .... maybe I introduced the error and then fixed it back - sorry
jdecuirm_ has joined #ruby-lang
<apeiros> hm, no? https://gist.github.com/apeiros/0a9905bf7b8ee64f5543/577b9c19811a50376358b2614943ab4b4d9c3232 is the first revision. was `data = File.read(in_file, encoding: 'iso-8859-1:utf-8')` already
<MSten> apeiros: my bad then, sorry
jgpawletko has quit [Quit: jgpawletko]
<MSten> block in <main>': undefined method `header' for #<CSV::Table mode:col_or_row row_count:1> (NoMethodError) <-- with new version
<MSten> line 21
<apeiros> heh, that part is still from yours. should be `output.puts csv.headers.to_csv`
<apeiros> headers instead of header
<MSten> apeiros: doh :)
<MSten> so now it runs, no errors ....the output file however only has one empty line in it
<apeiros> that's odd. it should at least have the headers.
<MSten> apeiros: without the puts for header its empty - but that puts does add a empty line
mistym has joined #ruby-lang
<MSten> apeiros: err..not sure if that was clear ... without header completely empty ...with header one empty line in the file
<apeiros> MSten: can you paste an example input file?
benlovell has joined #ruby-lang
<MSten> yeah, let me create a subset (its huge!)
<apeiros> does not need to be real data. but something which fits your purpose
<apeiros> yeah, sure. 10 lines or so should suffice.
postmodern has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
<MSten> apeiros: search for foo should get you 3 new entries
sarkyniin has quit [Ping timeout: 260 seconds]
<apeiros> MSten: works for me
<MSten> apeiros: ?! ..really ... you get a new csv file ..with header and 3 rows ?
<apeiros> yes
Bwild has quit [Remote host closed the connection]
<MSten> apeiros: bleh, just tested it on the data set I created for you - and it works .... the the problem must be in my source data
<MSten> but! - at least I am on the right track with the loop
<apeiros> maybe your column contains nonprintables?
<MSten> apeiros: not sure what a nonprintable is ...I thought I had initially stripped out all the weirdness in the source file
<apeiros> a null byte for example
<MSten> apeiros: ...erhm .... this is embarrassing ....
<MSten> at some point .... I must have ... messed up ...
<MSten> -rw-r--r--@ 1 martin staff 0 Sep 29 16:02 raw_data.csv (check the size)
<MSten> apeiros: aw man .... I am sorry - I somehow must have overwritten my source data with nothing ...as I messed around with it .oops
<MSten> apeiros: thank you SO MUCH! for the help ..I think I can fix that part myself ;)
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> :)
<apeiros> shit happens
<MSten> yup, good thing it was a copy
<MSten> apeiros: juest tested again on real dataset - works perfectly, thanks again - really appreciate it!
<apeiros> yw
seank__ has joined #ruby-lang
bantic has quit [Quit: bantic]
ap4y has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 245 seconds]
lewix has joined #ruby-lang
seank_ has quit [Ping timeout: 244 seconds]
dagda1 has joined #ruby-lang
seank__ has quit []
seank_ has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
MichD is now known as michd
tylersmith has quit [Remote host closed the connection]
dwknoxy is now known as dknox-lunch
sepp2k has quit [Read error: Connection reset by peer]
ocdmw has quit []
toretore has quit [Quit: This computer has gone to sleep]
Forgetful_Lion has joined #ruby-lang
klmlfl has joined #ruby-lang
nofxx_ has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
GBrawl___ has quit [Quit: Lingo - http://www.lingoirc.com]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rawillia has joined #ruby-lang
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elia has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jsaak has quit [Ping timeout: 260 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby-lang
benlovell has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
tectonic has joined #ruby-lang
cmhobbs has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
SuMo_D has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 272 seconds]
theraisedhand has quit [Remote host closed the connection]
RobertBirnie has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
emmesswhy has quit [Quit: Leaving]
bantic has joined #ruby-lang
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 240 seconds]
tbuehlmann has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
TTilus has quit [Ping timeout: 245 seconds]
TTilus has joined #ruby-lang
rawillia has quit [Ping timeout: 246 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
karamazov has quit [Ping timeout: 272 seconds]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
benlovell has joined #ruby-lang
SDMX has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
rcvalle has joined #ruby-lang
<SDMX> Hey, I'm new to ruby and having some problems with the split method and feeding it a variable to use as its delimiter. Can anyone shed any insight as to why this isn't working? Is this just incorrect syntax? array=.split($delim)
<SDMX> Or does the split method only allow for strings and regex?
benlovell has quit [Ping timeout: 258 seconds]
tkuchiki has joined #ruby-lang
charliesome has quit [Quit: zzz]
emmesswhy has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
ItSANgo_ has joined #ruby-lang
ItSANgo has joined #ruby-lang
ItSANgo__ has joined #ruby-lang
ItSANgo has quit [Client Quit]
ItSANgo__ has quit [Client Quit]
<SDMX> Anyone available?
<wnd> >> $delim = 'o'; 'foobar'.split($delim)
<eval-in_> wnd => ["f", "", "bar"] (https://eval.in/200091)
<wnd> either I'm not getting it or you're not telling ruby what to split
<havenwood> SDMX: Show a gist of what you have so far?
<wnd> I mean, I don't think "=.split()" is valid syntax
justinmburrous has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
<SDMX> Sorry, I'm not explaining it well. My task is to design an additive calculator that can have a variable delimiter. Let me clean things up and then link a gist.
<SDMX> I think I got it though, thankfully.
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
yatish27 has joined #ruby-lang
justinmburrous has quit [Ping timeout: 245 seconds]
<SDMX> I had the #{variable} syntax correct, but when I tried to use it with the .split method, I wasn't capturing it within the regex double slashes, so it was being interpreted as a comment, cutting off the rest of the string.
<zenspider> SDMX: what happened to your space bar? seems to work when you're typing english...
<zenspider> delim is an array, that's not a good choice for interpolating into a regexp
<zenspider> don't to_i the result of inject, it's already an int.
<zenspider> use 2 space indents. never use tabs.
<SDMX> Unless it's a nil.
<SDMX> Sorry, That's an issue with sublime text formatting, I suppose. I'll correct that in preferences.
<zenspider> then pass 0 to the inject for the initial value
<zenspider> don't uppercase your method names unless they're doing something "casty"
AKASkip has quit [Ping timeout: 245 seconds]
<SDMX> Looking up the correct syntax for .inject. That would be sum.inject(0,:+) ?
<zenspider> should be, yup
<SDMX> And the uppercase method name was just part of the assignment, but I didn't know that either. I'll keep that in mind for the future (as well as looking up what "casty" refers to. =] )
ItSANgo_ has quit [Quit: Leaving...]
hackeron_ has quit [Ping timeout: 260 seconds]
hackeron has joined #ruby-lang
centrx has joined #ruby-lang
marr has quit [Ping timeout: 260 seconds]
ledestin_ has joined #ruby-lang
<soahccc> What would be the best general solution to place a "export PATH=..."? .profile maybe but I think this syntax is bash (at least not sh)