Saturday 6 July 2013

Install rails locally for a user from command line

Posted by Sarath On Saturday, July 06, 2013 No comments
Login to the server via SSH as user, then enter the command :
# gem install rails -v=2.3.5

With -v option you can specify the rails version you want to install, here in this example it is 2.3.5.
Then check the gem list locally,

# gem list --local | grep -i rails
That will show the rails version they installed.

You can also install other Ruby gems like rack, rake, etc. using the same method.

0 comments: