【发布时间】:2011-05-10 11:47:06
【问题描述】:
我最近运行了更新:
gem update --system
gem update
现在,我每次加载 gem 时都会收到很多弃用警告。例如rails console:
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?
【问题讨论】:
-
您需要提供更多信息,您的 Gemfile 是什么样的?
标签: ruby rubygems rvm suppress-warnings