RVM "ERROR: Unable to verify branch." Single user

I'm having trouble installing RVM on the new Debian 6 VirtualBox virtual machine. I installed all the necessary packages and downloaded the installation script using

(curl -s https://rvm.beginrescueend.com/install/rvm) > rvm

but when you run it as an individual user

bash rvm

The following error message appears:

ERROR: Unable to checkout branch .

Installation stops here, and (as far as I can tell) none of the RVM files are installed.

If I run the script as root (for a multi-user installation), I get another message:

Successfully checked out branch ''

The installer continues and indicates success, but the .rvm directories are not added, and even after changing my .bash_profile (s), I get the command "rvm: command not found".

. bash git, , , "" , . , , , , , .

.

+5
3

/etc/rvmrc, , . rvm-installer /usr/local . , .

+7

. /etc/rvmrc - . ls -al .rvm . Ran rm -rf.rvm

rvm windows. 1. curl -s https://rvm.beginrescueend.com/install/rvm 2. sh rvm

!

+1

You can try this. (he worked for me)

Set the rvm_ path to the user:

appuser$ echo 'rvm_path="$HOME/.rvm"' >> ~/.rvmrc

Now install RVM,

appuser$ curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer

source: http://beginrescueend.com/deployment/best-practices/

+1
source

All Articles