Worked out of the box for me on OS X 10.8.4. Or if you want 2.0, you just brew install ruby. More generally, brew search ruby shows you the different repos available, and if you want to get really specific you can use brew versions ruby and checkout a specific version instead. Participate in a friendly and growing community. Mailing Lists: Talk about Ruby with programmers from all around the world.; User Groups: Get in contact with Rubyists in your area.; Blogs: Read about what’s happening right now in the Ruby community.; Ruby Core: Help polish the rough edges of the latest Ruby.; Issue Tracking: Report or help solve issues in Ruby.
Here you can get the latest Ruby distributions in your favorite flavor.The current stable version is 2.7.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 yourdistribution or third-party tools (rbenv and RVM).
- On macOS machines, you can use third-party tools (rbenv and RVM).
- On Windows machines, you can use RubyInstaller.
See the Installation page for details on usingpackage 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 arecomfortable enough with your platform and perhaps need specific settingsfor your environment. It’s also a good solution in the event that thereare no other premade packages for your platform.
See the Installation page for details on buildingRuby from source. If you have an issue compiling Ruby, consider usingone of the third party tools mentioned above. They may help you.
- Stable releases:
- Ruby 2.7.2
sha256: 6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4 - Ruby 2.6.6
sha256: 364b143def360bac1b74eb56ed60b1a0dca6439b00157ae11ff77d5cd2e92291
- Ruby 2.7.2
- Preview releases:
- Ruby 3.0.0-preview1
sha256: ce8bd7534e7ec2a870b24d2145ea20e9bbe5b2d76b7dfa1102dbee5785253105
- Ruby 3.0.0-preview1
- In security maintenance phase (will EOL soon!):
- Ruby 2.5.8
sha256: 6c0bdf07876c69811a9e7dc237c43d40b1cb6369f68e0e17953d7279b524ad9a
- Ruby 2.5.8
- Not maintained anymore (EOL):
- Ruby 2.4.10
sha256: 93d06711795bfb76dbe7e765e82cdff3ddf9d82eff2a1f24dead9bb506eaf2d0 - Ruby 2.3.8
sha256: b5016d61440e939045d4e22979e04708ed6c8e1c52e7edb2553cf40b73c59abf
- Ruby 2.4.10
- Snapshots:
- Stable Snapshot of ruby_2_7 branch:This is a tarball of the latest snapshot of the current
ruby_2_7
branch. - Stable Snapshot of ruby_2_6 branch:This is a tarball of the latest snapshot of the current
ruby_2_6
branch. - Stable Snapshot of ruby_2_5 branch:This is a tarball of the latest snapshot of the current
ruby_2_5
branch. - Nightly Snapshot:This is a tarball of whatever is in Git, made nightly.This may contain bugs or other issues, use at your own risk!
- Stable Snapshot of ruby_2_7 branch:This is a tarball of the latest snapshot of the current
For more information about specific releases, particularly older releasesor previews, see the Releases page.Information about the current maintenance status of the variousRuby branches can be found on the Branches page.
Ruby
Ruby For Mac Os X
For information about the Ruby Subversion and Git repositories, see ourRuby Core page.
The Ruby source is available from a worldwide set ofMirror Sites.Please try to use a mirror that is near you.