JRuby Console Debugger
The ruby-debug gem does not work in jruby directly, as it depends on native APIs.
http://wiki.jruby.org/wiki/Using_the_JRuby_Debugger
There is a Java-based JRuby implementation of the fast ruby debugger rdebug.
See: JRuby Fast Debugger
1. Manually download the ruby-debug-base-0.10.3-java.gem from debug-commons.
sudo jruby -S gem install ruby-debug-base-0.10.3-java.gem
2. Leave the directory and then do the following:
sudo jruby -S gem install –ignore-dependencies ruby-debug –version 0.10.3
sudo jruby -S gem install –ignore-dependencies ruby-debug-ide
3. Now install columnize
sudo jruby -S gem install columnize

Leave a Reply