我正在尝试生成路线(对于我正在处理的应用程序来说,这在几周内都可以正常工作),突然间,我看到了以下消息:
You have already activated rake 10.0.3, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this.
执行 bundle exec 并不能解决问题。浏览 Gemfile.lock,我看到以下内容:
railties (3.2.3)
actionpack (= 3.2.3)
activesupport (= 3.2.3)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
rake (0.9.2.2)
我尝试将最后一行更改为:
rake (>= 0.9.2.2)
这给了我以下错误消息:
There was an error in your Gemfile, and Bundler cannot continue.
有任何想法吗?