I am using Ubuntu system in which i had previously installed Ruby
1.8.7 and Rails 3.
I completely removed all the locations where ruby was installed.
Now I tried installing ruby 1.9.3,rails3 using rvm and was successful.
But when i am trying to create new rails project:
rails new ProjectName
I am getting an error saying /usr/lib/env ruby 1.8.7 not found.
How do i remove/unlink this old version of ruby and i want rails to
point to the latest default ruby 1.9.3 version.