Hi,
This noob is trying to install ruby through rvm and encountering
difficulty.
If I run 'rvm install ruby-1.8.7-p352' as user I get
'Failed to create the file ruby-1.8.7-p352.tar.bz2: Permission denied'.
If I run it as sudo, it installs, but when I try 'rvm use 1.8.7' I get
'ruby ruby-1.8.7-p357 is not installed.'
I'm confused. Anyone have any suggestions?
Many thanks.
···
--
Posted via http://www.ruby-forum.com/.
Michael Oliphant wrote in post #1042644:
Hi,
This noob is trying to install ruby through rvm and encountering
difficulty.
If I run 'rvm install ruby-1.8.7-p352' as user I get
'Failed to create the file ruby-1.8.7-p352.tar.bz2: Permission denied'.
If I run it as sudo, it installs, but when I try 'rvm use 1.8.7' I get
'ruby ruby-1.8.7-p357 is not installed.'
I'm confused. Anyone have any suggestions?
Did you install RVM with sudo? then you need to read RVM documentation
about that:
https://rvm.beginrescueend.com/rvm/install/
If you missed the red part that says:
"Multi-User installations - For server administrators - For an
installation usable by all users on the system - Please note that
Single-User supercedes Multi-User. This also used to be called the
System-Wide Install. Using this type of installation without knowledge
how umask works is a big security risk."
Without knowing how you installed it this is the only thing I can think
of.
···
--
Luis Lavena
--
Posted via http://www.ruby-forum.com/\.