Sarath July 6, 2013 0
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.

Category: