rbenv / ruby-build

A tool to download, compile, and install Ruby on Unix-like systems.
https://rbenv.org/man/ruby-build.1
MIT License
3.89k stars 785 forks source link

Suggest to install rubies in a user-writable directory in the README #2465

Closed eregon closed 2 weeks ago

eregon commented 2 weeks ago

Otherwise gem install and bundle install (without --path) won't work without sudo. In fact the previous example install command wouldn't work at all without sudo.

eregon commented 2 weeks ago

Doesn't have to be ~/.rubies but it seems a good place as any, and kinda consistent with /opt/rubies but user-writable.