ruby on rails - Why do I get permissions errors installing RVM? -
i followed rvm installation manual, , found system meets minimum requirements installation.
i included user in /etc/sudoers
.
then ran:
\curl -l https://get.rvm.io | bash-s stable - autolibs = homebrew - rails
but installation process returned:
% total % received % xferd average speed time time time current dload upload total spent left speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:100 184 100 184 0 0 156 0 0:00:01 0:00:01 --:--:-- 229 46 15779 46 7325 0 0 4433 0 0:00:03 0:00:01 0:100 15779 100 15779 0 0 9547 0 0:00:01 0:00:01 --:--:-- 8255k please read , follow further instructions. press enter continue. bash: line 584: /usr/local/rvm/release: permission denied`
what i'm doing wrong? read other comments on forum, said correct install rvm console user, not root, appreciated.
it seems not run command root.
try sudo curl -l https://get.rvm.io | bash-s stable - autolibs = homebrew - rails
.
edit:
ok, see post. issue can due oldest rvm installation , solve it, need clean oldest installation.
to that: sudo rm -rf /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm
then, rerun install command line.
hope work.
Comments
Post a Comment