mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 19:13:40 +00: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:
parent
4b6c91e827
commit
44c2378f2a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ if [ "\$program" = "ruby" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export RBENV_ROOT="$RBENV_ROOT"
|
export RBENV_ROOT="$RBENV_ROOT"
|
||||||
exec rbenv exec "\$program" "\$@"
|
exec "$(command -v rbenv)" exec "\$program" "\$@"
|
||||||
SH
|
SH
|
||||||
chmod +x "$PROTOTYPE_SHIM_PATH"
|
chmod +x "$PROTOTYPE_SHIM_PATH"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue