Ittay Dror wrote:
Hi Victor,
I have a buildfile with only this:
puts %{echo hi}
When invoked normally, 'hi' is printed. But when I invoke using the
dbuildr script, nothing is printed, except for a message:
deadlock 0xb7fcf1b8: sleep:
this is what i get when running ruby with -d and dbuildr with --trace:
(in /tmp, development)
deadlock 0xb7fbc1bc: sleep:J(0xb7c82410)Exception `Errno::EINVAL' at
/usr/lib/ruby/1.8/drb/drb.rb:946 - Invalid argument
(main) - /work/research/buildr/addon/buildr/drb.rb:174
Exception `Errno::EBADF' at /usr/lib/ruby/1.8/drb/drb.rb:936 - Bad file
descriptor
Exception `DRb::DRbConnError' at /usr/lib/ruby/1.8/drb/drb.rb:570 -
connection closed
Exception `Errno::EPIPE' at /usr/lib/ruby/1.8/drb/drb.rb:626 - Broken pipe
Exception `DRb::DRbConnError' at /usr/lib/ruby/1.8/drb/drb.rb:628 -
Broken pipe
Exception `DRb::DRbConnError' at /usr/lib/ruby/1.8/drb/drb.rb:608 - Bad
file descriptor
Exception `Errno::EBADF' at /usr/lib/ruby/1.8/drb/drb.rb:936 - Bad file
descriptor
Buildr aborted!
Bad file descriptor
/usr/lib/ruby/1.8/drb/drb.rb:936:in `close'
/usr/lib/ruby/1.8/drb/drb.rb:936:in `close'
/usr/lib/ruby/1.8/drb/drb.rb:1206:in `close'
/usr/lib/ruby/1.8/drb/drb.rb:1188:in `open'
/usr/lib/ruby/1.8/drb/drb.rb:1092:in `method_missing'
/usr/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend'
/usr/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
/tmp/buildfile:1:in ``'
/tmp/buildfile:1
Do you have any idea why this is happening? (I use ruby 1.8.7 and
buildr updated 5 minutes ago)
Ittay
--
--
Ittay Dror <[EMAIL PROTECTED]>