rvm-site icon indicating copy to clipboard operation
rvm-site copied to clipboard

Which commands require sudo when installing ruby?

Open nickjj opened this issue 11 years ago • 3 comments

--user-install hangs without using sudo, at least through Ansible as seen in https://github.com/rvm/rvm1-ansible/issues/19.

Can we get a list of everything that requires sudo internally by rvm?

nickjj avatar Nov 19 '14 15:11 nickjj

as discussed on IRC will compile the list soon

mpapis avatar Nov 19 '14 15:11 mpapis

just an idea to find it faster, running in rvm: grep -rn "[_ ]sudo " bin* scripts/

mpapis avatar Nov 19 '14 15:11 mpapis

  • in all cases RVM asks for sudo when ran as other user then root
  • binscripts/rvm-installer - missing tar/gtar on OpenBSD/SunOS
  • rvm install/ rvm requiremnts - when found missing packages/repositories for update/installation
  • rvm group/osx-ssl-certs/fix-permissions

as for commands themself - in next itteration

mpapis avatar Dec 12 '14 15:12 mpapis