Here you can download the latest Ruby version that is right for you, and the current stable version is 1.8.6. Please read Ruby open source license before downloading.
Ruby Source Code
Installing from source is the best solution if you want to make it more compatible with your platform or if you need to set up your environment in a single-minded way. This is also a good approach if you have a packages that you need to install on your platform.
- Ruby 1.8.6 (md5:23d2494aa94e7ae1ecbbb8c5e1507683) stable version ( recommended )
- Stable snapshots here the tar ' Ed and gzip ' Ed files are the latest stable CVS. It should be more stable than the last released version.
- Development Snapshots here the tar ' Ed and gzip ' Ed files are the latest CVS. It may contain some unresolved issues.
See Ruby Core page for more information.
Windows system
There are several options for installing Ruby under the Windows platform. The first option is to install only the compiled binaries. The second option is to go directly to the "one-step Installation" program, and if you don't know how to install Ruby, one step installation will be your best choice. (This installation, in addition to Ruby, bundles some additional resource pools.) )
- Ruby 1.8.61 Step Installation (md5:3b768d48ed4e25991762e8c76e54f28d) stable version ( recommended )
- Ruby 1.8.62 Binary (md5:d4ca9d387614108156289fb6c4208dd0) stable version ( recommended )
- Ruby 1.9.2 binary (md5:9809f6e9bc7795f83612b369e36c8724) Development version ( experiment )
Linux system
Ruby is pre-installed in many Linux distributions, and if Ruby is not installed on your system, there are several ways to install it. The first way is to download only the source code, and then compile the installation manually. If you do not want to waste time from source code compilation, many platforms provide the appropriate machine architecture distribution package, which makes Ruby installation fairly easy.
For example, the use of Debian or Ubuntu apt-get
offers a simple and elegant solution:
% sudo apt-get install ruby irb rdoc
For IRB and RDoc, you need to activate universe repository.