This project is archived and is in readonly mode.
ruby-debug can't be installed on JRuby
-
Santiago Pastorino
- State changed from new to invalid
You should follow the instructions here http://kenai.com/projects/jruby/pages/UsingTheJRubyDebugger to make it work.
Thank you for reporting ;). -
Anil Wadghule
- Importance changed from to Low
Santiago, I followed instructions in above page. I was able to install ruby-debug gem. But if you do 'bundle install' on rails source, you get this issue http://gist.github.com/493584
-
Anil Wadghule
You can solve this by referring to https://gist.github.com/d6fffb7735f4bf6812f6
-
Nick Sieger
See also this sequence of commands for bootstrapping JRuby to run Rails tests.
https://gist.github.com/d6fffb7735f4bf6812f6
The critical piece is to install ruby-debug-base-*-java.gem directly from a downloaded file, then "gem install ruby-debug --ignore-dependencies".
We also discovered that you need to remove Gemfile.lock before doing any of this.
I think we can consider this closed as far as Rails is concerned. We still need to have the 'java' version of ruby-debug-base released on rubygems.org as a platform-specific version of the main ruby-debug-base.
