Ruby on Rails Sunday, October 30, 2011

On Oct 30, 9:13 pm, Douglas Birch <li...@ruby-forum.com> wrote:
> Hello, I'm new to Ruby and unix/linux development (although been
> building .net apps for years).
>
> I've almost completed my trek to install Rails ... looks like I have one
> final hurdle.  After installing rails I try the 'rails -v' command and
> it fails.    Any help here would be deeply appreciated.
>
> Here's the output from my bash session:
>
> bash-3.2$ ruby -v
> ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
> bash-3.2$ which gem
> /Users/doug/.rvm/rubies/ruby-1.9.2-p290/bin/gem
> bash-3.2$ sudo gem update --system
> Password:
> Updating rubygems-update
> Fetching: rubygems-update-1.8.11.gem (100%)
> Successfully installed rubygems-update-1.8.11
> Installing RubyGems 1.8.11
> RubyGems 1.8.11 installed
>
> == 1.8.11 / 2011-10-03
>
> * Bug fix:
>   * Deprecate was moved to Gem::Deprecate to stop polluting the
> top-level
>     namespace.
>
> --------------------------------------------------------------------------- ---
>
> RubyGems installed the following executables:
>   /Users/doug/.rvm/rubies/ruby-1.9.2-p290/bin/gem
>
> RubyGems system software updated
> bash-3.2$ sudo gem install rails --version 3.0.1

Installing gems as root when you're using rvm can do funny things -
you shouldn't need to

Fred

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment