Debugging using RubyMine 3.1, JRuby 1.5.6 (via RVM)

I'm trying to debug my Rails 3.0.5 app, having recently switched the Ruby SDK to JRuby 1.5.6 (via RVM).  However, it times out despite doubling the time out to 20 seconds.

I've seen some posts hinting about RVM and a PATH issue.  However, I launched RubyMine from a terminal session, and I still cannot get the debugger to run.  I also haven't seen a step-by-step solution either.

Does anyone else have this issue?

  • Mac OS 10.6.6
  • javac 1.6.0_24
  • RubyMine 3.1
  • rvm 1.2.2
  • JRuby 1.5.6
  • Rails 3.0.5

Dialog Error:

Cannot connect to the debugged process at port 52898 in 20s:

Dumping and destroying process, when the debuggee process is running. You might try to increase the timeout. Killing...

Error Output:

Fast Debugger (ruby-debug-ide 0.4.17.beta3, ruby-debug-base listens on

Console Output:

/Users/ejstembler/.rvm/rubies/jruby-1.5.6/bin/jruby -X+O -J-Djruby.reflection=true -J-Djruby.compile.mode=OFF -J-Djruby.debug.fullTrace=true -s /Users/ejstembler/.rvm/gems/jruby-1.5.6/gems/ruby-debug-ide-0.4.17.beta3/bin/rdebug-ide --debug --port 52898 -- /Users/ejstembler/Dropbox/Projects/Ruby on Rails/nsolutions/script/rails server -b -p 3000 -e development

Process finished with exit code 143


Please sign in to leave a comment.