ruby-install alternatives and similar gems
Based on the "Environment Management" category.
Alternatively, view ruby-install alternatives based on common mentions on social networks and blogs.
rbenv9.8 2.6 ruby-install VS rbenvManage your app's Ruby environment
RVM9.3 8.9 ruby-install VS RVMRuby enVironment Manager (RVM)
ruby-build9.0 8.5 ruby-install VS ruby-buildCompile and install Ruby
chruby8.1 0.0 ruby-install VS chrubyChanges the current Ruby
Tokaido5.0 0.0 L5 ruby-install VS TokaidoThe home of the Tokaido app
gem_home2.2 0.0 ruby-install VS gem_homeA tool for changing your $GEM_HOME
fry1.6 0.0 ruby-install VS frySimple ruby version manager for fish
Mineshaft0.5 0.0 ruby-install VS MineshaftRuby virtual environment manager
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ruby-install or a related project?
Installs Ruby, JRuby, Rubinius, [TruffleRuby] (native / GraalVM), or mruby.
- Supports installing arbitrary versions.
- Supports downloading the latest versions and checksums from ruby-versions.
- Supports installing into
/opt/rubies/for root and
~/.rubies/for users by default.
- Supports installing into arbitrary directories.
- Supports downloading from arbitrary URLs.
- Supports downloading from mirrors.
- Supports downloading/applying patches.
- Supports specifying arbitrary
- Supports downloading archives using
- Supports verifying downloaded archives via MD5, SHA1, SHA256 or SHA512 checksums.
- Supports installing build dependencies via the package manager:
- Has tests.
- Does not require updating every time a new Ruby version comes out.
- Does not require recipes for each individual Ruby version or configuration.
- Does not support installing trunk/HEAD or nightly rolling releases.
- Does not support installing unsupported/unmaintained versions of Ruby.
- bash >= 3.x
- wget > 1.12 or curl
- gcc >= 4.2 or clang
List supported Rubies and their current stable versions:
Updates then list the supported Rubies and their current stable versions:
$ ruby-install --latest
Install the current stable version of Ruby:
$ ruby-install ruby
Install the latest version of Ruby:
$ ruby-install --latest ruby
Install a stable version of Ruby:
$ ruby-install ruby 2.3
Install a specific version of Ruby:
$ ruby-install ruby 2.2.4
Install a Ruby into a specific directory:
$ ruby-install --install-dir /path/to/dir ruby
Install a Ruby into a specific
$ ruby-install --rubies-dir /path/to/rubies/ ruby
Install a Ruby into
$ ruby-install --system ruby 2.4.0
Install a Ruby from an official site with directly download:
$ ruby-install -M https://ftp.ruby-lang.org/pub/ruby ruby 2.4.0
Install a Ruby from a mirror:
$ ruby-install -M http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby ruby 2.0.0-p645
Install a Ruby with a specific patch:
$ ruby-install -p https://raw.github.com/gist/4136373/falcon-gc.diff ruby 1.9.3-p551
Install a Ruby with a specific C compiler:
$ ruby-install ruby 2.4.0 -- CC=gcc-4.9
Install a Ruby with specific configuration:
$ ruby-install ruby 2.4.0 -- --enable-shared --enable-dtrace CFLAGS="-O3"
Install a Ruby without installing dependencies first:
$ ruby-install --no-install-deps ruby 2.4.0
Uninstall a Ruby version:
$ rm -rf ~/.rubies/ruby-2.4.0
Using ruby-install with RVM:
$ ruby-install --rubies-dir ~/.rvm/rubies ruby 2.4.0
Using ruby-install with rbenv:
$ ruby-install --install-dir ~/.rbenv/versions/2.4.0 ruby 2.4.0
ruby-install can even be used with Chef.
wget -O ruby-install-0.8.3.tar.gz https://github.com/postmodern/ruby-install/archive/v0.8.3.tar.gz tar -xzvf ruby-install-0.8.3.tar.gz cd ruby-install-0.8.3/ sudo make install
All releases are PGP signed for security. Instructions on how to import my PGP key can be found on my blog. To verify that a release was not tampered with:
wget https://raw.github.com/postmodern/ruby-install/master/pkg/ruby-install-0.8.3.tar.gz.asc gpg --verify ruby-install-0.8.3.tar.gz.asc ruby-install-0.8.3.tar.gz
ruby-install can also be installed with homebrew:
brew install ruby-install
Or the absolute latest ruby-install can be installed from source:
brew install ruby-install --HEAD
ruby-install is already included in the AUR:
yaourt -S ruby-install
ruby-install is available on Fedora Copr.
ruby-install is included in the official FreeBSD ports collection:
cd /usr/ports/devel/ruby-install/ && make install clean
Please see the wiki.
I like the approach you're taking. Curious to see how it plays out.
-- Sam Stephenson of rbenv