On Fri, Nov 5, 2010 at 4:44 PM, Mirage2008 <[email protected]> wrote:
> Hello all, I'm a RoR newbie! > > I have installed RVM and have Ruby 1.8.7 and 1.9.2 installed. > > I am following the steps from the book on RailsTutorial.org and have > gotten tripped up on the Installing Rails section. I installed Rails > using the sudo command as follows: > > sudo gem install rails --version 3.0.1 > > It looked like it installed, however when I typed > > rails -v > > I got this: > > Rose-MBP:~ roseemmons$ rails -v > /Users/roseemmons/.rvm/gems/ruby-1.9.2...@global/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/ruby-1.9.2...@global > /specifications/ > rake-0.8.7.gemspec:3:in `new' > from /Users/roseemmons/.rvm/gems/ruby-1.9.2...@global > /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 > > Good Lord, what did I do wrong? > Try closing and reopening your terminal. If this does not work, restart your computer. I think this should solve for you. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

