havenwood has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
kgrz has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sepp2k has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 255 seconds]
<yxhuvud>
ttilus: no, them being people that package stuff for redhat/fedora. If jruby does it too, then it may be that bundler knows how to manage that with the support for different environments it does have.
erpuds has quit [Quit: erpuds]
jxie has joined #ruby-lang
erpuds has joined #ruby-lang
erpuds has quit [Client Quit]
marr has joined #ruby-lang
cirenyc has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
cirenyc has quit [Ping timeout: 256 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
MaddinXx_ has joined #ruby-lang
mytrile has joined #ruby-lang
mrfelix has joined #ruby-lang
dr_bob has joined #ruby-lang
idkazuma has joined #ruby-lang
alex-quiterio has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
jastix has joined #ruby-lang
benanne has joined #ruby-lang
toretore has joined #ruby-lang
ubersapiens has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
dr_bob has quit [Quit: Leaving.]
alessio_rocco has joined #ruby-lang
symm- has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
symm- has quit [Ping timeout: 258 seconds]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 255 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
liudelong has joined #ruby-lang
sush24 has joined #ruby-lang
security has joined #ruby-lang
megha has quit [Ping timeout: 264 seconds]
jastix has quit [Remote host closed the connection]
mbj has joined #ruby-lang
happydude has joined #ruby-lang
swav has joined #ruby-lang
workmad3 has joined #ruby-lang
swav has quit [Ping timeout: 246 seconds]
ubersapiens has quit [Ping timeout: 245 seconds]
mytrile has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
gix has quit [Ping timeout: 248 seconds]
judofyr has joined #ruby-lang
gix has joined #ruby-lang
ruby-lang579 has joined #ruby-lang
ruby-lang579 has quit [Client Quit]
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
GeissT has quit [Read error: Connection reset by peer]
GeissT has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
thone has quit [Ping timeout: 252 seconds]
thone has joined #ruby-lang
oddmunds has quit [Ping timeout: 245 seconds]
oddmunds has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
jastix has joined #ruby-lang
thone has quit [Ping timeout: 245 seconds]
thone has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jastix has quit [Remote host closed the connection]
sush24 has quit [Quit: Leaving]
dhruvasagar has joined #ruby-lang
thone has quit [Ping timeout: 256 seconds]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
idkazuma has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
thone has joined #ruby-lang
waxjar_ has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
waxjar has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
dhruvasagar has joined #ruby-lang
<charliesome>
"how good is autotools" - said no one ever
srbaker has joined #ruby-lang
vlad_starkov has joined #ruby-lang
happydude has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
erikh has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
mrfelix has quit [Quit: Computer has gone to sleep.]
<erikh>
hi friends -- anyone seeing some weirdness under 2.0.0-p0 where killing a rake process with multiple threads keeps the other threads alive while killing the main thread?
mrfelix has joined #ruby-lang
<erikh>
it's a minitest suite, seen this in a few places but I'm not sure it's minitest.
<erikh>
wow, no ryan? that is rather surprising
thone has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
kgrz has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
mytrile has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
divout has joined #ruby-lang
waxjar has quit [Ping timeout: 258 seconds]
thone has joined #ruby-lang
waxjar has joined #ruby-lang
thone has quit [Ping timeout: 276 seconds]
thone has joined #ruby-lang
postmodern has quit [Quit: Leaving]
thone has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 256 seconds]
thone has joined #ruby-lang
thone has quit [Ping timeout: 256 seconds]
mytrile has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
<charliesome>
has anyone ever put in a feature request to remove :: method calls?
vlad_sta_ has joined #ruby-lang
thone has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
mbj_ has joined #ruby-lang
sepp2k has joined #ruby-lang
sepp2k1 has quit [Ping timeout: 256 seconds]
thone has quit [Ping timeout: 256 seconds]
thone has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 258 seconds]
mbj has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
slacko23896 has joined #ruby-lang
srbaker has joined #ruby-lang
slacko23896 has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 256 seconds]
srbaker has joined #ruby-lang
rippa has joined #ruby-lang
vlad_starkov has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
adambeynon has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 272 seconds]
baba has quit [Ping timeout: 240 seconds]
srbaker has joined #ruby-lang
baba has joined #ruby-lang
srbaker has quit [Client Quit]
xcombelle has joined #ruby-lang
thone has quit [Read error: Operation timed out]
wallerdev has joined #ruby-lang
adambeynon has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
srbaker has quit [Client Quit]
<mbj>
whitequark: There is only one metadata key? :source_map, cant we just skip the hash, and se source_map as a 3rd argument to AST::Node constructor?
<mbj>
whitequark: Could also default to nil.
wallerdev has quit [Quit: wallerdev]
<whitequark>
mbj: yes
cordax has joined #ruby-lang
guiambros has quit [Quit: Leaving]
srbaker has joined #ruby-lang
mytrile has joined #ruby-lang
<mbj>
whitequark: okay
r0bgleeson has joined #ruby-lang
guiambros has joined #ruby-lang
<TTilus>
yxhuvud: afaik jruby does not do it
sush24 has quit [Quit: This computer has gone to sleep]
vlad_sta_ has joined #ruby-lang
bothra has quit [Read error: Connection reset by peer]
bothra has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
TheNotary has quit [Quit: Leaving]
thone has joined #ruby-lang
guiambros has quit [Quit: Leaving]
thone has quit [Read error: Operation timed out]
thone has joined #ruby-lang
guiambros has joined #ruby-lang
wallerdev has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
sush24 has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has quit [Ping timeout: 252 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
marr has joined #ruby-lang
tomzx_mac has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
kristofferrr has joined #ruby-lang
xcombelle has quit [Ping timeout: 256 seconds]
slowhands has joined #ruby-lang
unstable has joined #ruby-lang
sepp2k has joined #ruby-lang
arubin has joined #ruby-lang
unstable has left #ruby-lang [#ruby-lang]
Mon_Ouie has joined #ruby-lang
xcombelle has joined #ruby-lang
plurt has joined #ruby-lang
jxie has joined #ruby-lang
plurt has quit [Client Quit]
marr has quit [Ping timeout: 264 seconds]
<whitequark>
mbj: ok... only case/when and rescue/ensure maps left!
vlad_starkov has joined #ruby-lang
blacktulip has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
TheNotary has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
slowhands has quit [Read error: Connection reset by peer]
slowhands has joined #ruby-lang
spuk has quit [Ping timeout: 252 seconds]
spuk has joined #ruby-lang
divout has quit [Quit: Leaving.]
mwjcomputing has joined #ruby-lang
thone has quit [Ping timeout: 246 seconds]
thone has joined #ruby-lang
sush24 has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
psyanid3 has joined #ruby-lang
psyanid3 has quit [Client Quit]
jovy88 has quit [Ping timeout: 258 seconds]
achiu has quit [Quit: WeeChat 0.4.0]
brianpWins has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
<TheNotary>
Does logger.rb have a setting for "trim the first 500 lines of the log file if log_file.size >= max_log_file_size"?
achiu has joined #ruby-lang
achiu has quit [Client Quit]
<TheNotary>
i'm not very experienced with log files (and I'm not a UNIX pro yet) but that above algo is my expected log file size handling algo
<TheNotary>
maybe i'm odd in this respect?
achiu has joined #ruby-lang
<TheNotary>
I'm about to do a quick gem for logger-tidy that adds this feature unless it's a dumb feature
symm- has joined #ruby-lang
t_ has joined #ruby-lang
marr has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
dhruvasagar has joined #ruby-lang
srbaker has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
pskosinski has joined #ruby-lang
srbaker has quit [Client Quit]
amerine has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 252 seconds]
zmike has joined #ruby-lang
zmike has quit [Read error: Connection reset by peer]
sush24 has quit [Ping timeout: 246 seconds]
sush24 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
weeb1e has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sush24 has quit [Quit: This computer has gone to sleep]
erpuds has joined #ruby-lang
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
guiambros has quit [Ping timeout: 252 seconds]
guiambros has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
jovy88 has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
xcombelle has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.]
bnagy has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby-lang
mytrile has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
blacktulip has joined #ruby-lang
mytrile has quit [Ping timeout: 256 seconds]
<r0bgleeson>
is it possible to make a subprocess aware of new FDs created in the parent after the spawn of a subprocess?
mwjcomputing has quit [Quit: Leaving]
adambeynon has joined #ruby-lang
tylersmith has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
workmad3 has joined #ruby-lang
<rue>
r0bgleeson: Yes. With IPC
bnagy has joined #ruby-lang
AJA_ has joined #ruby-lang
<rue>
There’s actually a trick to /transport/ an FD into a different process, but kinda eugh. Rather maybe use the shared accept socket or something.
erpuds has quit [Quit: erpuds]
tylersmith has quit [Quit: tylersmith]
AJA_ has quit [Client Quit]
<whitequark>
hi yorickpeterse
workmad3 has quit [Ping timeout: 255 seconds]
<r0bgleeson>
rue: do you have an example/more information?
<r0bgleeson>
rue: the issue right now is that the new FDs are created after the child, the child uses for_fd(…) to get at the new FDs(which the child can not load)
<r0bgleeson>
ah actully, after writing that, maybe it is a time issue
<rue>
What are the FDs /for/?
<rue>
Can you create them up front?
<r0bgleeson>
a pair of UNIXSockets
<r0bgleeson>
I could, but it is more of an API question for me, whether or not the user will be forced to create them upfront
<rue>
If it’s accept()able sockets, it’s easy to solve. Can’t the children create the sockets just as well, if not?
<r0bgleeson>
the problem is sort of complex, but the whole idea is for the parent to create the sockets so that the child can write to them & the parent can pick up whatever was written later on.
<r0bgleeson>
works fine if the socket is created before the fork, blows up otherwise
guiambros has quit [Ping timeout: 252 seconds]
AJA has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
retro|cz has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby-lang
weeb1e has quit [Remote host closed the connection]
<whitequark>
r0bgleeson: you can create a pipe
<whitequark>
and pass fds through it
weeb1e has joined #ruby-lang
<whitequark>
to my knowledge, there isn't any other way to share fd's, except opening them without O_CLOEXEC and forking, or passing through pipes.
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
<r0bgleeson>
whitequark: already using a named pipe to transport the FDs
<r0bgleeson>
whitequark: the problem is they cannot be re-initialized with the FDs since they were created after the fork
brianpWins has joined #ruby-lang
<r0bgleeson>
whitequark: maybe its just a limitation i have to work within
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
<whitequark>
r0bgleeson: re-initialized?
<r0bgleeson>
whitequark: in the child I say, UNIXSocket.for_fd fd_created_after_fork, thats what I meant by 're-initialize'.
Caius has joined #ruby-lang
<r0bgleeson>
whitequark: the error I get back is Bad File Descriptor (forget the Errno for that)
havenwood has quit [Ping timeout: 276 seconds]
<whitequark>
-EBADF
<whitequark>
(why the hell do i know that)
<whitequark>
r0bgleeson: hm. how do you transport the fds via pipe?
<r0bgleeson>
whitequark: the most minimal case I can show you is clouded in my gems. basically, i have a process pool that uses a named pipe(UNIXSocket) to send over the FDs after they've been created, and those FDs are passed to UNIXSOcket.for_fd
<r0bgleeson>
UNIXSocket.for_fd*
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
<whitequark>
r0bgleeson: so... do you use Socket::AncillaryData and friends?
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<erikh>
sorry to be so persistent, but has anyone seen an issue with rake swallowing Interrupt in something it's forking on (e.g., test run) and aborting, but the child process stays around?
<erikh>
almost like it was setsid or something.
Xuerian has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
tockitj has joined #ruby-lang
skinny_much has joined #ruby-lang
<akahn>
I'm testing a sinatra application with rack test. is there a way, when the application returns a 500, to see the ruby exception that the app raised? I'd like something easier than scanning through the HTML output of `puts last_response.body`
<whitequark>
erikh: hello again!
<erikh>
hi
havenwood has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Ping timeout: 272 seconds]
tbuehlmann has quit [Ping timeout: 260 seconds]
benanne has joined #ruby-lang
Bosox20051 has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
mbj_ has joined #ruby-lang
cored has joined #ruby-lang
mbj has quit [Ping timeout: 260 seconds]
alessio_rocco has quit [Ping timeout: 264 seconds]
mytrile has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
guiambros has joined #ruby-lang
skinny_much is now known as zz_skinny_much
vlad_starkov has quit [Ping timeout: 256 seconds]
guiambros has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby-lang
fosky has joined #ruby-lang
alessio_rocco has joined #ruby-lang
havenwood has joined #ruby-lang
zz_skinny_much is now known as skinny_much
weeb1e_ has quit [Quit: No Ping reply in 180 seconds.]