mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -05:00
Shims include the full path to rbenv
This makes it possible to execute rbenv shims without rbenv's bin directory in the path.
This commit is contained in:
@@ -57,7 +57,7 @@ if [ "\$program" = "ruby" ]; then
|
||||
fi
|
||||
|
||||
export RBENV_ROOT="$RBENV_ROOT"
|
||||
exec rbenv exec "\$program" "\$@"
|
||||
exec "$(command -v rbenv)" exec "\$program" "\$@"
|
||||
SH
|
||||
chmod +x "$PROTOTYPE_SHIM_PATH"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user