From 01a0ad0b69c69f6a6a9fc66496f3eaf460db51fb Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Sat, 1 Oct 2011 12:26:19 -0500 Subject: [PATCH] rbenv 0.2.1 --- README.md | 7 +++++++ doc/README.mdtoc | 7 +++++++ libexec/rbenv | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c21a51da..9f704ae8 100644 --- a/README.md +++ b/README.md @@ -314,6 +314,13 @@ tracker](https://github.com/sstephenson/rbenv/issues). ### 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) * Renamed `rbenv set-default` to `rbenv global` and `rbenv set-local` diff --git a/doc/README.mdtoc b/doc/README.mdtoc index 1b114e0b..34158206 100644 --- a/doc/README.mdtoc +++ b/doc/README.mdtoc @@ -295,6 +295,13 @@ tracker](https://github.com/sstephenson/rbenv/issues). ### 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) * Renamed `rbenv set-default` to `rbenv global` and `rbenv set-local` diff --git a/libexec/rbenv b/libexec/rbenv index 15c02e0a..a80ede8b 100755 --- a/libexec/rbenv +++ b/libexec/rbenv @@ -55,7 +55,7 @@ shopt -u nullglob command="$1" case "$command" in "" | "-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)"