Installing Rails 3 - /usr/local/bin/rails: No such file or directory

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-04-20T21:02:40Z Indexed on 2010/04/20 21:03 UTC
Read the original article Hit count: 426

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?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about install