执行 rake db:migrate:up VERSION= 报以下错误
rake aborted!
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 db:migrate:up VERSION=
本文介绍了解决rake版本冲突的方法。当遇到已激活版本与Gemfile要求版本不一致导致的错误时,通过使用bundle exec命令可以有效解决此问题。
执行 rake db:migrate:up VERSION= 报以下错误
rake aborted!
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 db:migrate:up VERSION=

被折叠的 条评论
为什么被折叠?