Skip to content

Commit

Permalink
Shims include the full path to rbenv
Browse files Browse the repository at this point in the history
This makes it possible to execute rbenv shims without rbenv's bin
directory in the path.
  • Loading branch information
sstephenson committed Jan 1, 2013
1 parent 4b6c91e commit 44c2378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/rbenv-rehash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 44c2378

Please sign in to comment.