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 Fix some issues reported by shellcheck 2017-11-29 16:20:51 +01:00
rbenv-completions completions for rbenv-completions 2015-11-20 09:12:53 -05:00
rbenv-exec Speed up obtaining exec/which/whence completions 2014-10-15 01:24:45 +02:00
rbenv-global Remove support for legacy global version files 2015-12-28 22:05:00 -05:00
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 Remove support for legacy version file 2015-12-28 21:34:07 -05:00
rbenv-prefix rbenv-prefix: do not silence rbenv-which for system version 2018-08-07 01:44:13 +02:00
rbenv-rehash Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00
rbenv-root Fix some issues reported by shellcheck 2017-11-29 16:20:51 +01:00
rbenv-sh-rehash Avoid invoking hash -r in fish 2013-10-31 20:18:14 +02:00
rbenv-sh-shell Make work in set -u (nounset) mode 2020-05-24 09:08:05 +03:00
rbenv-shims tests galore 2013-03-07 15:07:32 -05:00
rbenv-version libexec/rbenv-version{,-origin}: move "missing rbenv-version-file detection" logic as per @mislav 2020-01-16 23:15:09 +08:00
rbenv-version-file Fix https://github.com/rbenv/rbenv/issues/1065 2018-02-26 16:49:37 +08:00
rbenv-version-file-read Simplify version file read 2022-03-08 21:10:15 +02:00
rbenv-version-file-write Documentation tweaks 2012-12-29 22:05:04 -06:00
rbenv-version-name Merge remote-tracking branch 'origin/master' into version-hooks 2015-12-23 17:22:43 +01:00
rbenv-version-origin libexec/rbenv-version{,-origin}: move "missing rbenv-version-file detection" logic as per @mislav 2020-01-16 23:15:09 +08:00
rbenv-versions Simplify resolving symlinks, remove native extension (#1428) 2022-09-22 11:34:02 +02:00
rbenv-whence Fix some issues reported by shellcheck 2017-11-29 16:20:51 +01:00
rbenv-which Support GEM_HOME, add limited support for user-installed gems (#1436) 2022-09-26 02:57:15 +02:00