I want to install ruby on my Linux Mint 12.
I am following this tutorial and this one.
when I run rvm install 1.9.3
I see this error:
Issue solved, here's how in case you want to know:
As s.m. said, I uninstalled everything, then I opened another terminal session as a normal user and run:
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
then i run source /home/my-desktop-username/.rvm/scripts/rvm
as a normal user NOT ROOT
then i run rvm requirements
as a normal user. Then I copy the requirements and close the session, open a root session and install the requirements using sudo
Then I close the session and open a normal user session and run rvm install ruby-1.9.3-p125
if you run this command as root, it will say that rvm
is not installed and will suggest that you install it using sudo apt-get install rvm
Don't do that!
So basically I had two problems, the tutorials that i followed didn't say that i should run
source /home/my-desktop-username/.rvm/scripts/rvm
and didn't say that I should not run rvm
as root, s.m told me that. Thanks to everyone, especially to s.m
Don't trust bloggers, Youtube users or forums. ONLY TRUST STACKOVERFLOW USERS!