This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
241
Wiki
Activity
Browse Source
Fix `rbenv prefix` for `system` version
Should be `/usr` or `/usr/local`, not `/usr/bin` or `/usr/local/bin`
pull/360/head^2
Sam Stephenson
13 years ago
parent
9289af0132
commit
7fe9231e64
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libexec/rbenv-prefix
+ 2
- 1
libexec/rbenv-prefix
View File
@ -16,7 +16,8 @@ fi
if [ "$RBENV_VERSION" = "system" ]; then
RUBY_PATH="$(rbenv-which ruby)"
echo "${RUBY_PATH%/*}"
RUBY_PATH="${RUBY_PATH%/*}"
echo "${RUBY_PATH%/bin}"
exit
fi
Write
Preview
Loading…
Cancel
Save