我无法在Rails项目中执行任何rake
任务。任何尝试这样做都会导致以下错误,指出它找不到ci_reporter的rspec文件:
rake aborted!
LoadError: cannot load such file -- ci/reporter/rake/rspec
/Users/blake/.rvm/gems/ruby-2.0.0-p643/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
/Users/blake/.rvm/gems/ruby-2.0.0-p643/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require'
/Users/blake/.rvm/gems/ruby-2.0.0-p643/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/blake/.rvm/gems/ruby-2.0.0-p643/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
/Users/blake/workspaces/ruby/minestatus/Rakefile:6:in `<top (required)>'
/Users/blake/.rvm/gems/ruby-2.0.0-p643/bin/ruby_executable_hooks:15:in `eval'
我已尝试将环境重置为工作状态:
ci_reporter
gem bundle install
不幸的是,以上所有事情都没有帮助我解决这个问题。我可以在其他Rails项目中运行rake
个任务,但不能在这个项目中运行。耙子任务过去运行得很好,而且我不确定我能做些什么改变来破坏事情。有没有人知道如何让rake
任务再次正常运行?