我剛剛通過RVM在Ubuntu 11.04, 上安裝了ruby 1.9.2,然後安裝了rubygem。如何擺脫「注意」警告?
在那之後,每當我用的寶石,我會通知如下
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/[email protected]/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已經包含了它,並且[你不應該在RVM的控制下使用任何gem的'sudo'](https:// RVM。 beginrescueend.com/rubies/rubygems/)。 –
可能的重複[如何解決Rubygems最近的棄用警告?](http://stackoverflow.com/questions/5949521/how-do-i-fix-rubygems-recent-deprecation-warning) –