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


on debian server have user called "deployer" not have sudo access, , has rvm installed.

when installing ruby using "deployer", 1.9.3, triggers task install dependencies

"installing requirements debian, might require sudo password." 

which fails , stops installation because "deployer" can not sudo.

i don't want add "deployer" sudoers list, , don't want install rvm other user one-time use installing dependencies.

what correct way install dependencies? or how list them install manually?

this indeed new feature of rvm called autolibs, automatically installs dependencies.

if have installed rvm, , asking sudo password, can disable autolibs:

$ rvm autolibs disable $ rvm requirements # manually install these $ rvm install ruby 

otherwise, can install rvm without autolibs command:

$ \curl -l https://get.rvm.io | bash -s -- --autolibs=read-fail 

i understand motivation, find rather annoying. not want put sudo password rvm, nor matter bundle! please community, stop doing this.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -