Here, you can download the latest Ruby version suitable for you. The current stable version is 1.8.6. Read the Ruby open source license before downloading it.
Ruby source code
If you want to make it more compatible with your platform or you need to set up your environment, installing from source code is the best solution. This is also a good method if you have prepared packages to be installed on your platform.
- Ruby 1.8.6 (md5: 23d2494aa94e7ae1ecbbb8c5e1507683) stable version (Recommendation)
- The tar 'ed and gzip 'ed files in the stable version snapshot are the latest and stable.CVS. It should be more stable than the last release.
- The tar 'ed and gzip 'ed files in the Development snapshot are the latest.CVS. It may contain some unsolved problems.
For more information, see the Ruby Core page.
Windows
There are several options for installing Ruby on Windows. The first option is to install only compiled binary files. The second option is to directly execute the "one-step installation" program. If you do not know how to install Ruby, one-step installation is your best choice. (In addition to Ruby, this installation method binds some additional resource libraries .)
- Ruby 1.8.6 one-step installation (md5: 3b768d48ed4e25991762e8c76e54f28d) stable version (Recommendation)
- Ruby 1.8.6 binary (md5: d4ca9d387614213156289fb6c4208dd0) stable version (Recommendation)
- Ruby 1.9.0 binary (md5: 9809f6e9bc7795f83612b424e36c8724) Development edition (Lab)
Linux
Ruby has been pre-installed in many Linux distributions. If Ruby is not installed on your system, several methods are provided for installation. The first method is to download only the source code and then compile and install it manually. If you don't want to waste time compiling from source code, many platforms provide release packages for the corresponding machine architecture, which makes Ruby installation quite easy.
For example, Debian or Ubuntuapt-getIt provides a simple and elegant solution:
% sudo apt-get install ruby irb rdoc
For irb and rdoc, You need to activate universe repository.