本文介绍了rubyonrails错误更新到宝石1.8.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I update gem to the latest 1.8.1and now when i use rails commandi got errors as below

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的内容,阅读了解更多详情。

These are just deprecation warnings. Lots of stuff in rubygems is deprecated in this version, read http://blog.zenspider.com/2011/05/rubygems-18-is-coming.html for more details.

这篇关于rubyonrails错误更新到宝石1.8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 14:34