我已經按照說明成功安裝了Git和RVM:http://railstutorial.org/book#sec:install_rails 我已按照安裝軌道說明操作。這就是得到:Rails在Mac OSX 10.5.8上安裝3.0.1
Rose-MBP:~ roseemmons$ rails -v
/Users/roseemmons/.rvm/gems/[email protected]/specifications/rake-0.8.7.gemspec:27:in `load_specification': uninitialized constant Gem::VERSION (NameError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/specification.rb:540:in `initialize'
from /Users/roseemmons/.rvm/gems/[email protected]/specifications/rake-0.8.7.gemspec:3:in `new'
from /Users/roseemmons/.rvm/gems/[email protected]/specifications/rake-0.8.7.gemspec:3:in `load_specification'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:86:in `load_specification'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:122:in `load_gems_in'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:121:in `each'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:121:in `load_gems_in'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:75:in `from_gems_in'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:47:in `from_installed_gems'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:141:in `source_index'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:310:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:65:in `active_gem_with_options'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:50:in `gem'
from /usr/bin/rails:18
醜陋不是嗎?我自己學習RoR,所以我不知道這意味着什麼或如何解決它。所有幫助表示讚賞!先謝謝你!
閱讀它可以幫助時都輸入:HTTP:// RVM。 beginrescueend.com/rvm/install/ 檢查所有項目。 – NARKOZ 2010-11-05 19:42:26
我確實做過,一切正常,直到我按照RailsTutorial.org書中所述安裝了rails。 – KBKLV 2010-11-05 20:25:28