github rbenv/rbenv v0.4.0
rbenv 0.4.0

latest releases: v1.2.0, v1.1.2, v1.1.1...
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
    standard ruby 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 and rbenv 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 run hash -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 include system, 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.

Don't miss a new rbenv release

NewReleases is sending notifications on new releases.