スキップしてメイン コンテンツに移動

rake コマンドのエラー/bundle exec

rake routes をしたらエラーが出た。

Gem::LoadError: You have already activated rake 10.2.2, but your Gemfile requires rake 10.1.1. Using bundle exec may solve this.
いつの間に新しいやつが activated されたんだ・・・。よくわからん。。

Gem で指定した rake を使う様に実行。

bundle exec rake routes
コマンドは、通ったっぽい。
これをプリフィックスにつける設定もあるらしい。難しいなー、rails。。


参考

コメント

Amazon Affiliate