Ubuntu – RVM – Error?

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"' >> ~/.rvmrc

Then rerun the above bash/curl line.

Dieser Eintrag wurde veröffentlicht in Ohne Kategorie, Ruby Getagged: , , . Bookmarken: Permanent-Link. Kommentieren oder ein Trackback hinterlassen: Trackback-URL.

Ihr Kommentar

Ihre E-Mail wird niemals veröffentlicht oder verteilt. Benötigte Felder sind mit * markiert

*
*

Du kannst diese HTML Tags und Attribute verwenden: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">