chruby vs jEnv
chruby
github.comjEnv
jenv.beSide by side
| Figure | chruby | jEnv |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Runtime Version Managers | 7.9 (#7) | 7.1 (#24) |
| Spec score · Development Environment Managers | 7.9 (#17) | 7.1 (#43) |
| Integrations | The project wiki links usage instructions for Capistrano, Chef, Cron, Emacs, Pow, Puppet, Sudo, Vim, and Fish. | Optional plugins can export Java settings for Gradle, Maven, Ant, Leiningen, and sbt. |
| Purpose | chruby changes the current Ruby version in a shell. | jEnv is a command-line tool for managing Java environments and switching between Java versions. |
| Shell support | It supports bash 3 or later and zsh. | The documentation gives setup instructions for Bash, Zsh, and Fish shells. |
Plans
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.