Yamashita, Yuu
a02f5dde4f
s/rbenv/pyenv/g
8 роки тому
Yamashita, Yuu
93ece2ac16
Rewrite with using here document syntax
8 роки тому
Yamashita, Yuu
36138f4901
Rewrite with using here document syntax
8 роки тому
Yamashita, Yuu
1b35cfaa2c
1) Remove useless `touch` 2) Add explicit shebang line to executable for testing
8 роки тому
Yamashita, Yuu
83e874a165
Add explicit shebang to executable for testing
8 роки тому
Yamashita, Yuu
8eefa41a4d
Remove useless `touch` line
8 роки тому
Yamashita, Yuu
b8885e4fe2
Keep using original PATH ordering in `test_helper`
8 роки тому
Yamashita, Yuu
a456528be8
Keep original ordering of PATH configuration
8 роки тому
Yamashita, Yuu
2485257424
Add a test to confirm the prefix doesn't work fine with `/bin/ruby`
8 роки тому
Yamashita, Yuu
5c83c4abb7
Add test for `/bin/python` case
8 роки тому
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.
10 роки тому
Yamashita Yuu
5dea3c9e63
Import changes from recent rbenv
10 роки тому
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
10 роки тому
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
11 роки тому
Mislav Marohnić
bb6bccb782
tests galore
11 роки тому