gpt4 book ai didi

ruby-on-rails - 如何强制 gem 升级到 gem 1.3.1

转载 作者:数据小太阳 更新时间:2023-10-29 06:45:54 27 4
gpt4 key购买 nike

我正在尝试安装这样的 gem:

C:\InstantRails\rails_apps\foodmarksthespot>ruby script/plugin install git://github.com/lazyatom/engines.git

返回此消息:

Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again.

但是当我尝试更新时使用:

gem update --system

它说:

Updating RubyGems
Nothing to update

这是在 Windows 上。如何强制它升级系统到特定版本?

最佳答案

http://rubyforge.org/forum/forum.php?forum_id=28071

从那里:

NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is norubygems-update installed. You will need to follow the second set of updateinstructions if you see "Nothing to update".If you have an older version of RubyGems installed, then you can stilldo it in two steps:$ gem install rubygems-update (again, might need to be admin/root)$ update_rubygems (... here too)

关于ruby-on-rails - 如何强制 gem 升级到 gem 1.3.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/566614/

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