Yamashita, Yuu
a02f5dde4f
s/rbenv/pyenv/g
vor 8 Jahren
Yamashita, Yuu
93ece2ac16
Rewrite with using here document syntax
vor 8 Jahren
Yamashita, Yuu
36138f4901
Rewrite with using here document syntax
vor 8 Jahren
Yamashita, Yuu
1b35cfaa2c
1) Remove useless `touch` 2) Add explicit shebang line to executable for testing
vor 8 Jahren
Yamashita, Yuu
83e874a165
Add explicit shebang to executable for testing
vor 8 Jahren
Yamashita, Yuu
8eefa41a4d
Remove useless `touch` line
vor 8 Jahren
Yamashita, Yuu
b8885e4fe2
Keep using original PATH ordering in `test_helper`
vor 8 Jahren
Yamashita, Yuu
a456528be8
Keep original ordering of PATH configuration
vor 8 Jahren
Yamashita, Yuu
2485257424
Add a test to confirm the prefix doesn't work fine with `/bin/ruby`
vor 8 Jahren
Yamashita, Yuu
5c83c4abb7
Add test for `/bin/python` case
vor 8 Jahren
Mislav Marohnić
1e1c9cb0dc
Fix emulating the scenario where system Ruby is missing on OpenBSD
On other systems, we expected to find system Ruby in `/usr/bin`, but in
OpenBSD 5.4 it will be found in `/usr/local/bin`.
This replaces the limited USRBIN_ALT hack with a more generic
`path_without` function that will ensure that the given executable is
not present in the resulting PATH even if it's found in multiple
system paths.
vor 10 Jahren
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
vor 10 Jahren
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
vor 10 Jahren
Mislav Marohnić
f4fade3d26
better error message for `rbenv prefix system`
Have `rbenv prefix` handle the case where system Ruby is not installed,
i.e. `rbenv which ruby` doesn't find ruby in PATH.
Fixes #362
vor 11 Jahren
Mislav Marohnić
bb6bccb782
tests galore
vor 11 Jahren