Here you can get the latest Ruby distributions in your favorite flavor. The current stable version is 2.2.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.
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.2.1
Previous stable: Ruby 2.1.5
Old stable (2.0.0 series): Ruby 2.0.0-p643
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.