Error running my_spec: Gem 'ruby-debug-ide' not found, please install it!
Just trying out the debugger on Dianna and immediately hit this...
Error running my_spec: Gem 'ruby-debug-ide' not found, please install it!
Can someone give me a simple howto for installing the required gem(s)? ... my attempt for jruby didn't work:
Please sign in to leave a comment.
Hello Sam,
It`s a known issue, please follow instructions at: http://wiki.jruby.org/wiki/Using_the_JRuby_Debugger
Oleg Shpynov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with Pleasure!"
Thanks Oleg.
I followed the instructions there and ran into another error
(I know this is out of scope for the plugin but you may be able to help)
So I installed columnize (jruby -S gem install columnize -y)
I then tried...
Any suggestions on what to try next?
Hello Sam,
I`m not sure, but it seems that you try debug your rails applicarion not within IntelliJ IDEA, please try debug your rails application.
Oleg Shpynov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with Pleasure!"
In IntelliJ I get in a dialog box...
It seems you've installed ruby-debug-base 0.10.2 instead of 0.10.1. Try the following configuration
Thanks Roman that combination of gems is working for me now!
The only thing that is not working is the visual following (highlighting) of the code in the IDE as I step through.
Do I need to configure something or is that a bug?
Sam,
I've also checked it. It doesn't work with JRuby interpreter but on Matz's interpreter all is ok. It seems something is broken in ruby-debug-ide gem for JRuby - we will check it.
I'm having a similar problem. I'm running jruby 1.1 on a windows machine with the following gems:
ruby-debug (0.10.1)
ruby-debug-base (0.10.1)
ruby-debug-ide (0.2.1)
When I try to launch the debugger from within IDEA I get a "Debugger not started" message box error. I tried to run it from command line and I get this:
C:\my-app>jruby -J-Djruby.reflection=true -J-Djruby.compile.mode=OFF -S rdebug script/server
C:/dev/jruby-1.1/lib/ruby/gems/1.8/gems/ruby-debug-0.10.1/cli/ruby-debug.rb:82:in `start_control': Debugger is not started (RuntimeError)
from C:/dev/jruby-1.1/lib/ruby/gems/1.8/gems/ruby-debug-0.10.1/bin/rdebug:287
from C:/dev/jruby-1.1/bin/rdebug:19:in `load'
from C:/dev/jruby-1.1/bin/rdebug:19
Any idea?
I realize this is not an IntelliJ issue per se, but any help would be appreciated
You JRuby is out of date. Try JRuby 1.1.5 (last released version) or JRuby 1.1.3. See http://jruby.codehaus.org/