I followed this tutorial to install ruby with rvm: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm
The problem is that everytime that I log in, the ruby installation is not recognized, for example if I try executing a ruby script with the "ruby" command this is what I get:
To make it be recognized I have to run this command:
source ~/.rvm/scripts/rvm
But every time I login I have to do it again.
Best Answer
You can install Ruby by typing:
See the Doc.