rbenv 0.2.1

This commit is contained in:
Sam Stephenson 2011-10-01 12:26:19 -05:00
parent 2bbe2099eb
commit 01a0ad0b69
3 changed files with 15 additions and 1 deletions

View File

@ -314,6 +314,13 @@ tracker](https://github.com/sstephenson/rbenv/issues).
### <a name="section_4.1"></a> 4.1 Version History ### <a name="section_4.1"></a> 4.1 Version History
**0.2.1** (October 1, 2011)
* Changed the `rbenv` command to ensure that `RBENV_DIR` is always an
absolute path. This fixes an issue where Ruby scripts using the
`ruby-local-exec` wrapper would go into an infinite loop when
invoked with a relative path from the command line.
**0.2.0** (September 28, 2011) **0.2.0** (September 28, 2011)
* Renamed `rbenv set-default` to `rbenv global` and `rbenv set-local` * Renamed `rbenv set-default` to `rbenv global` and `rbenv set-local`

View File

@ -295,6 +295,13 @@ tracker](https://github.com/sstephenson/rbenv/issues).
### Version History ### ### Version History ###
**0.2.1** (October 1, 2011)
* Changed the `rbenv` command to ensure that `RBENV_DIR` is always an
absolute path. This fixes an issue where Ruby scripts using the
`ruby-local-exec` wrapper would go into an infinite loop when
invoked with a relative path from the command line.
**0.2.0** (September 28, 2011) **0.2.0** (September 28, 2011)
* Renamed `rbenv set-default` to `rbenv global` and `rbenv set-local` * Renamed `rbenv set-default` to `rbenv global` and `rbenv set-local`

View File

@ -55,7 +55,7 @@ shopt -u nullglob
command="$1" command="$1"
case "$command" in case "$command" in
"" | "-h" | "--help" ) "" | "-h" | "--help" )
echo -e "rbenv 0.2.0\n$(rbenv-help)" >&2 echo -e "rbenv 0.2.1\n$(rbenv-help)" >&2
;; ;;
* ) * )
command_path="$(command -v "rbenv-$command" || true)" command_path="$(command -v "rbenv-$command" || true)"