更新到gem 1.8.1时出现rubyonrails错误

我将gem更新到最新的1.8.1,现在当我使用rails命令时,我得到如下错误

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 /Library/Ruby/Gems/1.8/specifications/rubygems-update-1.7.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 /Users/Haxrat/.gem/ruby/1.8/specifications/RedCloth-4.2.7.gemspec:10. 

这些只是弃用警告。 在这个版本中不推荐使用rubygems中的大量内容,请阅读http://blog.zenspider.com/2011/05/rubygems-18-is-coming.html以获取更多详细信息。

Gem 1.8添加了大量弃用警告,请参阅http://blog.zenspider.com/2011/05/rubygems-18-is-coming.html

来自规格本身的大多数噪音可以通过gem原始非常容易地清理:

gem pristine –all –no-extensions

您也可以直接编辑嘈杂的.gemspecs并删除旧方法(例如,在您的情况下,删除/Library/Ruby/Gems/1.8/specifications/rubygems-update-1.7.2.gemspec的第11行)