gpt4 book ai didi

ruby - 如何避免来自 RubyGems 的弃用消息?

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

gem update --system 之后,当我做一些与 ruby​​gems 相关的事情时,我收到这条消息:

NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.

Gem::Specification#default_executable= called from /usr/lib/ruby/gems/1.8/specifications/rubygems-update-1.7.2.gemspec:11.

如何避免?我尝试删除 ruby​​gems 并重新安装,但没有解决问题。

最佳答案

您可能需要重新生成您的 gem 规范。

After installing RubyGems 1.8.1 you will see deprecations when loading your exsting gems. Run gem pristine --all --no-extensions to regenerate your gem specifications safely.

http://blog.segment7.net/2011/05/05/rubygems-1-8-1

关于ruby - 如何避免来自 RubyGems 的弃用消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5909108/

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