Pergunta

I've been having issues installing RVM correctly in a single user environment. RVM keeps giving me errors and I need to just start over. =)

I followed the answer from here: Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v

but when I run env | grep rvm I get this:

$ env | grep rvm
rvm_dump_environment_flag=0
rvm_clang_flag=0
rvm_path=/usr/share/ruby-rvm
rvm_prefix=/usr/share
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/share/ruby-rvm/bin:/home/jadmin/.rvm/bin
rvm_version=1.6.9
rvm_reload_flag=0

which brings me to believe this is the reason I'm getting this error when trying to install RVM as a single user:

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

mkdir: cannot create directory `/usr/share/ruby-rvm': Permission denied

I'm relatively new to ruby & rails, and setting up a dev environment on linux. I appreciate any help =)

Foi útil?

Solução

use this answer Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v

It's a problem with apt version of rvm, possibly it will get fixed someday, I was helping someday to improve it ...

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top