带有netbeans的Ruby Debugger

时间:2012-04-26 08:16:06

标签: ruby-on-rails ruby netbeans glassfish jruby

我是Ruby的新手 我无法使用Ruby 1.9安装调试器,这是我唯一下载的netbeans 6.9。现在我正在使用Jruby,但现在我收到以下错误

请帮忙!

Fast Debugger (ruby-debug-ide 0.4.6) listens on localhost:53114
C:/Program Files/NetBeans 6.9/ruby/jruby-     1.5.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require': load error: server --   java.lang.UnsatisfiedLinkError: Unable to load library 'c': The specified module could not be found.
(LoadError)

    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.3-universal-java/lib/glassfish.rb:2
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.3-universal-java/lib/glassfish.rb:31:in `require'
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.3-universal-java/bin/glassfish:54
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.3-universal-java/bin/glassfish:103:in `debug_program'
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.6/bin/rdebug-ide:82
    from C:/Program Files/NetBeans 6.9/ruby/jruby-1.5.0/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.6/bin/rdebug-ide:19:in `load'
    from C:\Program Files\NetBeans 6.9\ruby\jruby-1.5.0\bin\rdebug-ide:19

1 个答案:

答案 0 :(得分:0)

以下是Netbeans上的Ruby调试的维基http://wiki.netbeans.org/RubyDebugging按照步骤操作,它应该可以正常工作。它适合我!