Debugging with JRuby 1.4.0RC1?

View: New views
4 Messages — Rating Filter:   Alert me  

Debugging with JRuby 1.4.0RC1?

by homerlex-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Debugging with JRuby 1.4.0RC1?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:
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






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

  

-- 
Chris Kutler
Sun Cloud Learning Services
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@...

Re: Debugging with JRuby 1.4.0RC1?

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

homerlex wrote:

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Debugging with JRuby 1.4.0RC1?

by homerlex-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks guys.  I got it working with the information you've provided  8)






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...