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).
Look at this thread at the netbeans's forums. It worked for me:
http://forums.netbeans.org/post-93244.html
The post:
The problem is the missing path . in $:, so the scripts aren't found.
I inserted
$: << "."
before the load command in rdebug-ide (/usr/bin/rdebug-ide).
It fixed the problem.
(NetBeans 6.9.1, ruby 1.9.2p0 (2010-08-18) [x86_64-linux])
_________________
tiesel
its the answer
I have found the solution! This post gave me some hints.
my platform: ruby 1.9.2-p136, rails 3.0.3, netbeans 7.0 beta
file: ruby-1.9.2-p136/gems/ruby-debug-ide19-0.4.12/bin/rdebug-ide:79
script = ARGV.shift
Debugger::PROG_SCRIPT = (script =~ /script([\\\/])rails/ ? Dir.pwd + $1 : '') + script
puts Debugger::PROG_SCRIPT
#Debugger::PROG_SCRIPT = ARGV.shift