pyenv/libexec
Mislav Marohnić 959968c46d
Support GEM_HOME, add limited support for user-installed gems (#1436)
The rehash process will now discover executables in additional locations:
- `~/.gem/ruby/<version>/bin/*`
- `$GEM_HOME/bin`

The `rbenv which` (and thus `rbenv exec`) command will also search these locations when looking up a command. This enables shims to dispatch calls to executables added by `gem install --user-install`.

Note that this support is limited:
- It will only work with C Ruby, as it's difficult to guess the `~/.gem/<engine>/<version>` directory for other Rubies without actually loading Ruby;
- It will only work for RBENV_VERSION values in the format `X.Y.Z` and not "system".
2022-09-26 02:57:15 +02:00
..
rbenv Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
rbenv---version rbenv 1.2.0 2021-09-29 20:47:10 +02:00
rbenv-commands
rbenv-completions
rbenv-exec
rbenv-global
rbenv-help Supply head -n flag explicitly 2021-05-05 22:42:56 +02:00
rbenv-hooks Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
rbenv-init Use absolute path in rbenv init instructions if needed 2022-09-25 22:32:46 +02:00
rbenv-local
rbenv-prefix
rbenv-rehash Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00
rbenv-root
rbenv-sh-rehash
rbenv-sh-shell
rbenv-shims
rbenv-version
rbenv-version-file
rbenv-version-file-read Simplify version file read 2022-03-08 21:10:15 +02:00
rbenv-version-file-write
rbenv-version-name
rbenv-version-origin
rbenv-versions Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
rbenv-whence
rbenv-which Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00