rbenv v0.4.0 Release Notes
Release Date: 2013-10-07 // over 10 years ago-
๐ New features
- ๐ rbenv now prefers
.ruby-version
files to.rbenv-version
files
for specifying local application-specific versions. The
๐.ruby-version
file has the same format as.rbenv-version
but is
๐ compatible with other Ruby version
managers. - ๐ Deprecated
ruby-local-exec
and moved its functionality into the
๐ standardruby
shim. See the ruby-local-exec wiki
๐ page for
โฌ๏ธ upgrade instructions. - Modified shims to include the full path to rbenv so that they can be
invoked without having rbenv's bin directory in the$PATH
. - ๐ Reworked
rbenv help
so that usage and documentation is stored as a
๐ comment in each subcommand, enabling plugin commands to hook into
the help system. - โ Added support for full completion of the command line, not just the
first argument. - โ Added
rbenv --version
for printing the current version of rbenv. - โ Added
/usr/lib/rbenv/hooks
to the plugin hook search path.
๐ Other changes and bug fixes
- Sped up
rbenv init
by avoiding rbenv reinitialization and by
using a simpler indexing approach. - โก๏ธ Updated installation instructions for Zsh and Ubuntu users.
- ๐ Fixed
rbenv which
andrbenv prefix
with system Ruby versions. - ๐ Changed
rbenv exec
to avoid prepending the system Ruby location to
๐$PATH
to fix issues running system Ruby commands that invoke other
commands. - ๐ Changed
rbenv rehash
to ensure it exits with a 0 status code under
๐ normal operation, and to ensure outdated shims are removed first
when rehashing. - Modified
rbenv rehash
to runhash -r
afterwards, when shell
integration is enabled, to ensure the shell's command cache is
cleared. - โ Removed use of the
+=
operator to support older versions of Bash. - Adjusted non-bare
rbenv versions
output to includesystem
, if
present. - ๐ Improved documentation for installing and uninstalling Ruby
๐ versions. - ๐ Fixed
rbenv versions
not to display a warning if the currently
specified version doesn't exist. - ๐ Fixed an instance of local variable leakage in the
rbenv
shell
function wrapper. - ๐ Changed
rbenv shell
to ensure it exits with a non-zero status on
failure. - ๐ Fixed
rbenv which
to account for path entries with spaces. - ๐ Changed
rbenv init
to accept option arguments in any order.
- ๐ rbenv now prefers