I downloaded ruby on rails on ubuntu 12.10 through this tutorial http://technical-feeds.blogspot.ca/2013/02/how-to-install-ubuntu-and-ruby-on-rails.html.
I did everything and it worked fine.
I checked ruby -v and it came back as ruby 2.0.0p0. I also checked rails, rubygems and git they came back good.
Then I closed the terminal and opened a new one and tried to check the version but this came back for ruby
bimbola@ubuntu:~$ ruby -v The program 'ruby' can be found in the following packages: * ruby1.8 * ruby1.9.1 Try: sudo apt-get install
And this came for rails
bimbola@ubuntu:~$ rails -v The program 'rails' can be found in the following packages: * rails * ruby-railties-3.2 Try: sudo apt-get install
git is still fine though
bimbola@ubuntu:~$ git --version git version 126.96.36.199