Install Rails on linux

view story

http://unix.stackexchange.com – I am trying to install Ruby on Rails and I have followed the following link for the install https://www.digitalocean.com/community/articles/how-to-install-ruby-on-r.... This link was helpful; I was able to run it, and everything, however as soon has I restarted the computer I then go into my apps and run it again with rails and this message occurs. The program 'rails' is currently not installed. You can install it by typing: sudo apt-get install rails But work before, what should I do, do I need to set the path of somesort? I am not that gre (HowTos)