SOLVED: Error when trying to debug

I have Mac OS X Lion and running Rubymine 3.2.4.
When i try to debug a program i get an error. I have downloaded the debugging gems.


Cannot connect to the debugged process at port 49402 in 10s:

Error Output:
/Users/jimmyvilen/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19x-0.11.30.pre2/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)
  Referenced from: /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19x-0.11.30.pre2/lib/ruby_debug.bundle
  Expected in: flat namespace
in /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19x-0.11.30.pre2/lib/ruby_debug.bundle - /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19x-0.11.30.pre2/lib/ruby_debug.bundle
 from /Users/jimmyvilen/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
 from /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-base19x-0.11.30.pre2/lib/ruby-debug-base.rb:1:in `<top (required)>'
 from /Users/jimmyvilen/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
 from /Users/jimmyvilen/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
 from /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-ide-0.4.17.beta8/lib/ruby-debug-ide.rb:5:in `<top (required)>'
 from /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide:17:in `require_relative'
 from /Users/jimmyvilen/.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide:17:in `<top (required)>'
 from -e:1:in `load'
 from -e:1:in `<main>'

Please sign in to leave a comment.