Download Ruby

Here you can get the latest Ruby distributions in your favorite flavor.
The current stable version is 2.2.2.
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.