Jason Karns
258e4413b1
create hook: version-name
Expose a `version-name` hook.
It is invoked *after* the traditional `RBENV_VERSION` lookup. Which means hook scripts can interrogate `$RBENV_VERSION_FILE` and/or `$RBENV_VERSION` (or use the executables).
The hooks are then run, giving plugins a chance to alter `RBENV_VERSION`. Once the hooks have run, we now have (in `$RBENV_VERSION`) the actual version we want to use (or it's empty which defaults to `system` per normal). Lastly, the same logic remains for checking if the version exists, or trimming the `ruby-` prefix.
Prime example: the ruby-bundler-ruby-version plugin can select a ruby by using the `ruby` directive from the `Gemfile` if a local `.ruby-version` doesn't exist.
11 лет назад
Mislav Marohnić
a62a75369e
Merge branch 'rbenv-local-respects-ancestry'
10 лет назад
Mislav Marohnić
ba072adcb9
Have `rbenv local` read version from parent directories as well
Fixes #807
10 лет назад
Mislav Marohnić
ca25259900
Allow explicit target directory argument to `rbenv-version-file`
Can be used for `.ruby-version` file lookup in the ancestry of a
specific directory. In this mode of operation, global version files
aren't taken into consideration, and the command fails unless a local
version file was found.
10 лет назад
Yamashita, Yuu
4c06f23aaf
Run rehash after `conda install`
10 лет назад
Yamashita, Yuu
046f5bde02
Add miniconda latest
10 лет назад
Yamashita, Yuu
c678bb1eaa
Add anaconda[23]-2.4.1
10 лет назад
Yamashita, Yuu
5e72a4c3e3
Add miniconda[23]-3.19.0
10 лет назад
Yamashita, Yuu
23669162c0
Rename anaconda/miniconda to anaconda2/miniconda2
10 лет назад
Yamashita, Yuu
01835c2682
Merge pull request #511 from dirn/cpython-3.4.4
Add CPython 3.4.4
10 лет назад
Andy Dirnberger
4243ac6ffc
Add CPython 3.4.4
10 лет назад
Yamashita, Yuu
b0f29d511a
v20151222
10 лет назад
Yamashita, Yuu
3031cb9750
Add workaround for test failure on Arch Linux ( #480 )
10 лет назад
Yamashita, Yuu
6bcb1d6211
Merge pull request #510 from yyuu/no-ssl3-for-py30-py31-py32
`OPENSSL_NO_SSL3` patch for 3.0.x, 3.1.x and 3.2.x
10 лет назад
Yamashita, Yuu
3d1ba0c58c
Add `OPENSSL_NO_SSL2` & `OPENSSL_NO_SSL3` patch for 3.0.1, 3.1 and 3.1.2
10 лет назад
Yamashita, Yuu
68e8945f74
Add `OPENSSL_NO_SSL2` & `OPENSSL_NO_SSL3` patch for 3.1.3
10 лет назад
Yamashita, Yuu
3ddbb19663
Add `OPENSSL_NO_SSL3` patch for 3.1.4 .. 3.1.5
10 лет назад
Yamashita, Yuu
763a30bb1d
Add `OPENSSL_NO_SSL3` patch for 3.2
10 лет назад
Yamashita, Yuu
9a33ce643e
Add `OPENSSL_NO_SSL3` patch for 3.2.1
10 лет назад
Yamashita, Yuu
b29c54ee0a
Add `OPENSSL_NO_SSL3` patch for 3.2.2
10 лет назад
Yamashita, Yuu
58275fc52b
Add `OPENSSL_NO_SSL3` patch for 3.2.3 .. 3.2.6
10 лет назад
Yamashita, Yuu
dc4b355aad
Update `OPENSSL_NO_SSL3` patch for 3.3.x to remove unnecessary imports
10 лет назад
Yamashita, Yuu
9f1daac9f7
Merge pull request #507 from yyuu/openssl-no-ssl3
`OPENSSL_NO_SSL3` patch for 2.6, 2.7, 3.3 and 3.4
10 лет назад
Yamashita, Yuu
471fa24531
Add `OPENSSL_NO_SSL2` & `OPENSSL_NO_SSL3` patch for 2.6.6 .. 2.6.8
10 лет назад
Yamashita, Yuu
f228825879
Add `OPENSSL_NO_SSL2` & `OPENSSL_NO_SSL3` patch for 2.6.9
10 лет назад
Yamashita, Yuu
8c96897495
Add `OPENSSL_NO_SSL2` & `OPENSSL_NO_SSL3` patch for 2.7 .. 2.7.1
10 лет назад
Yamashita, Yuu
659e532701
Add `OPENSSL_NO_SSL3` patch for 2.7.2
10 лет назад
Yamashita, Yuu
5f0056886a
Add `OPENSSL_NO_SSL3` patch for 2.7.3 .. 2.7.8
10 лет назад
Yamashita, Yuu
bc322b0238
Add `OPENSSL_NO_SSL3` patch for 2.7.9
10 лет назад
Yamashita, Yuu
6251c3bad5
Add `OPENSSL_NO_SSL3` patch for 3.3.x
10 лет назад
Yamashita, Yuu
526fa03968
Add `OPENSSL_NO_SSL3` patch for 3.4.x
10 лет назад
Yamashita, Yuu
d6e0120cc8
Use http://www.python.org instead of http://python.org since former is configured to use fast.ly
```
% dig python.org. A
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 9216
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; python.org. IN A
;; ANSWER SECTION:
python.org. 5 IN A 104.130.43.121
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 3 msec
;; SERVER: 192.168.44.2
;; WHEN: Wed Dec 16 06:08:20 2015
;; MSG SIZE rcvd: 44
```
```
% dig www.python.org. A
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 22050
;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; www.python.org. IN A
;; ANSWER SECTION:
www.python.org. 5 IN CNAME python.map.fastly.net.
python.map.fastly.net. 5 IN A 103.245.222.223
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 7 msec
;; SERVER: 192.168.44.2
;; WHEN: Wed Dec 16 06:08:23 2015
;; MSG SIZE rcvd: 83
```
10 лет назад
Daniel Hahler
66bd348600
Merge pull request #504 from blueyed/merge-rbenv
Merge rbenv/master
10 лет назад
Daniel Hahler
03ece82197
Merge remote-tracking branch 'rbenv/master'
Using `git merge rbenv/master -s recursive -X rename-threshold=5%`.
Conflicts:
README.md
bin/python-local-exec
libexec/pyenv
libexec/pyenv-help
test/--version.bats
10 лет назад
Mislav Marohnić
90373d78b9
Add test for not including current directory in PATH search
Confirms #836
10 лет назад
Mislav Marohnić
dc23ef10b6
Merge pull request #836 from eagletmt/fix-path
Remove leading `:`
10 лет назад
Kohei Suzuki
3c7a13d81f
Remove leading `:`
10 лет назад
Yamashita, Yuu
e66dcf258c
`curl` bundled with Anaconda does not work on Debian
10 лет назад
Yamashita, Yuu
fab6a0fcd1
v20151210
10 лет назад
Josh Friend
c4968f7a48
Add CPython 3.4.4rc1
10 лет назад
Josh Friend
d0e9cd7d7e
Remove old 2.7.11 release candidate
10 лет назад
Yamashita, Yuu
3185dee8a2
Copied `OPENSSL_NO_SSL3` patch to 2.7 series ( #495 )
10 лет назад
Yamashita, Yuu
05615587d0
Merge pull request #495 from catlee/master
Adding SSL patch to build 2.7.3 on Debian
10 лет назад
Mislav Marohnić
20755cfc15
Merge pull request #833 from chulkilee/fix-url
update urls to rbenv
10 лет назад
Chulki Lee
df4c16ecb4
update urls to rbenv
10 лет назад
Yamashita, Yuu
132179d0ca
Merge pull request #498 from ipfans/master
Add CPython 3.5.1
10 лет назад
ipfans
b6cdfcf5dc
Upgrade OpenSSL to 1.0.1q
10 лет назад
ipfans
c78f079078
Add CPython 3.5.1
10 лет назад
Yamashita, Yuu
2767461235
Use `PYENV_BOOTSTRAP_VERSION` during `python-build` if declared
10 лет назад
Yamashita, Yuu
20432dda88
Add a workaround for Anaconda's `curl` issue
Anaconda's `curl` doesn't work with HTTPS on platfroms where
`/etc/pki/tls/certs/ca-bundle.crt` isn't available.
10 лет назад