Как исправить предупреждение о недавнем устаревании Rubygems? - PullRequest
17 голосов
/ 10 мая 2011

Я недавно запустил обновления:

gem update --system
gem update

Теперь я получаю множество предупреждений об устаревании каждый раз, когда загружаю драгоценный камень. Например, 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?

Ответы [ 11 ]

0 голосов
/ 10 мая 2011

Похоже, что вы в порядке. Это просто предупреждение, когда rake-0.8.7.gemspec не будет соответствовать новому стандарту RubyGems.

Я уверен, что создатель граблей получит эту синхронизацию.

...