views:

1564

answers:

3

I'm trying to install the rails 3.0.0.beta and I'm running into this issue:

justins-mac-: justinz$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
justins-mac-justinz$ rails -help
/Library/Ruby/Site/1.8/rubygems.rb:384:in `bin_path': can't find executable rails for rails-3.0.0.beta (Gem::Exception)
 from /usr/bin/rails:19
justins-mac-justinz$ rails -v
/Library/Ruby/Site/1.8/rubygems.rb:384:in `bin_path': can't find executable rails for rails-3.0.0.beta (Gem::Exception)
 from /usr/bin/rails:19
justins-mac-justinz$ 

Any clues as to what is going on here?

A: 

Try

sudo gem update --system

Since that does nothing, try

sudo gem cleanup

then reinstall.

JRL
... nothing to update : ( that would have been an easy fix.
JZ
+9  A: 

sudo gem install railties --pre

iktorn
+1  A: 

After upgrading rubygems and cleaning up you need to:

gem install railties --pre
This worked for me, thanks!
Cimm