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
      ๐Ÿ‘€ 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.