Download Ruby

Here you can get the latest Ruby distributions in your favorite flavor. The current stable version is 2.1.1. Please be sure to read Ruby’s License.

Ways of installing Ruby

We have several tools on each major platform to install Ruby:

  • On Linux/UNIX, you can use the package management system of your distribution or third-party tools (rbenv and RVM).
  • On OS X machines, you can use third-party tools (rbenv and RVM).
  • On Windows machines, you can use RubyInstaller or pik.

See the Installation page for details on using package management systems or third-party tools.

Of course, you can also install Ruby from source on all major platforms.

Compiling Ruby — Source code

Installing from the source code is a great solution for when you are comfortable enough with your platform and perhaps need specific settings for your environment. It’s also a good solution in the event that there are no other premade packages for your platform.

See the Installation page for details on building Ruby from source. If you have an issue compiling Ruby, consider using one of the third party tools mentioned above. They may help you.

  • Current stable: Ruby 2.1.1
    md5: e57fdbb8ed56e70c43f39c79da1654b2

  • Previous stable: Ruby 2.0.0-p451
    md5: 9227787a9636551f1749ee8394b5ffe5

  • Old stable: Ruby 1.9.3-p545
    md5: 8e8f6e4d7d0bb54e0edf8d9c4120f40c

  • Snapshots:

    • Stable Snapshot: This is a tarball of the latest snapshot of the current stable branch.
    • Nightly Snapshot: This is a tarball of whatever is in SVN, made nightly. This may contain bugs or other issues, use at your own risk!

For information about the Ruby Subversion and Git repositories, see our Ruby Core page.

The Ruby source is available from a worldwide set of Mirror Sites. Please try to use a mirror that is near you.