【发布时间】:2013-04-02 02:57:42
【问题描述】:
C:\Sites\dtr-payroll>rake assets:precompile
rake aborted!
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3. Using bundle exec may solve this.
C:/Sites/dtr-payroll/config/boot.rb:6:in `<top (required)>'
C:/Sites/dtr-payroll/config/application.rb:1:in `<top (required)>'
C:/Sites/dtr-payroll/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
【问题讨论】:
-
你用
bundle exec跑了吗?这样做应该确保您调用的是正确版本的rake,(即尝试bundle exec rake assets:precompile) -
尝试删除文件 Gemfile.lock 并运行 bundle install 命令。
标签: mysql ruby-on-rails windows postgresql phpmyadmin