无法在rubyMine 8.0.3和ruby 2.2.4上启动调试器

时间:2016-03-31 19:54:33

标签: ruby rubygems rubymine

C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- debase_internals (LoadError)
    from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from C:/Ruby22/lib/ruby/gems/2.2.0/gems/debase-0.2.2.beta6/lib/debase.rb:4:in `<top (required)>'
    from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from C:/Ruby22/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/lib/ruby-debug-ide.rb:8:in `<top (required)>'
    from C:/Ruby22/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide:8:in `require_relative'
    from C:/Ruby22/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide:8:in `<top (required)>'
    from -e:1:in `load'
    from -e:1:in `<main>'

以上的错误,如何解决问题,提前谢谢!

1 个答案:

答案 0 :(得分:0)

当您使用1.9.3以上的ruby版本时,最好使用byebug而不是调试器。