首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何修复Rubygems最近的弃用警告?

如何修复Rubygems最近的弃用警告?
EN

Stack Overflow用户
提问于 2011-05-10 19:47:07
回答 8查看 22.9K关注 0票数 22

我最近运行了更新:

代码语言:javascript
复制
gem update --system
gem update

现在,每次加载gem时,我都会收到很多不推荐使用的警告。例如,rails console

代码语言:javascript
复制
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 /Users/user/.rvm/gems/ruby-1.9.2-p180@global/specifications/rake-0.8.7.gemspec:10.
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 /Users/user/.rvm/gems/ruby-1.9.2-p180@global/specifications/rake-0.8.7.gemspec:10.
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 /Users/user/.rvm/gems/ruby-1.9.2p180@global/specifications/rake-0.8.7.gemspec:10.
Loading development environment (Rails 3.0.7)
ruby-1.9.2-p180 :001 > exit

我使用的是RVM、Ruby 1.9.2和Rubygems 1.8.1。有没有办法绕过这个问题?恢复到旧版本的rubygems?

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/5949521

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档