0

我是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
4

1 回答 1

0

这是 Netbeans 上的 Ruby 调试 wiki http://wiki.netbeans.org/RubyDebugging按照步骤操作,它应该可以正常工作。它对我有用!

于 2012-08-31T14:28:41.630 回答