Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running Ubuntu server

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:            11.10
Codename:       oneiric

When I try to install RVM for a local user I get the following:

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
mkdir: cannot create directory `/usr/local/rvm': Permission denied

What is the issues here?

Ho

share|improve this question

2 Answers 2

As documented on official help, RVM should try to install to /usr/local/rvm if you are running installation prefixed with sudo.

If running as normal user, RVM should install to ~/.rvm

share|improve this answer
up vote 0 down vote accepted

Use the '-k' switch to the curl command:

bash -s stable < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.