rakeコマンドを実行するたびに(つまりrake routes
)、次のエラーが発生します。
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 rake routes
、それは動作します。
rake routes
走らなくても簡単にできるようになりたいですbundle exec rake routes
。
私は同様のエラーのある他の質問を調べ、さまざまな解決策(実行などbundle update
)を試しましたが、役に立ちませんでした。
また、私gemfile
は指定しましたgem 'rake', '0.9.2'
助言がありますか?