gpt4 book ai didi

ruby-on-rails - 需要 Rails 3.2 : rake 10. 0.3

转载 作者:行者123 更新时间:2023-12-04 10:00:58 25 4
gpt4 key购买 nike

执行任何 rake 操作时,我得到以下信息:

rake aborted!
You have already activated rake 10.1.0, but your Gemfile requires rake 10.0.3. Using bundle exec may solve this.
/home/cristi/.rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.3/lib/bundler/runtime.rb:33:in `block in setup'
/home/cristi/.rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.3/lib/bundler/runtime.rb:19:in `setup'
/home/cristi/.rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.3/lib/bundler.rb:120:in `setup'
/home/cristi/.rvm/gems/ruby-1.9.3-p392/gems/bundler-1.3.3/lib/bundler/setup.rb:7:in `<top (required)>'
/home/cristi/code/kodion/config/boot.rb:6:in `<top (required)>'
/home/cristi/code/kodion/config/application.rb:1:in `<top (required)>'
/home/cristi/code/kodion/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

我不确定我能做些什么来解决这个问题。 bundle exec不解决任何问题。

最佳答案

您要么需要在包的上下文中运行该命令(推荐):

> bundle exec rake db:version

或者您需要卸载有问题的 rake gem 版本。
> gem uninstall rake
> # pick version 10.1.0 from the offered choices.

关于ruby-on-rails - 需要 Rails 3.2 : rake 10. 0.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17966456/

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