rbenv/libexec
Mislav Marohnić 5ce2fd8a2f
Enable fallback to PATH from rbenv shims
Previously, when someone activated rbenv shim `foo`, rbenv would error out if `RBENV_ROOT/versions/RBENV_VERSION/bin/foo` did not exist.

This change allows `foo` to be additionally looked up in PATH as fallback. This prevents a case where one of the Ruby versions is shadowing a system-wide command of the same name, preventing the use of the global command across all other Ruby versions.

rbenv used to be strict around this, allowing the fallback to avoid ever falling back to system Ruby for invocations like `bundle` if the current Ruby version did not yet install Bundler. The current approach prevents this scenario by explicitly disallowing fallback for the following executables: ruby, rake, gem, bundle, bundler, irb, rdoc, ri.
2022-10-07 16:16:34 +02:00
..
rbenv Test for executables but not functions 2022-09-30 12:29:49 +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 Enable fallback to PATH from rbenv shims 2022-10-07 16:16:34 +02:00
rbenv-global Remove support for legacy global version files 2015-12-28 22:05:00 -05:00
rbenv-help Test for executables but not functions 2022-09-30 12:29:49 +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 Revert support for user-installed gems (#1443) 2022-10-07 12:56:54 +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 Enable fallback to PATH from rbenv shims 2022-10-07 16:16:34 +02:00