Installing Rails 3 - /usr/local/bin/rails: No such file or directory
- by viatropos
I just ran these two commands:
sudo gem install rails --pre
sudo gem install railties --pre
Now when I run rails myapp, I get this:
-bash: /usr/local/bin/rails: No such file or directory
Here's some system info:
$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9.7.0]
$ sudo gem update --system
Updating RubyGems
Nothing to update
I tried copy/pasting the bin/rails file into /usr/local/bin/rails, and changing permissions to sudo chmod 755 /usr/local/bin/rails, but that doesn't work.
Any ideas how to get up and running?