Skip to content

Install a remote snapshot tarball

Uwe Kubosch edited this page May 6, 2017 · 9 revisions

We recommend using the stable releases of the different Rubies, but sometimes you may want to install a current snapshot. One frequent use of this is when you report issues to the Ruby implementations and are asked to verify if the issue is fixed or still present in a recent build.

To install a remote snapshot use the -u command line option, and add the correct URL, implementation name, and version.

You may want to use the -c option to avoid caching the snapshot for the next download since you will probably want a fresh download the next time you install the snapshot.

Ruby

Install the latest snapshot of Ruby:

ruby-install -c -u https://cache.ruby-lang.org/pub/ruby/snapshot.tar.bz2 ruby snapshot

JRuby

Install the latest snapshot of JRuby 9K:

ruby-install -c -u http://ci.jruby.org/snapshots/master/jruby-bin-9.1.9.0-SNAPSHOT.tar.gz jruby 9.1.9.0-SNAPSHOT
Clone this wiki locally