无法在rubymine上运行调试

时间:2015-11-18 15:25:06

标签: ruby-on-rails ruby rubymine ruby-debug rubymine-7

RubyMine未在调试模式下运行服务器,它显示以下错误

Uncaught exception: Could not find yaml_db-0.3.0 in any of the sources

我试图在gem文件中将yam_db更改为0.3.5,但这会引发另一个错误。为什么它仍然显示此错误?

完成错误

ast Debugger (ruby-debug-ide 0.4.32, debase 0.1.4) listens on 127.0.0.1:58007
Uncaught exception: Could not find yaml_db-0.3.0 in any of the sources
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/spec_set.rb:92:in `block in materialize'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/spec_set.rb:85:in `map!'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/spec_set.rb:85:in `materialize'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/definition.rb:132:in `specs'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/definition.rb:177:in `specs_for'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/definition.rb:166:in `requested_specs'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/environment.rb:18:in `requested_specs'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/runtime.rb:13:in `setup'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler.rb:122:in `setup'
    /home/aitizazk/.rvm/gems/ruby-2.2.1@global/gems/bundler-1.8.4/lib/bundler/setup.rb:18:in `<top (required)>'
    /home/aitizazk/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    /home/aitizazk/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    /home/aitizazk/Rails/MyApp/config/boot.rb:3:in `<top (required)>'
    /home/aitizazk/Rails/MyApp/bin/rails:7:in `require_relative'
    /home/aitizazk/Rails/MyApp/bin/rails:7:in `<top (required)>'

Process finished with exit code 0

0 个答案:

没有答案