ArticleDirectory
- Ruby source code
- Windows
- Linux
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 environmentCodeInstallation 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 "one-step installation"ProgramIf 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.