RVM Installation seems pretty simple, worked flawlessly almost every time I used it on OSX. On my new production machine I couldn't install it.
mkdir: cannot create directory `/usr/local/rvm': Permission denied
Every Tutorial or Snippet I tried looked liked this:
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
To force RVM to your $HOME - or any other folder your user has RW privileges:
$ echo 'export rvm_prefix="$HOME"' > ~/.rvmrc $ echo 'export rvm_path="$HOME/.rvm"' >> ~/.rvmrcThen rerun the above bash/curl line.