Skip to content
SPECIFICTION
Get listed

chruby vs rbenv

chruby

github.com

rbenv

rbenv.org

Side by side

Figurechrubyrbenv
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Runtime Version Managers7.9 (#7)7.3 (#21)
Spec score · Development Environment Managers7.9 (#17)7.2 (#42)
Purposechruby changes the current Ruby version in a shell.rbenv manages Ruby versions on Unix-like systems so projects can use the Ruby version they require.

Plans

chruby

  • FreeFree

chruby pricing →

rbenv

  • FreeFree

rbenv pricing →

In their own words

chruby

chruby is a free, MIT-licensed shell utility for changing the Ruby version used in a session. Selecting a Ruby updates PATH and sets GEM_HOME and GEM_PATH for that installation. It can match installed Ruby names fuzzily and uses the system Ruby when no selection is made. Optional automatic switching checks the current and parent directories for a .ruby-version file. chruby supports bash 3 or later and zsh on Linux and macOS. Installation instructions cover a release tarball, Homebrew, Arch Linux AUR, Fedora Copr, and FreeBSD ports. Additional Ruby implementations can be installed with ruby-install or ruby-build. The project provides guidance for integrations including Capistrano, Chef, Cron, Emacs, Pow, Puppet, Sudo, Vim, and Fish. Releases are PGP signed, with verification instructions, and the codebase is described as about 100 lines with tests.

Visit github.com

rbenv

rbenv has no write-up on Specifiction yet; its figures are above.

Visit rbenv.org