| View previous topic :: View next topic |
| Author |
Message |
homerlex
Joined: 24 Sep 2009 Posts: 4
|
Posted: Tue Oct 20, 2009 7:58 pm Post subject: Debugging with JRuby 1.4.0RC1? |
|
|
Using Netbeans 6.7.1 on Vista. Debugging works fine with JRuby 1.2.
I installed JRuby 1.4.0RC1. The app runs just fine but if I try to debug it fails trying to install the fast debugger. Error is shown below.
Has anyone gotten this working?
ERROR Message:
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.
C:/jruby/bin/jruby.bat extconf.rb
WARNING: JRuby does not support native extensions or the `mkmf' library.
Check wiki.jruby.org for alternatives.
extconf.rb:16: undefined method `create_makefile' for main:Object (NoMethodError)
Gem files will remain installed in C:/jruby/lib/ruby/gems/1.8/gems/linecache-0.43 for inspection.
Results logged to C:/jruby/lib/ruby/gems/1.8/gems/linecache-0.43/ext/gem_make.out |
|
| Back to top |
|
 |
Chris Kutler Posted via mailing list.
|
Posted: Tue Oct 20, 2009 9:17 pm Post subject: Debugging with JRuby 1.4.0RC1? |
|
|
This blog might help: http://blogs.sun.com/divas/entry/installing_your_own_jruby_to
especially this part:
You will need the debugger gems. Follow the instructions on the NetBeans Ruby Debugger wiki page. Make sure you get the correct versions -- the ones noted on the wiki page. If you opted for a separate gems repository in the previous step, then add --install-dir your-repo-path to the gem install commands.
The above assumes that JRuby 1.4 is in your path
A note about the "native extensions" error messages. You will see these whenever you try to use native gems with JRuby. I explain this here: http://blogs.sun.com/divas/entry/using_gems_with_jruby.
homerlex wrote: | Quote: | | Quote: | Using Netbeans 6.7.1 on Vista. Debugging works fine with JRuby 1.2.
I installed JRuby 1.4.0RC1. The app runs just fine but if I try to debug it fails trying to install the fast debugger. Error is shown below.
Has anyone gotten this working?
ERROR Message:
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.
C:/jruby/bin/jruby.bat extconf.rb
WARNING: JRuby does not support native extensions or the `mkmf' library.
Check wiki.jruby.org for alternatives.
extconf.rb:16: undefined method `create_makefile' for main:Object (NoMethodError)
Gem files will remain installed in C:/jruby/lib/ruby/gems/1.8/gems/linecache-0.43 for inspection.
Results logged to C:/jruby/lib/ruby/gems/1.8/gems/linecache-0.43/ext/gem_make.out
([email]address-removed[/email])
([email]address-removed[/email])
| --
Chris Kutler
Sun Cloud Learning Services
|
|
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed Oct 21, 2009 7:15 am Post subject: Debugging with JRuby 1.4.0RC1? |
|
|
Hello,
homerlex wrote:
| Quote: | Using Netbeans 6.7.1 on Vista. Debugging works fine with JRuby 1.2.
I installed JRuby 1.4.0RC1. The app runs just fine but if I try to debug it fails trying to install the fast debugger. Error is shown below.
Has anyone gotten this working?
|
Installing ruby-debug-ide 0.4.9 fails due to a bug in JRuby (I believe),
check this message for a workaround:
http://www.nabble.com/Re%3A-Trying-to-install-ruby-debug-ide-on-jruby-1.2.0-p25525773.html
I guess on your JRuby 1.2.0 you have ruby-debug-ide 0.4.6 which doesn't
suffer from this issue.
HTH,
Erno |
|
| Back to top |
|
 |
homerlex
Joined: 24 Sep 2009 Posts: 4
|
Posted: Wed Oct 21, 2009 12:02 pm Post subject: |
|
|
Thanks guys. I got it working with the information you've provided  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|