mirror of
https://github.com/rbenv/ruby-build.git
synced 2024-12-28 20:55:31 +01:00
Suggest to install rubies in a user-writable directory in the README
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`.
This commit is contained in:
parent
ac39910944
commit
20496b54b6
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ PREFIX=/usr/local ./ruby-build-*/install.sh
|
|||
# As a standalone program
|
||||
$ ruby-build --list # lists latest stable releases for each Ruby
|
||||
$ ruby-build --definitions # lists all definitions, including outdated ones
|
||||
$ ruby-build 3.2.2 /opt/rubies/ruby-3.2.2 # installs Ruby 3.2.2
|
||||
$ ruby-build -d ruby-3.2.2 /opt/rubies # alternate form for the previous example
|
||||
$ ruby-build 3.2.2 ~/.rubies/ruby-3.2.2 # installs Ruby 3.2.2
|
||||
$ ruby-build -d ruby-3.2.2 ~/.rubies # alternate form for the previous example
|
||||
|
||||
# As an rbenv plugin
|
||||
$ rbenv install 3.2.2 # installs Ruby 3.2.2 to ~/.rbenv/versions/3.2.2
|
||||
|
|
Loading…
Reference in a new issue