How do I debug ruby 1.9.2p0 in NetBeans?

Hi,

I’m running OpenSuSE 11.3 and am having problems debugging rails3
application in NetBeans 6.9.1 (ruby 1.9.2p0, rails 3.0.3, rvm).

  1. I have installed ruby-debug19, ruby-debug-ide19
  2. Changed Gemfile, so that the line ‘gem ruby-debug19’ is not
    commented out
  3. Ran ‘bundle install’

When I ran debug session in NetBeans I got the following:

Fast Debugger (ruby-debug-ide 0.4.9) listens on :35528
/home/tux/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-ide19-0.4.12/
lib/ruby-debug-ide.rb:123:in debug_load' /home/tux/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-ide19-0.4.12/ lib/ruby-debug-ide.rb:123:indebug_program’
/home/tux/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-ide19-0.4.12/
bin/rdebug-ide:87:in ' /home/tux/.rvm/gems/ruby-1.9.2-p0/bin/rdebug-ide:19:inload’
/home/tux/.rvm/gems/ruby-1.9.2-p0/bin/rdebug-ide:19:in `’
Uncaught exception: no such file to load – script/rails

Any ideas how can I solve it?

Thanks!