Daniel Hahler
ecd67c8223
pyenv-exec: no `-a` with `exec` to keep $PATH with system version ( #1169 )
Using `exec -a` caused Python to use $PATH to look up the full program name (for
`sys.executable`), which 314937d then tried to fix by changing $PATH
also for the system version.
This is not necessary anymore when not using the short name with `exec`.
This was rejected upstream
(https://github.com/rbenv/rbenv/pull/1089#issuecomment-394531896 ), since
it is not a problem with Ruby apparently.
Uses $PYENV_ROOT to check if system version is used.
Fixes https://github.com/pyenv/pyenv/issues/98 .
Fixes https://github.com/pyenv/pyenv/issues/789 .
6 лет назад
Josh Friend
17f44b7cd6
v1.2.13
7 лет назад
Josh Friend
a10c787f9b
v1.2.12
7 лет назад
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb .
7 лет назад
Yamashita, Yuu
abd4469920
v1.2.11
7 лет назад
Yamashita, Yuu
9a98bfae48
v1.2.10
7 лет назад
Daniel Hahler
3768f1d7db
Revert "also remove shebang with libexec/pyenv"
This reverts commit d352b4810d .
7 лет назад
Daniel Hahler
d352b4810d
also remove shebang with libexec/pyenv
7 лет назад
Casey McGinty
83e5459cfb
Remove shebang lines from scripts for performance
All scripts in libexec/ (excluding pyenv) are called through pyenv,
therefore the shebang lines are not necessary. On some systems this
provides a measurable increase in performance of the shell prompt.
Related to pyenv/pyenv-virtualenv#259
8 лет назад
Josh Friend
3f39e8a944
v1.2.9
7 лет назад
Josh Friend
80414b1b5b
v1.2.8
7 лет назад
Daniel Hahler
4f21d9a2ea
Fix abs_dirname for relative symlinks in same directory
Ref (abs_dirname in bats): https://github.com/sstephenson/bats/pull/224
Ref: https://github.com/rbenv/rbenv/pull/868
Fixes https://github.com/pyenv/pyenv/issues/580
7 лет назад
Josh Friend
b7eea9003b
v1.2.7
8 лет назад
Yamashita, Yuu
97f244fbb5
v1.2.6
8 лет назад
Josh Friend
4812e0387b
v1.2.5
8 лет назад
Tomoyuki Sahara
9c1d677d23
seq(1) is not available on OpenBSD.
8 лет назад
Josh Friend
3faba7d47c
v1.2.4
8 лет назад
Yamashita, Yuu
7973e59473
Fix rehash test to give up sooner after lock file's presence
8 лет назад
Yamashita, Yuu
b1e3f13a85
Renamed variable; s/PYENV_REHASH_LOCK_TIMEOUT/PYENV_REHASH_TIMEOUT/
8 лет назад
Yamashita, Yuu
a6c15fb242
Experimental implementation to wait rehash until acquiring lock
For now the code is using traditional pseudo locking mechanism
based on `noclobber`.
8 лет назад
Josh Friend
abbb606041
v1.2.3
8 лет назад
Josh Friend
a8e207f330
v1.2.2
8 лет назад
Victor Lim
9daf81f16e
Fix https://github.com/rbenv/rbenv/issues/1065
Command `rbenv version-name > .ruby-version` will create an empty `.ruby-version` file
before running `rbenv-version-file`. This causes `rbenv-version-file` to return empty
string which in turn causes `rbenv-version-name` to return `system`.
Ensure size of `.ruby-version` is non-zero as a workaround.
8 лет назад
Josh Friend
b704c4242c
Update changelog for 1.2.1 release
8 лет назад
Josh Friend
e71ac9e439
Release v1.2.0
8 лет назад
Marco Hinz
af53c790cc
Better error message for `rbenv shell`
Shell integration is not enabled by default. This means that, from all the
commands from `rbenv commands`, only "shell" won't work right away.
Replace "no such command" with a more descriptive message that points to
`rbenv init` instead.
9 лет назад
Daniel Hahler
5f8a4c4d62
Fix some issues reported by shellcheck
9 лет назад
Mislav Marohnić
b80ea43e25
Quote directory name in variable assignment
8 лет назад
Zach Riggle
19e2b9588a
Fix $PWD changes when executing Python
Specifically, this does not play well with PWD=/proc/self/cwd
8 лет назад
Ryan Davis
1a8b5e04a9
Fixed `rbenv init -` output to work w/ no args and bash's `set -u`.
9 лет назад
Josh Friend
5af8d2fb12
Update changelog for v1.1.5
8 лет назад
Yamashita, Yuu
2178fb931c
v1.1.4
8 лет назад
Josh Friend
0314de0c73
v1.1.3
9 лет назад
Yamashita, Yuu
8fa1f43856
v1.1.2
9 лет назад
Mislav Marohnić
6cd487db81
rbenv 1.1.1
9 лет назад
Roman Bolshakov
01d39850b5
Do not attempt to read .python-version directories ( #606 )
9 лет назад
Daniel Hahler
95b1b05cbe
rbenv-version-file: ensure that the version file is a file
Forwarded from https://github.com/pyenv/pyenv/pull/606 .
9 лет назад
Jeff Kowalski
a81da8d864
Revert quoting change in previous commit; adjust test to match code
Revert back to original quoting style used before previous commit.
Adjust init.bats to reflect changes for successful tests.
9 лет назад
Jeff Kowalski
be2e606fbd
Prefer 'set' over 'setenv' for fish shell
The setenv function in fish shell has changed dramatically in
75600b6b53
It now conforms to the csh version, which takes at most two arguments.
In this init script, the form
setenv PATH prepend_something $PATH
had been used, which had too many arguments.
Since setenv isn't a native command in fish, a suitable replacement is
to use the "set -gx" command, which can consume multiple arguments.
9 лет назад
Tim Pope
9d93605e18
Don't unset CDPATH
9 лет назад
Tim Pope
1f1e291385
Enforce absolute RBENV_DIR
This prevents CDPATH from becoming an issue.
Closes #866 .
9 лет назад
Yamashita, Yuu
b3efcc9d15
v1.0.10 ( fixes #878 )
9 лет назад
Martin Nowak
db39044ef6
partly resolve #759
- some versions of bash (e.g. 4.3.11) complain about clobbering
/dev/null, use bash's explicit >| operator to ignore noclober
- not sure if the original #759 report has the same cause
- https://github.com/rbenv/rbenv/issues/759#issuecomment-289326891
9 лет назад
Samuel Villamonte
acfbc96614
V1.0.9 release ( #877 )
* Update version to 1.0.9
9 лет назад
Yamashita, Yuu
d01fa09a7d
Migrate project URL to https://github.com/pyenv/pyenv
9 лет назад
Yamashita, Yuu
ad8f2886ae
v1.0.8 ( fixes #841 )
9 лет назад
Yamashita, Yuu
57f946550a
v1.0.7
9 лет назад
Josh Friend
2552329dbd
v1.0.6
9 лет назад
Jason Karns
8eb97549e1
Conforms OLD_RBENV_VERSION to RBENV_* convention
Keeping rbenv-controlled variables to RBENV_* "namespace" helps with
discoverability (and tools like rbenv-env) but also consistency and a
very minor degree of safety/isolation from env impact.
9 лет назад
Josh Friend
095ca59878
v1.0.5
9 лет назад