guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
dionysus69 has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
chmuri has quit [Excess Flood]
n008f4g_ has joined #ruby
jottr has joined #ruby
andikr has joined #ruby
chmurifree has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
za1b1tsu has joined #ruby
zenspider has quit [Read error: No route to host]
jottr has quit [Ping timeout: 264 seconds]
conta has joined #ruby
zenspider has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
zenspider has quit [Changing host]
zenspider has joined #ruby
phate408 has quit [Ping timeout: 256 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax_ has joined #ruby
tuelz has joined #ruby
anisha_ has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
aufi has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
cdg has joined #ruby
pelegreno has joined #ruby
clemens3 has joined #ruby
Burgestrand has joined #ruby
kapil___ has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
suukim has joined #ruby
cdg has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
faces has quit [Read error: Connection reset by peer]
faces has joined #ruby
rshetty has quit []
rshetty has joined #ruby
schneider has joined #ruby
claudiuinberlin has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
tomphp has joined #ruby
remix2000 has quit [Quit: milk]
amatas has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
amatas has quit [Client Quit]
amatas has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shpoont has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
Fysicus has quit [Excess Flood]
Fysicus has joined #ruby
jaequery has joined #ruby
chartractegg has joined #ruby
linduxed has quit [Quit: WeeChat 2.0.1]
jaequery has quit [Client Quit]
jaequery has joined #ruby
anisha_ has quit [Ping timeout: 256 seconds]
rexan has joined #ruby
rshetty has joined #ruby
anisha_ has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
psychicist__ has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
VladGh_ has joined #ruby
sylario has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
dr3w_ has joined #ruby
Guest1156 has quit [Read error: Connection reset by peer]
linduxed has joined #ruby
dr3w_ has quit [Client Quit]
Guest1156 has joined #ruby
VladGh has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
rshetty has quit [Ping timeout: 260 seconds]
<kke>
hmm. bundler fails to fetch gems due to timeout, the url it displays downloads just fine on the same machine using browser. anyone else having problems with it?
<MarcWeber>
I know - but I don't want to spend 30min on writing trivial perfect code just to get some lines thniking about pipe cache sizes and all the stuff.
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<MarcWeber>
And how to use threading and or select to get the job done.
roshanavand has joined #ruby
ellcs has joined #ruby
<havenwood>
MarcWeber: Happy to help, but you'll have to say what you're trying to do. Do backticks suffice?
<MarcWeber>
but captuer2e is good enough.
<havenwood>
yeah, 2e is simple
<MarcWeber>
I need stdin, I need to verify exit code is 0. And I need to capture stdout.
suukim has quit [Remote host closed the connection]
<MarcWeber>
And it would be nice to catch deadlocks, thus add a timetou.
<MarcWeber>
But I don't need timeout, so capture2 will be good enough.
suukim has joined #ruby
sauvin_ has joined #ruby
sauvin_ has quit [Remote host closed the connection]
sauvin_ has joined #ruby
sauvin has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
riotjones has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
chartractegg has quit [Quit: bye bye!]
ta_ has quit [Remote host closed the connection]
Silthias has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
riotjones has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ta_ has joined #ruby
<morfin>
not this again
<morfin>
same issue with mysql2 gem and liconv :(
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
dr3w_ has joined #ruby
einarj has joined #ruby
venmx has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
ryzokuken has joined #ruby
Mike11 has joined #ruby
WhereIsMySpoon has joined #ruby
ta_ has quit [Remote host closed the connection]
jyaworski has joined #ruby
ta_ has joined #ruby
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 256 seconds]
jyaworski has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
ta_ has quit [Remote host closed the connection]
cdg has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ur5us has joined #ruby
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
shpoont has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
Serpent7776 has joined #ruby
jyaworski has joined #ruby
rshetty has joined #ruby
mjolnird has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
jottr has joined #ruby
ta_ has quit [Remote host closed the connection]
tpendragon has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
riotjones has joined #ruby
stoffus_ has quit [Quit: leaving]
ramfjord has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jyaworski has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
Beams has joined #ruby
jaequery has quit [Ping timeout: 276 seconds]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
ur5us has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
imode has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
lightstalker has quit [Ping timeout: 264 seconds]
tomphp has joined #ruby
phaul has joined #ruby
rshetty has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 264 seconds]
lunarkitty7 has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
riotjones has joined #ruby
rshetty has quit [Remote host closed the connection]
nowhereman_ has quit [Ping timeout: 263 seconds]
jyaworski has joined #ruby
Silthias has joined #ruby
WhereIsMySpoon has quit [Quit: WhereIsMySpoon]
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Changing host]
jyaworski has quit [Ping timeout: 240 seconds]
riotjones has quit [Remote host closed the connection]
lunarkitty7 has joined #ruby
rshetty has joined #ruby
rshetty has quit [Remote host closed the connection]
_rshetty_ has joined #ruby
ldepandis has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
_rshetty_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
rshetty has joined #ruby
james__ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
tcopeland has quit [Quit: tcopeland]
_rshetty_ has joined #ruby
tpendragon has quit [Ping timeout: 252 seconds]
rexan has quit [Ping timeout: 264 seconds]
apparition has joined #ruby
rexan has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
Papierkorb has joined #ruby
mojtaba has joined #ruby
tuelz has quit [Ping timeout: 245 seconds]
rexan has quit [Ping timeout: 240 seconds]
_rshetty_ has quit [Remote host closed the connection]
rexan has joined #ruby
mojtaba has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 248 seconds]
<marahin>
hey
<marahin>
I might be at a wrong place, but; with rspec's `double` is there a way to mimic hash method, so accessing values by key?
<marahin>
something like `a = double(test: 1); a[:test]`
Burgestrand has quit [Quit: Closing time!]
rahul_bajaj has joined #ruby
aupadhye__ has joined #ruby
<phaul>
something along the lines of allor to receive :[] with :test and return 1 should work
aupadhye has quit [Read error: Connection reset by peer]
aupadhye has joined #ruby
<phaul>
*allow*
rabajaj has quit [Read error: Connection reset by peer]
aupadhye_ has quit [Read error: Connection reset by peer]
rabajaj has joined #ruby
<marahin>
phaul yes, so that's what I thought with trying to mock the `.[]` method. Thank you, I'll try that out
aupadhye__ has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
rahul_bajaj has quit [Ping timeout: 260 seconds]
tuelz has joined #ruby
rexan has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
rexan has joined #ruby
mojtaba has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
Papierkorb has left #ruby ["Konversation terminated!"]
mojtaba has quit [Ping timeout: 240 seconds]
aupadhye__ has joined #ruby
james__ has quit [Quit: This computer has gone to sleep]
ramfjord has joined #ruby
jyaworski has joined #ruby
cdg has joined #ruby
WhereIsMySpoon has quit [Quit: WhereIsMySpoon]
ldnunes has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
Dimik has joined #ruby
RougeR has quit [Ping timeout: 245 seconds]
Cavallari has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
alfiemax has quit [Remote host closed the connection]
noobineer has joined #ruby
Psybur has joined #ruby
rshetty has joined #ruby
Mike111 has joined #ruby
Mike111 has quit [Client Quit]
reu has quit [Ping timeout: 256 seconds]
jyaworski has quit [Ping timeout: 240 seconds]
Mike11 has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
ldnunes has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
jenrzzz has joined #ruby
wickedbloodfart has joined #ruby
jottr has quit [Ping timeout: 263 seconds]
AJA4350 has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
noobineer has quit [Ping timeout: 264 seconds]
jeffreylevesque has quit [Ping timeout: 240 seconds]
rshetty has quit [Remote host closed the connection]
reu has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
phaul has quit [Ping timeout: 276 seconds]
rshetty has joined #ruby
synthroid has joined #ruby
riotjones has joined #ruby
rshetty has quit [Remote host closed the connection]
memo1 has quit [Ping timeout: 248 seconds]
rshetty has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryzokuken has quit [Quit: Connection closed for inactivity]
duderonomy has joined #ruby
Dimik has quit [Ping timeout: 256 seconds]
AkyRhO has joined #ruby
jimmylu2333-rpi3 has quit [Ping timeout: 256 seconds]
vondruch has quit [Ping timeout: 256 seconds]
AkyRhO has quit []
AkyRhO has joined #ruby
jimmylu2333-rpi3 has joined #ruby
bmurt has joined #ruby
phaul has joined #ruby
rshetty has quit [Remote host closed the connection]
qba73 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Changing host]
_phaul has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
JoshS has quit [Read error: Connection reset by peer]
JoshS has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
_phaul is now known as phaul
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
ecuanaso has joined #ruby
karapetyan has joined #ruby
rexan has quit [Read error: Connection reset by peer]
rexan has joined #ruby
shuforov has quit [Ping timeout: 246 seconds]
RougeR has quit [Ping timeout: 245 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
jottr has joined #ruby
WhereIsMySpoon has quit [Quit: WhereIsMySpoon]
shinnya has joined #ruby
dipnlik has joined #ruby
shuforov has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcopeland has joined #ruby
reber has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 256 seconds]
hinbody has quit [Disconnected by services]
reber has joined #ruby
jcalla has joined #ruby
ccooke has quit [Quit: Lost terminal]
ltt has joined #ruby
ccooke has joined #ruby
ecuanaso has joined #ruby
jenrzzz has joined #ruby
rshetty has joined #ruby
jyaworski has joined #ruby
rsh has joined #ruby
rshetty has quit [Ping timeout: 264 seconds]
jyaworski has quit [Ping timeout: 248 seconds]
kt has quit [Ping timeout: 256 seconds]
rshetty has joined #ruby
_rshetty_ has joined #ruby
kt has joined #ruby
_rshetty_ has quit [Read error: Connection reset by peer]
jyaworski has joined #ruby
rshetty has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
jottr has quit [Quit: WeeChat 2.0.1]
darix has quit [Quit: brb]
duderonomy has joined #ruby
andikr has quit [Remote host closed the connection]
riotjones has quit [Remote host closed the connection]
duderonomy has quit [Client Quit]
riotjones has joined #ruby
jrafanie has joined #ruby
aupadhye__ has quit [Quit: Leaving]
darix has joined #ruby
ramfjord has joined #ruby
<tabakhase>
uhm, i want to overwrite a single file inside a gem that i use with bundler - is there any easy way todo that other than a) forking and publish as own(gitref) or b) "just editing the gem and hoping noone runs "bundle update"?
<tabakhase>
like, throwing it into some seperate overwrite filepath thingy is what im thinking :D
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 264 seconds]
<phaul>
are the examples a separate instance from the one we mutate in the before block? must be..
rshetty has joined #ruby
<Burgestrand>
tabakhase absolutely, prepend your evil path of choice to $LOAD_PATH and whenever the file is required ruby will look in your evil path first
shinnya has quit [Ping timeout: 268 seconds]
jsrn has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
_rshetty_ has joined #ruby
<phaul>
I wanted to try rspecs bisect functionality but I guess it's not so easy to write leaky test :)
n13z has quit [Remote host closed the connection]
memo1 has joined #ruby
rshetty has quit [Read error: No route to host]
qba73 has quit [Ping timeout: 256 seconds]
<Burgestrand>
phaul make it a global :)
<Burgestrand>
phaul also, be wary of the order of your tests, I've a vague memory that rspec makes it random by default nowadays
<Burgestrand>
phaul the seed option is a way to ensure the order of tests is run the same between runs, too, even if they're normally ordered, same seed should result in same order
n0m4d1c has joined #ruby
_rshetty_ has quit [Remote host closed the connection]
qba73 has joined #ruby
ta_ has joined #ruby
shuforov has joined #ruby
vondruch has joined #ruby
rshetty has joined #ruby
Serpent7776 has quit [Ping timeout: 240 seconds]
<tabakhase>
Burgestrand that sounds about right thanks
<phaul>
ok thanks. I would have guessed that if you run with bisect it takes care of that stuff , but never tried, that's the point, Im just playing with this to see what it does
rshetty has quit [Read error: Connection reset by peer]
<tabakhase>
and i assume i dont need the gem&ruby-version or so in those paths? (to overwrite gems/2.4.0/gems/the-name-0.1.0/lib/mo/me.rb i would assume my overwrite goes into "$LOAD_PATH_ADDITION/the-name/lib/mo/me.rb ?)
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
qba73 has quit [Remote host closed the connection]
tomphp has quit [Read error: Connection reset by peer]
<Burgestrand>
tabakhase correct
Serpent7776 has joined #ruby
ltt has quit [Client Quit]
<Burgestrand>
tabakhase keep in mind that if your gem in mind uses e.g. `require_relative` or some other absolute path to its own files (which is bad practice, but that never stopped anybody) then your override might not work :)
qba73 has joined #ruby
ltt has joined #ruby
rshetty has joined #ruby
tomphp has joined #ruby
tcopeland has joined #ruby
qba73 has quit [Ping timeout: 240 seconds]
spiette has quit [Quit: :qa!]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
herbmillerjr has joined #ruby
nowhereman_ has joined #ruby
ikopico_ has quit [Quit: ZNC 1.6.5+deb2build2 - http://znc.in]
pastorinni has joined #ruby
k0mpa has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
konsolebox has joined #ruby
jimmylu2333-rpi3 has quit [Ping timeout: 256 seconds]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dr3w_ has joined #ruby
rshetty has quit [Remote host closed the connection]
jimmylu2333-rpi3 has joined #ruby
ltt has joined #ruby
nowhereman_ has quit [Ping timeout: 264 seconds]
qba73 has joined #ruby
nowhere_man has joined #ruby
_aeris_ has quit [Remote host closed the connection]
Rapture has joined #ruby
rshetty has joined #ruby
_aeris_ has joined #ruby
venmx has quit [Quit: Reconnecting]
venmx has joined #ruby
reber has quit [Quit: Leaving]
reber has joined #ruby
ta_ has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
aupadhye has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 240 seconds]
jyaworski has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
stormpack has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ltt has joined #ruby
jyaworski has quit [Ping timeout: 256 seconds]
mikkel-_ has quit [Ping timeout: 264 seconds]
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
Esa_ has joined #ruby
netherwolfe has joined #ruby
ramfjord has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
kapil___ has joined #ruby
qba73 has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
rexan has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Serpent7776 has joined #ruby
oleo has joined #ruby
npgm has joined #ruby
ams__ has joined #ruby
ecuanaso has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rexan has joined #ruby
flips has quit [Quit: bbl ...]
flips has joined #ruby
shuforov has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
TinkerT has quit [Read error: Connection reset by peer]
shuforov has joined #ruby
stoopidmunkey has joined #ruby
apparition has quit [Quit: Bye]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TinkerT has joined #ruby
chouhoul_ has joined #ruby
chouhou__ has joined #ruby
chouhou__ has quit [Remote host closed the connection]
suukim has quit [Quit: Konversation terminated!]
chouhoulis has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
rippa has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
chouho___ has joined #ruby
KeyJoo has quit [Remote host closed the connection]
riotjones has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 248 seconds]
riotjones has joined #ruby
Cavallari has quit [Quit: Cavallari]
shuforov has quit [Ping timeout: 240 seconds]
Serpent7776 has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
chouhoul_ has quit [Ping timeout: 276 seconds]
rshetty has joined #ruby
ecuanaso has joined #ruby
conta has quit [Ping timeout: 260 seconds]
<tabakhase>
hm, im not getting that LOAD_PATH overwrite to grip...guess ill just leave the "edited gem" and hope for my pullrequest to be accepted quickly ;D
riotjones has quit [Ping timeout: 256 seconds]
chouhoul_ has joined #ruby
chouho___ has quit [Ping timeout: 240 seconds]
<tabakhase>
still have not found the "loading line" of it (so it may be some broky relative load) - and ontop its "part of a gem thats in the gemspec of another gem that i call via bundler" - so i may be tossing a bunch of variables in there complicating that...
riotjones has joined #ruby
WhereIsMySpoon has joined #ruby
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
rshetty has quit [Ping timeout: 256 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
shuforov has joined #ruby
stoopidmunkey has quit [Remote host closed the connection]
anisha_ has quit [Quit: This computer has gone to sleep]
synthroid has quit [Remote host closed the connection]
bsamorim has joined #ruby
guacamole has quit [Client Quit]
<bsamorim>
Hi, guys! Could anyone tell me which unit is used in ObjectSpace.memsize_of(obj) 's return value?
schneider has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
Serpent7776 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
<bsamorim>
I couldn't find such info in the docs
argoneus has quit [Quit: No Ping reply in 180 seconds.]
Mike11 has joined #ruby
stoopidmunkey has joined #ruby
argoneus has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
aufi has quit [Quit: Leaving]
clemens3 has quit [Remote host closed the connection]
ellcs has quit [Remote host closed the connection]
Cthulu201 has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
alfiemax_ has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
Beams has quit [Quit: .]
RougeR has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cagomez has quit []
qba73 has quit [Ping timeout: 264 seconds]
cagomez has joined #ruby
einarj has quit [Remote host closed the connection]
gbailey has quit [Quit: ZNC - 1.6.0 - http://znc.in]
venmx has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
icarus has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
alfiemax has joined #ruby
Strepsils has joined #ruby
tomphp has joined #ruby
tuelz has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
rexan has joined #ruby
tomphp has quit [Client Quit]
jyaworski has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
alfiemax has quit [Ping timeout: 240 seconds]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
rexan has quit [Ping timeout: 240 seconds]
rexan has joined #ruby
tuelz has quit [Ping timeout: 252 seconds]
jyaworski has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
cdg has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
isaiahnixon has joined #ruby
argoneus has quit [Quit: No Ping reply in 180 seconds.]
alfiemax has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
argoneus has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bmurt has joined #ruby
<icarus>
Hi all, I'm in a bit of a rut with some sinatra code: `get '/:action' do |a| \n response = exec ( "ssh ..." ) \n puts response \n end`
tomphp has joined #ruby
n008f4g_ has joined #ruby
<icarus>
Basically I'm running `exec ( "ssh ..." )` to issue a local ssh command which correctly responds with json in the backend debug, but it won't response to the `curl 127.0.0.1:8080/action` call
phaul has quit [Quit: WeeChat 2.1]
<icarus>
Does anyone have any advice on setting a timeout?
phaul has joined #ruby
mjolnird has quit [Remote host closed the connection]
pd2000 has joined #ruby
raynold has joined #ruby
<isaiahnixon>
I am trying out this gem: https://github.com/joeellis/remote-sass. I installed it globally and then I added the RemoteSass.location line from the usage section of the README to a SASS file. When I try to compile it I am getting a syntax error: https://hastebin.com/ejusucafir.vbs. Did I install it wrong, or is the gem not working?
bmurt has quit [Ping timeout: 260 seconds]
<bsamorim>
icarus: why would you need a timeout?
<bsamorim>
I think the problem is with running `exec` in this case
ramfjord has joined #ruby
<bsamorim>
if you want to exec a bash statement and return to the caller program, yielding the command's output, your best choice would be using backticks
<havenwood>
icarus: Change exec to backticks. What bsamorim said.
<icarus>
aah, dang ill try that
<havenwood>
icarus: If you replace your Ruby process, it can't carry on.
<bsamorim>
so, your code would be `get '/:action' do |a| \n response = `ssh ...` \n puts response \n end`
rshetty has quit [Remote host closed the connection]
memo1 has quit [Ping timeout: 240 seconds]
SeepingN has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raz has quit [Ping timeout: 252 seconds]
tomphp has joined #ruby
giraffe has quit [Ping timeout: 240 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
jcarl43 has joined #ruby
raz has joined #ruby
raz has joined #ruby
raz has quit [Changing host]
<icarus>
havenwood: thanks for the suggestion on rack-timeout
shuforov has joined #ruby
<icarus>
Interesting, now its waiting for the response correctly, the backend is still showing the json response, but the `curl ...` outputs a blank response
<icarus>
A real improvement though, I'm trying body("")
dr3w_ has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
<icarus>
whooooo!!! thanks for the help yall
brucebag has quit [Quit: brucebag nipped out]
<mr-robert>
that or sinatra will take the block's return value as the response body.
tuelz has joined #ruby
tpendragon has joined #ruby
<al2o3-cr>
is it right for this expression to evaluate to a rational `2 ** -52`?
brucebag has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
jyaworski has joined #ruby
<havenwood>
al2o3-cr: yes
ltt has joined #ruby
<havenwood>
al2o3-cr: "The result may be an Integer, a Float, a Rational, or a complex number."
<havenwood>
(Nice updated docs for 2.5.)
<al2o3-cr>
havenwood: ah, ok. thanks
ramfjord has quit [Ping timeout: 240 seconds]
<al2o3-cr>
oh right yeah, it's right in front of me.
ecuanaso has joined #ruby
pd2000 has quit [Remote host closed the connection]
pd2000 has joined #ruby
Mike11 has quit [Ping timeout: 276 seconds]
jyaworski has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 260 seconds]
giraffe has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
n0m4d1c has joined #ruby
<mr-robert>
are -preview releases the same as release candidates?
<havenwood>
mr-robert: no, they're earlier
<mr-robert>
alright
<mr-robert>
thanks
<havenwood>
the preview1 was out earlier this year than ever before, to get early testing on the JIT
cdg_ has joined #ruby
<havenwood>
there will probably be a preview2 here in not too long
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
mattwr18 has quit [Quit: Page closed]
pastorinni has quit [Ping timeout: 264 seconds]
bruce_lee has quit [Remote host closed the connection]
<memo1>
hi, i want to run a ruby program that exceute a ffmpeg commad and at the same time monitor the filessytem to avoid disk full. I need to record video from a camara, with ffmpeg, but i cant control yet the disk. Ffmpeg blocks the script, so i dont know to monitor the disk at the same time.
Guest72808 has quit [Ping timeout: 256 seconds]
Olipro has joined #ruby
Olipro is now known as Guest38605
tcopeland has quit [Quit: tcopeland]
nertzy has quit [Ping timeout: 240 seconds]
eckhardt_ has quit [Read error: Connection reset by peer]
nertzy2 has joined #ruby
eckhardt_ has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
fhmax has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 260 seconds]
Guest38605 has quit [Changing host]
Guest38605 has joined #ruby
Guest38605 is now known as Olipro
Bosna has joined #ruby
matchaw has quit [Remote host closed the connection]
<mr-robert>
memo1: you could most likely use threads and a queue.
alfiemax has joined #ruby
sameerynho has joined #ruby
<memo1>
mr-robert: thank you, just starting using ruby. A good reference or help to do it?
venmx has joined #ruby
jyaworski has joined #ruby
matchaw has joined #ruby
<havenwood>
memo1: Are you familiar with Threads? Have you tried spinning up a simple Thread to monitor the disk?
<memo1>
havenwood: no
clemens3 has quit [Ping timeout: 240 seconds]
<memo1>
havenwood: i recently works with eventmachine
jp has quit [Read error: Connection reset by peer]
<mr-robert>
i would spawn two threads, one to run ffmpeg and the other to monitor the disk, with the main thread responsible for polling a queue and killing the ffmpeg thread.
jp has joined #ruby
jp has quit [Remote host closed the connection]
jp has joined #ruby
<memo1>
mr-robert: in my case, is not killing ffmeg, erasing all data
<memo1>
mr-robert: erasing old data, sry
kapil___ has quit [Quit: Connection closed for inactivity]
ldnunes has quit [Quit: Leaving]
<mr-robert>
oh ok. i would still do that on the main thread. i don't know of any good tutorials.
jp has quit [Client Quit]
jp has joined #ruby
karapetyan has quit []
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Ping timeout: 268 seconds]
n008f4g_ has quit [Ping timeout: 240 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Puffball has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jyaworski has quit [Ping timeout: 264 seconds]
marxarelli|afk is now known as marxarelli
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
John_Ivan has quit [Read error: Connection reset by peer]