I wouldn't actually move it. Instead, I would create a symbolic link from /usr/local/bin/rails to /usr/bin/rails. A symbolic link is similar to a shortcut on Windows. By doing this, you will be able to follow along with the book, and applications that use rails will still be able to access it in /usr/local/bin/rails. To create the symbolic link, enter the following code in a terminal:
Code:
ln -s /usr/bin/rails /usr/local/bin/rails
You should now be able to access rails through /usr/local/bin/rails and through /usr/bin/rails.
Bookmarks