加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

如何避免RubyGems的废弃消息?

发布时间:2020-12-16 19:44:41 所属栏目:百科 来源:网络整理
导读:宝石更新 – 系统后,当我做一些有关 rubygems的事情,我收到这个消息: 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
宝石更新 – 系统后,当我做一些有关 rubygems的事情,我收到这个消息:

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.

我该如何避免呢?我已经尝试删除rubygems并重新安装,但没有修复它.

解决方法

您可能需要重新生成您的宝石规格.

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读