gpt4 book ai didi

mysql - 抽取 Assets :precompile

转载 作者:可可西里 更新时间:2023-11-01 06:34:34 27 4
gpt4 key购买 nike

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)

最佳答案

您应该先删除您的Gemfile.lock 文件并再次bundle install 然后再使用

rake assets:precompile

这是因为你已经激活了 rake 10.0.4 但在你的 Gemfile.lock 文件中它是 rake 10.0.3 所以你要么改变它要么删除 Gemfile.lock 文件。

关于mysql - 抽取 Assets :precompile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15755321/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com