Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3.0.0.beta Install problem: can't find executable rails

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?

like image 721
JZ. Avatar asked Feb 06 '10 06:02

JZ.


2 Answers

sudo gem install railties --pre
like image 119
Wiktor Schmidt Avatar answered Sep 23 '22 07:09

Wiktor Schmidt


After upgrading rubygems and cleaning up you need to:

gem install railties --pre
like image 31
Aslak Hellesøy Avatar answered Sep 25 '22 07:09

Aslak Hellesøy