我正在为我的项目使用Ruby 企业版。当我通过运行命令检查所有rake 任务rake -T
时,我收到以下错误消息:
You have already activated rake 0.9.2.2, but your Gemfile requires rake 0.9.2. Using bundle exec may solve this.
错误消息暗示我可以使用bundle exec来解决问题,但我不确定如何?那么,如何摆脱这个错误信息呢?
- - - - - - - - - - - - - - - 更多的 - - - - - - - - - - --------
我更喜欢更新我的Gemfile而不是 run bundle exec rake -T
。但是当我打开我的项目 Gemfile 时,我没有在我的 Gemfile 中看到 rake 0.9.2,为什么错误消息抱怨我有它?我定义 rake 0.9.2 的地方可能在哪里?