Login to the server via SSH as user, then enter the command :
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.
COMMENTS