How to install RVM system requirements without giving sudo access for RVM user

后端 未结 4 1671
面向向阳花
面向向阳花 2020-12-07 08:45

On my Debian server I have a user called \"deployer\" that does not have sudo access, and has RVM installed.

When installing Ruby using \"deployer\", li

4条回答
  •  天命终不由人
    2020-12-07 09:46

    The accepted answer fails to install Ruby into .rvm/bin/ruby. The shell script ends up in .rvm/wrappers/ruby-2.0.0-p247/ruby which is a pain if your build script depends on this location and the version number changes over time.

    Here is an easier solution that worked for me:

    \curl -L https://get.rvm.io | bash -s -- --ignore-dotfiles --autolibs=0 --ruby
    

    .rvm/bin/ruby is created as expected.

    Source: http://blog.sunild.com/2013/07/install-ruby-with-rvm-on-mac-os-108.html

提交回复
热议问题