【发布时间】:2011-05-12 03:49:46
【问题描述】:
我刚刚在 ubuntu 11.04 上通过 RVM 安装了 ruby 1.9.2, 然后 sudo install rubygem。
之后,每当我使用 gem 时,我都会收到以下通知
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 /home/shrimpy/.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 /home/shrimpy/.rvm/gems/ruby-1.9.2-p180/specifications/rubygems-update-1.8.2.gemspec:11.
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 /home/shrimpy/.rvm/gems/ruby-1.9.2-p180/specifications/rake-0.8.7.gemspec:10.
他们让我很烦。我该如何解决?还是摆脱它?
【问题讨论】:
-
作为一个指针,你不需要对 1.9.2 做
sudo install rubygem,因为 1.9.2 已经包含了它,而you shouldn't usesudowith any gems under RVM's control。
标签: ruby installation gem