shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
phaul has quit [Ping timeout: 240 seconds]
jnollette has joined #ruby
cagomez has joined #ruby
cschneid has joined #ruby
achen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cschneid has quit [Ping timeout: 252 seconds]
achen has joined #ruby
shpoont has joined #ruby
rgiscard has quit [Quit: Cheers]
pastorin_ has quit [Remote host closed the connection]
achen has quit [Client Quit]
thowe has joined #ruby
thowe has left #ruby ["Leaving"]
achen has joined #ruby
ledestin has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
mikhael_k33hl has joined #ruby
WA9ACE has joined #ruby
WA9ACE is now known as Guest62453
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<mikhael_k33hl>
I'm working on making my ruby script as a daemon. Can you direct me to a good resource that would guide/help me on how to handle interruptions and graceful exits/reload. Thanks, pretty new to ruby and daemons
<beyer>
i followed the install Clone this repository + Bundle install but now i cant rake db:migrate because it says "rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)"
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Radar>
beyer: seems like you're seeing a completely different issue
<Radar>
are you running "rake db:migrate" in that app's directory?
<beyer>
yes
<beyer>
i'm totally newbie in ruby and any programming
dinfuehr has quit [Ping timeout: 260 seconds]
<Radar>
and if you run "file Rakefile", what does it show?
* beyer
Radar
dinfuehr has joined #ruby
<beyer>
im on windows
bigblind has joined #ruby
<Radar>
beyer: OK. Let's try a different tack then. How confident are you that the command prompt is _definitely_ in that directory? What indicates to you that you're there?
Gabemo has quit [Read error: Connection reset by peer]
Gabemo has joined #ruby
logoscoder has quit [Read error: Connection reset by peer]
logoscoder_ has joined #ruby
mjolnird has joined #ruby
pastorinni has joined #ruby
govg has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
cdg has quit [Remote host closed the connection]
darkhanb has joined #ruby
goatish has quit [Quit: Hibernating]
mjolnird has quit [Remote host closed the connection]
mjolnird has joined #ruby
mjolnird has quit [Client Quit]
achen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jxf has quit [Ping timeout: 240 seconds]
hsiktas has quit [Ping timeout: 240 seconds]
deimos has quit [Ping timeout: 240 seconds]
knowtheory has quit [Ping timeout: 240 seconds]
ckrailo has quit [Ping timeout: 240 seconds]
Lloyd has quit [Ping timeout: 240 seconds]
bcavileer has quit [Ping timeout: 240 seconds]
jnix has quit [Ping timeout: 245 seconds]
rfv has quit [Ping timeout: 245 seconds]
meinside has quit [Ping timeout: 245 seconds]
koenrh has quit [Ping timeout: 240 seconds]
graingert has quit [Ping timeout: 240 seconds]
danzilio has quit [Ping timeout: 256 seconds]
olivierjanss has quit [Ping timeout: 256 seconds]
Diabolik_ has quit [Ping timeout: 256 seconds]
raggi has quit [Ping timeout: 256 seconds]
AndyWojo has quit [Ping timeout: 256 seconds]
mrsolo has quit [Ping timeout: 245 seconds]
daxroc has quit [Ping timeout: 245 seconds]
kspencer has quit [Ping timeout: 245 seconds]
ELLIOTTCABLE has quit [Ping timeout: 252 seconds]
iamdevnul has quit [Read error: Connection reset by peer]
aarongodin has quit [Read error: Connection reset by peer]
adambeynon has quit [Read error: Connection reset by peer]
justinweiss has quit [Read error: Connection reset by peer]
podman has quit [Read error: Network is unreachable]
jabreity has quit [Read error: Connection reset by peer]
Brak____________ has quit [Read error: Connection reset by peer]
solidsnack has quit [Read error: Connection reset by peer]
amitchellbullard has quit [Read error: Connection reset by peer]
afisher has quit [Read error: Connection reset by peer]
kaia has quit [Read error: Network is unreachable]
HalcyonicStorm has quit [Read error: Connection reset by peer]
chrisseaton has quit [Read error: Connection reset by peer]
gmcintire has quit [Read error: Connection reset by peer]
zipkid has quit [Write error: Connection reset by peer]
ewilliam has quit [Read error: Connection reset by peer]
ali_g has quit [Read error: Connection reset by peer]
Flashynuff has quit [Read error: Connection reset by peer]
dmnd has quit [Read error: Connection reset by peer]
stephenh has quit [Read error: Connection reset by peer]
schaary has quit [Read error: Connection reset by peer]
jmhmccr has quit [Read error: Connection reset by peer]
cjs226 has quit [Read error: Connection reset by peer]
lesce has quit [Ping timeout: 260 seconds]
rjungemann has quit [Ping timeout: 260 seconds]
Yonk has quit [Read error: Connection reset by peer]
incomprehensibly has quit [Read error: Connection reset by peer]
HashNuke has quit [Ping timeout: 265 seconds]
pmarreck has quit [Ping timeout: 265 seconds]
andersh has quit [Read error: Connection reset by peer]
codepete has quit [Read error: Connection reset by peer]
seanh has quit [Ping timeout: 240 seconds]
lipoqil has quit [Ping timeout: 240 seconds]
skmp has quit [Ping timeout: 255 seconds]
hayden___ has quit [Read error: Connection reset by peer]
ReinH has quit [Read error: Connection reset by peer]
colstrom has quit [Read error: Connection reset by peer]
mroth has quit [Read error: Connection reset by peer]
kapowaz has quit [Read error: Connection reset by peer]
manveru has quit [Write error: Connection reset by peer]
pfg has quit [Read error: Connection reset by peer]
kireevco has quit [Ping timeout: 256 seconds]
caw______ has quit [Ping timeout: 256 seconds]
Chew has quit [Ping timeout: 256 seconds]
nuck has quit [Read error: Connection reset by peer]
oblak has quit [Read error: Connection reset by peer]
petems has quit [Read error: Connection reset by peer]
Mutsuhito has quit [Read error: Connection reset by peer]
jetpack_joe has quit [Read error: Connection reset by peer]
JJonah has quit [Write error: Connection reset by peer]
peteretep has quit [Write error: Connection reset by peer]
Tony-St4rk has quit [Write error: Connection reset by peer]
boxrick has quit [Read error: Connection reset by peer]
Fenhl has quit [Read error: Connection reset by peer]
untitaker has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Read error: Connection reset by peer]
tfitts has quit [Read error: Connection reset by peer]
micalexander has quit [Write error: Connection reset by peer]
arcturiaen has quit [Read error: Connection reset by peer]
jhill_ has quit [Write error: Connection reset by peer]
BuildTheRobots has quit [Read error: Connection reset by peer]
Majost has quit [Read error: Connection reset by peer]
dukedave has quit [Read error: Connection reset by peer]
cttttt has quit [Write error: Connection reset by peer]
nOgAnOo has quit [Write error: Connection reset by peer]
jimeh has quit [Read error: Connection reset by peer]
ircmaxell has quit [Read error: Connection reset by peer]
pwillard has quit [Read error: Connection reset by peer]
maciuszek has quit [Read error: Network is unreachable]
nadir has quit [Read error: Connection reset by peer]
auv has quit [Read error: Connection reset by peer]
ggherdov has quit [Read error: Connection reset by peer]
Meow-J_ has quit [Read error: Connection reset by peer]
rann has quit [Read error: Connection reset by peer]
Bosma has quit [Ping timeout: 245 seconds]
foamz has quit [Read error: Connection reset by peer]
r3my has quit [Read error: Connection reset by peer]
machty has quit [Read error: Connection reset by peer]
Travis-42 has quit [Read error: Connection reset by peer]
justizin has quit [Read error: Connection reset by peer]
avdi has quit [Ping timeout: 240 seconds]
darthThorik has quit [Ping timeout: 256 seconds]
fury has quit [Ping timeout: 240 seconds]
cardoni has quit [Ping timeout: 240 seconds]
logoscoder_ is now known as logoscoder
galeido has quit [Ping timeout: 256 seconds]
doesntbyte has quit [Ping timeout: 256 seconds]
mr-robert has quit [Ping timeout: 256 seconds]
craysiii has quit [Ping timeout: 256 seconds]
rflot has quit [Ping timeout: 256 seconds]
mattwc has quit [Ping timeout: 240 seconds]
mitsuhiko has quit [Ping timeout: 240 seconds]
jwheare has quit [Ping timeout: 240 seconds]
tycoon177 has quit [Ping timeout: 256 seconds]
yo61 has quit [Ping timeout: 256 seconds]
Iambchop has quit [Ping timeout: 256 seconds]
Flabbergazta has quit [Ping timeout: 256 seconds]
err_ok has quit [Ping timeout: 256 seconds]
raynold has quit [Ping timeout: 252 seconds]
amitchellbullard has joined #ruby
HalcyonicStorm has joined #ruby
helpa has quit [Remote host closed the connection]
ReinH has joined #ruby
charles81_ has quit [Ping timeout: 256 seconds]
andersh has joined #ruby
helpa has joined #ruby
Bosma has joined #ruby
justizin has joined #ruby
pwillard has joined #ruby
caw______ has joined #ruby
HashNuke has joined #ruby
ircmaxell has joined #ruby
maciuszek has joined #ruby
kaia has joined #ruby
Flashynuff has joined #ruby
aarongodin has joined #ruby
Brak____________ has joined #ruby
memo1 has joined #ruby
bove has joined #ruby
mitsuhiko has joined #ruby
koenrh has joined #ruby
avdi has joined #ruby
fmccann has quit [Ping timeout: 260 seconds]
Travis-42 has joined #ruby
nuck has joined #ruby
mr-robert has joined #ruby
yo61 has joined #ruby
foamz has joined #ruby
teej has quit [Ping timeout: 240 seconds]
cardoni has joined #ruby
Iambchop has joined #ruby
ali_g has joined #ruby
cjs226 has joined #ruby
dmnd has joined #ruby
err_ok has joined #ruby
chrisseaton has joined #ruby
lipoqil has joined #ruby
raggi has joined #ruby
olivierjanss has joined #ruby
adambeynon has joined #ruby
schaary has joined #ruby
skmp has joined #ruby
podman has joined #ruby
afisher has joined #ruby
knowtheory has joined #ruby
ggherdov has joined #ruby
meinside has joined #ruby
justinweiss has joined #ruby
jmhmccr has joined #ruby
chromis has joined #ruby
micalexander has joined #ruby
Majost has joined #ruby
jabreity has joined #ruby
Lloyd has joined #ruby
pmarreck has joined #ruby
fmccann has joined #ruby
ggherdov has quit [Excess Flood]
machty has joined #ruby
Meow-J_ has joined #ruby
ckrailo has joined #ruby
iamdevnul has joined #ruby
rflot has joined #ruby
stephenh has joined #ruby
oblak has joined #ruby
incomprehensibly has joined #ruby
galeido has joined #ruby
mattwc has joined #ruby
daxroc has joined #ruby
deimos has joined #ruby
doesntbyte has joined #ruby
petems has joined #ruby
rfv has joined #ruby
graingert has joined #ruby
auv has joined #ruby
Diabolik_ has joined #ruby
Yonk has joined #ruby
seanh has joined #ruby
ewilliam has joined #ruby
gmcintire has joined #ruby
solidsnack has joined #ruby
hayden___ has joined #ruby
JJonah has joined #ruby
tycoon177 has joined #ruby
zipkid has joined #ruby
dukedave has joined #ruby
AndyWojo has joined #ruby
mrsolo has joined #ruby
Fenhl has joined #ruby
hsiktas has joined #ruby
raynold has joined #ruby
darthThorik has joined #ruby
ski7777 has quit [Ping timeout: 256 seconds]
clampy has joined #ruby
willmichael has joined #ruby
achen has joined #ruby
ski7777 has joined #ruby
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
cdg has joined #ruby
trautwein has joined #ruby
bigblind has quit [Ping timeout: 268 seconds]
ectos has joined #ruby
<guacamole>
anyone know of a good gem for calculating big o notation?
nadir has joined #ruby
bcavileer has joined #ruby
charles81_ has joined #ruby
jetpack_joe has joined #ruby
tfitts has joined #ruby
arcturiaen has joined #ruby
manveru has joined #ruby
untitaker has joined #ruby
Mutsuhito has joined #ruby
remix2000 has quit [Ping timeout: 256 seconds]
jhill_ has joined #ruby
Flabbergazta has joined #ruby
teej has joined #ruby
ski7777 has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
nOgAnOo has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
kireevco has joined #ruby
ski7777 has joined #ruby
clampy has quit [Quit: WeeChat 1.4]
memo1 has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
keithy has joined #ruby
mroth has joined #ruby
Tony-St4rk has joined #ruby
craysiii has joined #ruby
codepete has joined #ruby
rann has joined #ruby
colstrom has joined #ruby
pfg has joined #ruby
danzilio has joined #ruby
mostlybadfly has joined #ruby
fury has joined #ruby
rjungemann has joined #ruby
jwheare has joined #ruby
Chew has joined #ruby
clampy has joined #ruby
kiltzman has quit [Ping timeout: 260 seconds]
fba has joined #ruby
ali_g has quit [Quit: Connection closed for inactivity]
pastorinni has quit [Remote host closed the connection]
kies has joined #ruby
jimeh has joined #ruby
jxf has joined #ruby
lesce has joined #ruby
jnix has joined #ruby
cttttt has joined #ruby
BuildTheRobots has joined #ruby
xenops has joined #ruby
kiltzman has joined #ruby
keithy has quit [Quit: keithy]
cschneid has joined #ruby
clampy has quit [Quit: WeeChat 1.4]
clampy has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arthurnn has quit [Ping timeout: 256 seconds]
clampy has quit [Client Quit]
clampy has joined #ruby
arthurnn has joined #ruby
peteretep has joined #ruby
kapowaz has joined #ruby
r3my has joined #ruby
boxrick has joined #ruby
kspencer has joined #ruby
ELLIOTTCABLE has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
clampy has quit [Client Quit]
clampy has joined #ruby
achen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elcontrastador has joined #ruby
bigblind has joined #ruby
Yzguy has joined #ruby
bigblind has quit [Ping timeout: 268 seconds]
troys has quit [Quit: Bye]
ramfjord has joined #ruby
starseed0000 has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
kapil___ has joined #ruby
cdg has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 248 seconds]
cschneid has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 276 seconds]
cadillac_ has quit [Ping timeout: 252 seconds]
sidx64 has joined #ruby
cadillac_ has joined #ruby
anisha has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
kn-928 has quit [Ping timeout: 260 seconds]
AxelAlex has joined #ruby
alex`` has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
bigblind has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
cagomez has quit [Ping timeout: 265 seconds]
AxelAlex has quit [Quit: AxelAlex]
soniya29 has joined #ruby
beyer has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
memo1 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
LocaMocha has joined #ruby
cdg has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
remix2000 has joined #ruby
remix2000 has quit [Changing host]
remix2000 has joined #ruby
hahuang65 has quit [Quit: WeeChat 2.0.1]
cdg has quit [Ping timeout: 276 seconds]
hahuang65 has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
conta has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
memo1 has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
dviola has quit [Quit: WeeChat 2.0.1]
clampy has quit [Quit: WeeChat 1.4]
clampy has joined #ruby
sidx64 has joined #ruby
soniya29 has quit [Ping timeout: 248 seconds]
<dminuoso>
Interesting. There's someone sitting in front of me, applying war paint to their face.
<dminuoso>
The things people do on the train.
apeiros has quit [Remote host closed the connection]
Yzguy has quit [Quit: Zzz...]
mcr has quit [Ping timeout: 245 seconds]
KeyJoo has joined #ruby
sidx64_ has joined #ruby
sidx64 has quit [Ping timeout: 256 seconds]
Yzguy has joined #ruby
sidx64 has joined #ruby
mtkd has joined #ruby
dionysus69 has joined #ruby
sidx64_ has quit [Ping timeout: 276 seconds]
rippa has joined #ruby
roshanavand has joined #ruby
workmad3 has joined #ruby
soniya29 has joined #ruby
darkhanb has joined #ruby
mcr1 has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
cdg has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
conta has quit [Quit: conta]
oleo has quit [Quit: Leaving]
jenrzzz has joined #ruby
karapetyan has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 265 seconds]
Emmanuel_Chanel has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
shpoont has joined #ruby
zapata has quit [Quit: WeeChat 2.0.1]
n008f4g_ has joined #ruby
djbkd has joined #ruby
bigblind has quit [Ping timeout: 256 seconds]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soniya29 has quit [Ping timeout: 256 seconds]
mjolnird has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
clemens3 has quit [Ping timeout: 240 seconds]
mjolnird has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
soniya29 has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider has joined #ruby
darkhanb has joined #ruby
Puffball has quit [Ping timeout: 240 seconds]
schneider has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
schneider has joined #ruby
_aeris_ has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
mtkd has quit []
_aeris_ has joined #ruby
vondruch_ has joined #ruby
Dimik has quit [Ping timeout: 252 seconds]
Burgestrand has joined #ruby
Beams has joined #ruby
Beams has quit [Client Quit]
sammi`_ has quit [Quit: Lost terminal]
apeiros has joined #ruby
mjolnird has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
cdg has joined #ruby
alex`` has quit [Quit: WeeChat 2.0.1]
TomyWork has joined #ruby
sammi` has joined #ruby
bigblind has joined #ruby
tomphp has joined #ruby
claudiuinberlin has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
roshanavand has quit [Ping timeout: 255 seconds]
Yzguy has quit [Quit: Cya]
aufi has joined #ruby
aupadhye has joined #ruby
Beams has joined #ruby
tomphp has quit [Ping timeout: 255 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guille-moe has joined #ruby
Beams_ has joined #ruby
Puffball has joined #ruby
roshanavand has joined #ruby
faces has joined #ruby
roshanavand has quit [Client Quit]
Beams has quit [Ping timeout: 256 seconds]
roshanavand has joined #ruby
Emmanuel_Chanel has joined #ruby
Fusselgesicht has joined #ruby
amatas has joined #ruby
karapetyan has quit [Remote host closed the connection]
nowhere_man has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
alex`` has joined #ruby
mikecmpbll has joined #ruby
amatas has quit [Remote host closed the connection]
amatas has joined #ruby
nowhereman_ has quit [Ping timeout: 260 seconds]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sidx64 has joined #ruby
cdg has joined #ruby
amatas_ has joined #ruby
sidx64 has quit [Read error: Connection reset by peer]
sidx64 has joined #ruby
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
Emmanuel_Chanel has joined #ruby
roshanavand has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 245 seconds]
nielsk has joined #ruby
NL3limin4t0r has joined #ruby
sameerynho has joined #ruby
roshanavand has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
McSoFake has joined #ruby
<NL3limin4t0r>
Hey, I was wondering if there is an easy way to zip all elements from an array with a single other object. My currunt solution is `array.zip(Array.new(array.size, other_object))`, but I wondered if I missed a better solution.
<apeiros>
NL3limin4t0r: map
<apeiros>
ary.map { |x| [x, other_obj] }
mtkd has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
marr has joined #ruby
shpoont has joined #ruby
<NL3limin4t0r>
apeiros: ty, I knew I missed something. I use map quite often, but sometimes you forget the simplest of solutions.
<dminuoso>
apeiros: Well it's point free. And as a tacit programming zealot, I have to refactor to hide any code points.
bijan_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 265 seconds]
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zenspider_ has joined #ruby
shpoont has joined #ruby
andikr has joined #ruby
amatas_ has quit [Quit: amatas_]
AJA4350 has joined #ruby
amatas_ has joined #ruby
zapata has joined #ruby
bigblind has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
qba73 has joined #ruby
qba73_ has joined #ruby
cdg has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GotHyper has quit [Ping timeout: 265 seconds]
cdg_ has joined #ruby
qba73 has quit [Ping timeout: 256 seconds]
Serpent7776 has joined #ruby
GotHyper has joined #ruby
cdg__ has joined #ruby
vondruch_ has quit [Ping timeout: 265 seconds]
cdg has quit [Ping timeout: 245 seconds]
cdg_ has quit [Ping timeout: 245 seconds]
Beams_ has quit [Remote host closed the connection]
vondruch has joined #ruby
cdg__ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Remote host closed the connection]
<NL3limin4t0r>
apeiros: ty, I knew I missed something. I use map quite often, but sometimes you forget the simplest of solutions.t
<apeiros>
arrow-up+enter failure? :D
<NL3limin4t0r>
yep
sidx64 has joined #ruby
Beams_ has joined #ruby
<NL3limin4t0r>
I was going to exit out of weechat, but hit the wrong buttons.
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
bweston92 has joined #ruby
eroux has joined #ruby
jenrzzz has joined #ruby
sidx64 has quit [Client Quit]
hahuang65 has quit [Ping timeout: 276 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
fba has quit [Ping timeout: 245 seconds]
cdg has joined #ruby
Damni has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
vondruch_ has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
vondruch has joined #ruby
phaul has joined #ruby
Damni has quit [Client Quit]
cdg has quit [Ping timeout: 252 seconds]
InfinityFye has joined #ruby
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
yaewa has joined #ruby
Emmanuel_Chanel has joined #ruby
zenspider_ has quit [Quit: bye]
soniya29 has quit [Quit: Leaving]
moei has quit [Ping timeout: 245 seconds]
sidx64 has joined #ruby
jaruga has joined #ruby
<kke>
can i do something like data = 'abcd'; EM.defer(proc { process(data) }) or is the scope of data messed up there?
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dminuoso>
kke: blocks are closures.
bigblind has joined #ruby
amatas_ has quit [Quit: amatas_]
mtkd has quit []
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has joined #ruby
mtkd has joined #ruby
sidx64 has joined #ruby
nowhere_man has joined #ruby
kapil___ has joined #ruby
elcontrastador has joined #ruby
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
cdg has joined #ruby
wojnar has joined #ruby
postmodern has quit [Quit: Leaving]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 245 seconds]
Burgestrand has quit [Quit: Closing time!]
thinkpad has quit [Quit: lawl]
mtkd has quit []
thinkpad has joined #ruby
Sembei has joined #ruby
Pisuke has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
qba73__ has joined #ruby
qba73_ has quit [Ping timeout: 265 seconds]
qba73__ has quit []
vondruch has quit [Ping timeout: 265 seconds]
mtkd has joined #ruby
vondruch has joined #ruby
qwe has joined #ruby
ldnunes has joined #ruby
qwe has quit [Client Quit]
mtkd has quit []
thinkpad has quit [Quit: lawl]
tekk has joined #ruby
conta has joined #ruby
Cavallari has joined #ruby
adlerdias has joined #ruby
apparition has joined #ruby
tcopeland has quit [Quit: tcopeland]
jenrzzz has quit [Ping timeout: 240 seconds]
Papierkorb has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
GotHyper has quit [Ping timeout: 276 seconds]
GotHyper has joined #ruby
thinkpad has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
goatish has joined #ruby
dinfuehr has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
dinfuehr has joined #ruby
jamesaxl has joined #ruby
shinnya has joined #ruby
mtkd has joined #ruby
wojnar has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
aupadhye has quit [Ping timeout: 260 seconds]
aupadhye has joined #ruby
drewmcmillan has joined #ruby
n0m4d1c has joined #ruby
jottr has joined #ruby
willmichael has quit [Ping timeout: 240 seconds]
willmichael has joined #ruby
aupadhye_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
aupadhye has quit [Ping timeout: 240 seconds]
mcr1 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
tcopeland has joined #ruby
Mic92 has joined #ruby
Mic92 has left #ruby ["WeeChat 2.0.1"]
minimalism has quit [Quit: minimalism]
sidx64 has joined #ruby
connor_goodwolf has quit [Ping timeout: 256 seconds]
wojnar has joined #ruby
clemens3 has joined #ruby
tvw has quit [Remote host closed the connection]
bijan_ has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fba has joined #ruby
Beams_ has quit [Remote host closed the connection]
Beams has joined #ruby
sidx64 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
InfinityFye has left #ruby ["Leaving"]
jcalla has joined #ruby
Bish has quit [Ping timeout: 240 seconds]
McSoFake has quit [Ping timeout: 245 seconds]
Bish has joined #ruby
Burgestrand has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
connor_goodwolf has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta__ has joined #ruby
aguestuser has quit [Remote host closed the connection]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aguestuser has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
synthroid has joined #ruby
rwb has quit [Ping timeout: 256 seconds]
stormpack has joined #ruby
ldnunes has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
sidx64 has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
anjen has joined #ruby
Papierkorb has left #ruby ["Konversation terminated!"]
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
bmurt has quit [Client Quit]
fba has quit [Ping timeout: 255 seconds]
SynSynack has quit [Quit: Не разучиться мечтать... любить...]
kapil___ has quit [Quit: Connection closed for inactivity]
fba has joined #ruby
bmurt has joined #ruby
eldritch has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
Map has joined #ruby
jenrzzz has joined #ruby
Map is now known as Guest53556
Beams has quit [Quit: .]
eldritch has joined #ruby
eldritch has quit [Max SendQ exceeded]
shinnya has quit [Ping timeout: 260 seconds]
oleo has joined #ruby
memo1 has joined #ruby
jottr_ has joined #ruby
kiltzman has quit [Ping timeout: 276 seconds]
eldritch has joined #ruby
eldritch has quit [Max SendQ exceeded]
oleo has quit [Remote host closed the connection]
kiltzman has joined #ruby
eldritch has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
oleo has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
n0m4d1c has quit [Remote host closed the connection]
mtkd has quit []
sylario has joined #ruby
tvw has joined #ruby
cdg has joined #ruby
drewmcmillan has joined #ruby
jaruga has quit [Ping timeout: 240 seconds]
mcr1 has joined #ruby
Beams has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
fba has quit [Ping timeout: 240 seconds]
aguestuser has quit [Remote host closed the connection]
pppktz has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
aguestuser has joined #ruby
achen has joined #ruby
achen has quit [Client Quit]
achen has joined #ruby
pppktz has joined #ruby
logoscoder_ has joined #ruby
logoscoder has quit [Ping timeout: 240 seconds]
achen has quit [Client Quit]
achen has joined #ruby
jaruga has joined #ruby
logoscoder_ has quit [Ping timeout: 248 seconds]
FastJack has quit [Ping timeout: 265 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
FastJack has joined #ruby
jenrzzz has joined #ruby
ski7777 has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
jeffreylevesque has quit [Read error: Connection reset by peer]
Beams_ has joined #ruby
Beams has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
anjen has quit [Quit: anjen]
stormpack has quit [Quit: Leaving]
mtkd has joined #ruby
anjen has joined #ruby
DTZUZU has quit [Ping timeout: 268 seconds]
ledestin has joined #ruby
logoscoder has joined #ruby
cdg has joined #ruby
cdg_ has joined #ruby
McSoFake has joined #ruby
mtkd has quit []
cdg has quit [Ping timeout: 265 seconds]
pastorinni has joined #ruby
rwb has joined #ruby
cdg has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
achen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg_ has quit [Ping timeout: 265 seconds]
bigblind has quit [Ping timeout: 248 seconds]
jeffreylevesque has joined #ruby
shpoont has joined #ruby
xerxes has quit [Remote host closed the connection]
joe_from_maine has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jeffreylevesque has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
mtkd has joined #ruby
DTZUZU has joined #ruby
achen has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
mtkd has quit []
jamesaxl has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
ski7777 has joined #ruby
jeffreylevesque has joined #ruby
Cavallari has quit [Quit: Cavallari]
akkad has left #ruby ["ERC (IRC client for Emacs 25.3.1)"]
Rapture has joined #ruby
k0mpa has joined #ruby
qyliss has quit [Quit: bye]
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
qyliss has joined #ruby
jnollette has quit [Ping timeout: 255 seconds]
jnollette has joined #ruby
ts__ has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
jottr has joined #ruby
goatish has quit [Quit: Hibernating]
jottr_ has quit [Ping timeout: 256 seconds]
DTZUZU has quit [Ping timeout: 276 seconds]
cschneid has joined #ruby
netherwolfe has joined #ruby
codepete has quit [Read error: Connection reset by peer]
skmp has quit [Ping timeout: 240 seconds]
r3my has quit [Ping timeout: 265 seconds]
chromis has quit [Read error: Connection reset by peer]
avdi has quit [Ping timeout: 240 seconds]
manveru has quit [Read error: Connection reset by peer]
JJonah has quit [Read error: Connection reset by peer]
cschneid has quit [Ping timeout: 240 seconds]
rfv has quit [Read error: Connection reset by peer]
codepete has joined #ruby
skmp has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
rfv has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
manveru has joined #ruby
avdi has joined #ruby
r3my has joined #ruby
JJonah has joined #ruby
karapetyan has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Mike11 has joined #ruby
jottr has quit [Quit: WeeChat 2.0.1]
Gnut has joined #ruby
<Gnut>
Is there a good way to remove objects from an array based on a condition
cdg has quit [Remote host closed the connection]
karapetyan has joined #ruby
cschneid has joined #ruby
cschneid has quit [Read error: Connection reset by peer]
cdg has joined #ruby
<darix>
Gnut: array.reject { |e| ... } ?
cschneid has joined #ruby
<Gnut>
I'm loading a set of object from one location then loading a string array from another location and I want to say, if object in the first list don't match one in the second list, remove it
<Gnut>
darix: let me check that out
<darix>
>> ((1...10).to_a.reject {|e| e % 2 == 0}
<ruby[bot]>
darix: # => /tmp/execpad-d0d7ba262428/source-d0d7ba262428:3: syntax error, unexpected keyword_rescue, expecting ...check link for more (https://eval.in/965960)
<eam>
the second lambda you create is called "lambda_2"!
nowhereman_ has joined #ruby
<eam>
you can call a string in ruby too, fwiw
<eam>
send, etc
<dminuoso>
eam: Check out the official webpage. If the initial examples are filled with anti-intellectualism, then it's a good bet it wont change.
<dminuoso>
Golang is a wonderful example of this.
<eam>
ah yes
<eam>
go has a special place in my heart as it really has no excuse for getting unix so wrong given who its authors are
<eam>
and yet
<dminuoso>
golang is designed to have only features accessible by the common denominator, which is set at the lowest possible threshold.
<dminuoso>
that tells you how much (lack) of abstractions you get.
willmichael has quit [Ping timeout: 276 seconds]
<eam>
it drives me crazy when people say things like "golang is a systems programming language" -- you can't even call fork() in it
<eam>
it's basically java-lite. Which is an ok thing to be!
<dminuoso>
It's Java without the tools that make Java bearable.
<dminuoso>
It's insane.
<dminuoso>
Java has fully blown higher kinded types. Java has generics.
<dminuoso>
It just has a terrible community and a horrifying noisy syntax, but it has plenty strong features.
nowhere_man has quit [Ping timeout: 260 seconds]
<eam>
have you ever written a c extension in go?
<dminuoso>
No
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<eam>
ok so, you know how go gets so authoritarian over proper syntax, formatting, process, layout, etc?
<dminuoso>
eam: Not sure what exactly you are getting at
cdg has joined #ruby
<dminuoso>
eam: Are you talking about Rob and Ken being guilty for making Go the way it is?
riotjones has quit [Ping timeout: 260 seconds]
cdg has quit [Remote host closed the connection]
<eam>
well, this is in stark contrast to how C extensions are done which is "stick a bunch of C code in a comment in your go file and it'll just magically compile it"
cdg has joined #ruby
[Butch] has quit [Read error: Connection reset by peer]
<eam>
it's so incredibly slapdash
[Butch] has joined #ruby
<dminuoso>
wait what?
<dminuoso>
eam: That's CVS level of "lets just use comments to integrate this and that"
<eam>
/* #include <stdlib>; int thingy(..) { *p = *q } */ // thingy() will be visible to the go module this comment is included in
<eam>
you get a #cgo pragma to send the compiler flags and the rest gets slurped out into cc
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
anisha has joined #ruby
tomphp has joined #ruby
cdg_ has joined #ruby
PMS has joined #ruby
karapetyan has joined #ruby
<dminuoso>
eam: Simplicity!
ramfjord has quit [Ping timeout: 240 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<eam>
it's not the craziest thing but I found it rather in contrast to the rigidity found elsewhere
tomphp has quit [Client Quit]
cdg has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
<dminuoso>
eam: Though in all fairness, build systems are a majorly complicated topic.
<gizmore>
build systems are all horrible.. i love the F5 toolchain
pastorinni has joined #ruby
pastorinni has quit [Remote host closed the connection]
tomphp has quit [Client Quit]
<dminuoso>
Until this day, there is not a single language that has a robust build chain, that allows you to easily integrate say native extensions, manage dependencies, configuration - perhaps even deployment..
pastorinni has joined #ruby
<dminuoso>
eam: Whatever go has to offer, it's tons better than trying to use any of GNU autotools to wire some native extension into say ruby.
<eam>
there is a language which does all that, and it's the lingua franca of FFI -- it's called C :)
<eam>
yeah autotools are garbage
<eam>
but the thing is they're optional
<dminuoso>
eam: that depends on what you are doing.
<eam>
I just don't use them
<dminuoso>
eam: If you are writing a kernel from scratch using GCC, you have locked yourself into a small room with a crazy clown.
<eam>
eh, it's not bad at all
workmad3 has quit [Ping timeout: 276 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<dminuoso>
eam: Ive debugged my share of m4 macros and configure scripts.
<eam>
most projects would be better off with a simple makefile
<dminuoso>
eam: Im quite curious how well cabal turns out in Haskell. So far it has been curiously hassle free, but something that "just works out of the box" is bound to become... "interesting" when things become non-trivial.
kies has quit [Ping timeout: 256 seconds]
<dminuoso>
But yeah, GNU make is (for a GNU project) surprisingly good on its own.
<eam>
every language has to invent its own build system, its own packaging system
willmichael has joined #ruby
<eam>
kinda wish everyone would just go back to agreeing to use common infra like make
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<eam>
and some kind of universal packaging structure
<dminuoso>
eam: If we can agree to ditch C worldwide..
<eam>
I spent a few years writing similar translators between packaging systems
<eam>
now packaging is dead, because we just build entire containers and toss them each time we change them
SeepingN has joined #ruby
<eam>
maybe the dockerfile is the replacment for both build time and run time dependency management
tomphp has quit [Client Quit]
<eam>
I'm gonna end up a grumpy old gramps shaking my walking stick at kids these days who don't care about what's going on inside their build container
schneider has joined #ruby
<dminuoso>
eam: That already happens.
jnollette has quit [Ping timeout: 255 seconds]
<eam>
:D
<eam>
the future is now
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
eam: How many people using docker do you think even know what lxc is
<eam>
like none
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
<eam>
I have a whole presentation for breaking down containers for app engineers
<dminuoso>
eam: You mean beyond some complete garbage "look the kernel consists of 3 things" ?
mtkd has joined #ruby
<dminuoso>
Because that seems to be the knowledge bolted into everyone I meet who uses Docker.
<eam>
yeah it's basically a "so docker is just an interface into these existing features of the kernel. it's productionalizing access to them"
jnollette has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
<craysiii>
anyone know of a semi-current SIP client gem?
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<dminuoso>
craysiii: Low level primitive? Whats the purpose?
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
jaruga has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<craysiii>
i'm considering writing a wrapper for a service which provides some SIP endpoints, would like to be able to bundle that in
priodev has quit [Ping timeout: 256 seconds]
drewmcmillan has quit [Read error: Connection reset by peer]
drewmcmi_ has joined #ruby
ramfjord has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
anisha has quit [Quit: This computer has gone to sleep]
bmurt has joined #ruby
* dminuoso
imagines craysiii was tasked to "We decided to sell a new product. Video telephony over the internet. Mr craysiii, you said you knew what SIP was" - "What I meant I _have_ a SIP capa..." - "That's good enough. We want to start selling in 4 weeks"
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<craysiii>
Haha in some way I wish that was the case - it would mean I have a dev job :P
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
n008f4g_ has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
guacamole has quit [Client Quit]
<craysiii>
Really I am just interested in learning Ruby more, creating open source gems, and hopefully getting a Ruby job one day
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
karapetyan has quit [Remote host closed the connection]
govg has quit [Ping timeout: 252 seconds]
LocaMocha has quit [Read error: Connection reset by peer]
mcr1 has joined #ruby
guacamole has quit [Client Quit]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
bmurt has quit [Ping timeout: 256 seconds]
mniip has quit [Ping timeout: 240 seconds]
jaruga has quit [Read error: Connection reset by peer]
guille-moe has joined #ruby
priodev has joined #ruby
starseed0000 has quit [Ping timeout: 265 seconds]
tomphp has quit [Ping timeout: 256 seconds]
PMS has quit [Ping timeout: 268 seconds]
karapetyan has joined #ruby
mniip has joined #ruby
InfinityFye has quit [Ping timeout: 240 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jaruga has joined #ruby
InfinityFye has joined #ruby
hackeron has joined #ruby
spiette has quit [Quit: :qa!]
hinbody has quit [Quit: leaving]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
cdg has joined #ruby
karapetyan has joined #ruby
elcontrastador has joined #ruby
jaruga has quit [Quit: jaruga]
funnel has quit [Ping timeout: 240 seconds]
cdg_ has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
n0m4d1c_ has quit [Remote host closed the connection]
funnel has joined #ruby
hahuang65 has joined #ruby
kies has joined #ruby
szulak has quit [Remote host closed the connection]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
coderphive has joined #ruby
segy has joined #ruby
aguestuser has quit [Remote host closed the connection]
Rr4sT has quit [Quit: Connection closed for inactivity]
aguestuser has joined #ruby
Dimik has joined #ruby
karapetyan has quit [Remote host closed the connection]
cschneid has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
hinbody has joined #ruby
karapetyan has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<kspencer>
did find this way, paths = [];ENV['PATH'].split(':').each { |path| paths << Pathname(path) }
hahuang65 has joined #ruby
<kspencer>
though that may not be very platform independent
Mike11 has joined #ruby
PMS has joined #ruby
PMS has quit [Client Quit]
cadillac_ has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
bweston92 has joined #ruby
starseed0000 has joined #ruby
xtsee has quit [Quit: WeeChat 1.9.1]
<kspencer>
although I kinda want to cut out the << bit but can't think how, I want to say map could do it.. but not to sure on classes
faelkle has left #ruby [#ruby]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
drewmcmillan has joined #ruby
memo1 has joined #ruby
tomphp has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
GotHyper has quit [Ping timeout: 256 seconds]
GotHyper has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
dinfuehr_ has joined #ruby
prutheus has joined #ruby
<prutheus>
Hello. I want to build a gem (mysql2) on windows: gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:/Program Files/MySQL/MySQL Connector C 6.1"'
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 276 seconds]
memo1 has quit [Read error: No route to host]
<prutheus>
But for some reason i fail with: Cannot find include dir(s) C:/Program/include
dmitriy_ has joined #ruby
<prutheus>
why is the path not working like i set it?
dmitriy_ has quit [Read error: Connection reset by peer]
jcalla has quit [Quit: Leaving]
kapil___ has quit [Quit: Connection closed for inactivity]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
willmichael has quit [Read error: Connection reset by peer]
desperek has quit [Quit: xoxo]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has quit [Read error: Connection reset by peer]
<qyliss>
prutheus: some sort of quoting issue
faelkle has joined #ruby
faelkle has quit [Changing host]
faelkle has joined #ruby
<prutheus>
any idea how to quite it right?
faelkle has left #ruby [#ruby]
Yzguy has joined #ruby
tomphp has joined #ruby
<qyliss>
What happens if you don't use the double quotes?
<kspencer>
qyliss: thanks for that, though i'm having another problem, I'm unsure how to have my script check if PATH contains that path, providing that it seems since I have it set in .profile, but yet when it grabs the list, that directory isn't in there, though I assume that's due to how ENV pulls its variables (shell wise)
<qyliss>
ENV gets all the environment variables from its parent process. How are you running the script?
<kspencer>
bundler i guess, bundler exec gem-executable
<qyliss>
Does the directory show up when you run `echo $PATH`?
<kspencer>
yes
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<prutheus>
however i solved it
<prutheus>
but how can i pass such arguments in my gem file to bundler?
<qyliss>
If you run `ruby -e "puts ENV['PATH']"` (no `bundle exec`) does it show up?
<qyliss>
prutheus: you can't :(
<prutheus>
qyliss: but how to use that method in rails then?
<qyliss>
I think there might be something you can put in .bundle/config
karapetyan has quit [Remote host closed the connection]
<kspencer>
qyliss: its in ruby -e "puts ENV['PATH']"
shpoont has joined #ruby
<qyliss>
And if you `bundle exec` that?/
<kspencer>
bundle exec ruby -e ...?
<qyliss>
yeah
<prutheus>
hwoever how can i isntall it in rails?
minimalism has joined #ruby
karapetyan has joined #ruby
<kspencer>
qyliss: its in there too o_O
<qyliss>
prutheus: Bundler will pick up local gems you've installed manually
<qyliss>
kspencer: something else in your program must be messing with ENV
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<prutheus>
but bundler is fetching it and isntalling it
<prutheus>
so how let it using the local installed gem?
<qyliss>
What's in .bundle/config?
<prutheus>
does not exists
<qyliss>
it should do that by default
<qyliss>
hmm
<qyliss>
I'm not sure, sorry
<prutheus>
if i leave it out of my gemfile it complains Gem::LoadError: mysql2 is not part of the bundle. Add it to your Gemfile.
<prutheus>
and if i put it in it installs the binary and not the working version i have compiled