- Added the
chruby-exec
binary for use incrontab
or with Continuous Integration (CI). - Added support for auto-detecting Rubies installed into
/opt/rubies/
or~/.rubies/
. - Added
share/chruby/auto.sh
, which provides support for auto-switching to Rubies specified in the .ruby-version file.
- Updated the Makefile to be compatible with the dash shell.
- Use inline substring substitutions instead of
sed
.
- Use
typeset
to declareRUBIES
as an indexed Array. - Use the correct globbed Array syntax for both zsh and [bash].
- Improved the post-installation message in the homebrew recipe to auto-detect RVM, rbenv and rbfu.
- Fixed
make install
to work on OS X. - Added a homebrew recipe.
- Install
chruby.sh
into$PREFIX/share/chruby/
.
- Check if
$RUBY
and$RUBYOPT
are different from the arguments passed tochruby_use
. - Fixed a spelling error in the README (thanks Ian Barnett).
- Added unit-tests using shunit2
- Improved sanitation of
$PATH
inchruby_reset
. (thanks mpapis) - If the desired Ruby is already in use, immediately return from
chruby_use
. - Export
$RUBY_ENGINE
,$RUBY_VERSION
,$GEM_ROOT
inchruby_use
.
- Added support for zsh.
- Renamed the
$RUBY_PATH
variable to$RUBY
. - Set the
$RUBY_ENGINE
variable. - Set the
$GEM_ROOT
variable toGem.default_dir
. This supports the custom RubyGems directory used by Rubinius. - Only initialize the
$RUBIES
variable if it does not have a value.
- Added a
LICENSE.txt
. - Added a
ChangeLog.md
. - Updated the
Makefile
to generate proper tar archives.
- Initial release.