prz*_*adu 3 rake database-migration ruby-on-rails-4
Gemfile
gem 'rails', '4.0.0'
ruby '2.0.0'
Run Code Online (Sandbox Code Playgroud)
我正在使用rails 4但是有些如何安装rake 10.1.1.所以,每当我发出像这样的命令
rake db:migrate
它给出了以下错误:
rake aborted!
You have already activated rake 10.1.1, but your Gemfile requires rake 10.1.0. Using bundle exec may solve this.
Run Code Online (Sandbox Code Playgroud)
bundle exec每次我触发rails命令时我都不想写.
那么,对此有什么好的解决方案吗?
谢谢你的关注
| 归档时间: |
|
| 查看次数: |
5471 次 |
| 最近记录: |