I am just getting started with RUBY. I downloaded the latest release
(ruby184-16p3.exe) for windows. I created a simple hello world
program. It ran it in run mode.
def say_goodnight(name)
result = “Good night, #{name}”
return result
end
puts say_goodnight(‘Pa’)
It ran fine. I tried to run it in debug mode and it hangs. When I
kill the task it give me the following info.
c:/ruby/lib/ruby/1.8/drb/drb.rb:563:in read': Invalid argument (DRb::DRbConnErr or) from c:/ruby/lib/ruby/1.8/drb/drb.rb:563:in
load’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:629:in recv_reply' from c:/ruby/lib/ruby/1.8/drb/drb.rb:918:in
recv_reply’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1192:in send_message' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1083:in
method_missing’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1167:in open' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1082:in
method_missing’
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1100:in with_friend' from c:/ruby/lib/ruby/1.8/drb/drb.rb:1081:in
method_missing’
from
c:/ruby/freeride/plugins/rubyide_tools_debugger/debuggee.rb:1266:in
`printf’
from
c:/ruby/freeride/plugins/rubyide_tools_debugger/debuggee.rb:1416
I looked at the code and I don’t see what is causing this. I disabled
the firewall.
Any ideas?