有人可以告诉我如何理解这个rake跟踪并指出我正确的方向来解决这个问题吗?我试图做一个rake db:migrate然后我收到一条错误信息'rake aborted!无法加载这样的文件 - ruby / debug / ide'。
我确保安装了ruby-debug-ide gem,运行bundle install,并确保我在rvm中使用了正确的ruby版本。当我运行跟踪时,这就是我得到的:
rake aborted!
cannot load such file -- ruby/debug/ide
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/bundler-1.1.5/lib/bundler/runtime.rb:74:in `require'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/bundler-1.1.5/lib/bundler/runtime.rb:74:in `rescue in block in require'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/bundler-1.1.5/lib/bundler/runtime.rb:62:in `block in require'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `each'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
/home/dso/rails_projects/cams/src/config/application.rb:13:in `<top (required)>'
/home/dso/rails_projects/cams/src/Rakefile:5:in `require'
/home/dso/rails_projects/cams/src/Rakefile:5:in `<top (required)>'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/bin/rake:19:in `load'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/bin/rake:19:in `<main>'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/bin/ruby_noexec_wrapper:14:in `eval'
/home/dso/.rvm/gems/ruby-1.9.3-p125@cams/bin/ruby_noexec_wrapper:14:in `<main>'
非常感谢任何帮助。提前感谢所有回复的人!
答案 0 :(得分:0)
请以我最谦卑的道歉来忽视这个问题。在GemFile中发现问题。另一位开发人员对导致问题的GemFile进行了更改。在Rails上参加一个新项目的速成课程: - )