Скачать
RubyInstaller Архивы
Не знаете, какую версию выбрать? Тогда прочтите инструкцию справа.
С Devkit
- Ruby+Devkit 2.7.1-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.7.1-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.6.6-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.6.6-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.5.8-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.5.8-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.4.10-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby+Devkit 2.4.10-1 (x86)
- загрузить GPG-подпись
- SHA256:
Без Devkit
- Ruby 2.7.1-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.7.1-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.6.6-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.6.6-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.5.8-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.5.8-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.4.10-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.4.10-1 (x86)
- загрузить GPG-подпись
- SHA256:
Другие полезные дополнения
7-Zip архивы
- Ruby 2.7.1-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.7.1-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.6.6-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.6.6-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.5.8-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.5.8-1 (x86)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.4.10-1 (x64)
- загрузить GPG-подпись
- SHA256:
- Ruby 2.4.10-1 (x86)
- загрузить GPG-подпись
- SHA256:
Какую версию загружать?
Если вы не знаете, какую версию RubyInstaller установить и только начинаете работать с Ruby, то используйте установщик Ruby+DevKit 2.6.x (x64). Он содержит наибольшее количество совместимых гемов и устанавливает MSYS2-DevKit вместе с Ruby, потому гемы с расширением C скомпилируются сразу же. 32-битную (x86) версию советуем, только если приходится работать с пользовательскими 32-битными встроенными DLL- или COM-объектами.
Как обновлять?
Обновите Ruby до свежего патча (например, с версии 2.5.1 до 2.5.4), запустив соответствующую версию установщика. Существующие гемы не перезапишутся и будут стабильно работать с новыми версиями. Используйте RubyInstaller (без DevKit), чтобы обновить установки. Сам DevKit обновляйте отдельно с помощью команды ridk install .
Если вы загружаете версию Ruby из другой стабильной ветки (2.6.x, например), используйте новую директорию для этого. То есть не следует обновлять RubyInstaller-2.5.x до версии 2.6.x, так как гемы с расширением C несовместимы между Ruby 2.5 и 2.6. Больше информации об этом в разделе FAQ.
RubyInstaller-head
RubyInstaller-head – это ежедневно обновляемая версия Ruby development branch. Ее можно использовать для тестов непрерывной интеграции (CI) ваших гемов или приложений, чтобы вы были готовы к ближайшим изменениям ядра руби. Сборки доступны на URI стабильной загрузки в разделе github release. Их можно с легкостью интегрировать в Appveyor.
Какую версию Development Kit выбрать?
Для Ruby 2.4.0 и новее в качестве комплекта разработки используется пакет MSYS2. Он входит в состав Ruby+DevKit как компонент по выбору, чтобы не было нужды скачивать/устанавливать MSYS2 дополнительно. Если используете Ruby без DevKit, то MSYS2 DevKit устанавливайте отдельно командой ridk install
RubyInstaller-head
RubyInstaller-head is a daily updated version of the Ruby development branch. It can be used for continuous integration tests (CI) on your gems or applications, so that you’re prepared for upcoming changes to the ruby core. Builds are available on stable download URIs in the github release section. They can be easily integrated into Appveyor.
With Development Kit?
RubyInstaller uses the MSYS2 toolchain as development kit. It is bundled into the Ruby+Devkit installer version as a selectable component, so that no additional downloads/installs are required. It’s possible to share one Devkit for multiple Ruby versions.
MSYS2 требуется, чтобы компилировать дополнения на C/C++ для Ruby. Он необходим также для Ruby on Rails. Более того, MSYS2 позволяет загружать и использовать сотни Open Source библиотек, от которых могут зависеть некоторые гемы.
Среду разработки MSYS2 запускайте в консоли с помощью ridk enable . Она добавляет команды make , gcc , pacman или sh к пути поиска. Больше информации в вики.
Скорость и удобство
RubyInstaller компилируется с помощью GCC в дату выхода. Установленный Ruby — это нативное Windows-приложение, которое работает вкупе с функциональным дистрибутивом MSYS2 и MINGW-библиотеками.
Ищите больше о RubyInstaller и его альтернативах здесь.
Документация
Основы и документация стандартной библиотеки Ruby входит в установочный пакет. Мы рекомендуем почитать ещё и online-вариант или HTML-версию, которую можно скачать на ruby-doc.org.
Поддержка
Делитесь вашим мнением о RubyInstaller или предлагайте улучшения в нашей дружелюбной и полезной Google Группе. Счастливого программирования на Ruby!
Downloads
RubyInstallers Archives
Not sure what version to download? Please read the right-hand column for recommendations.
with Devkit
- Ruby+Devkit 2.7.2-1 (x64)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.7.2-1 (x86)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.6.6-2 (x64)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.6.6-2 (x86)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.5.8-2 (x64)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.5.8-2 (x86)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.4.10-1 (x64)
- download GPG signature
- SHA256:
- Ruby+Devkit 2.4.10-1 (x86)
- download GPG signature
- SHA256:
without Devkit
- Ruby 2.7.2-1 (x64)
- download GPG signature
- SHA256:
- Ruby 2.7.2-1 (x86)
- download GPG signature
- SHA256:
- Ruby 2.6.6-2 (x64)
- download GPG signature
- SHA256:
- Ruby 2.6.6-2 (x86)
- download GPG signature
- SHA256:
- Ruby 2.5.8-2 (x64)
- download GPG signature
- SHA256:
- Ruby 2.5.8-2 (x86)
- download GPG signature
- SHA256:
- Ruby 2.4.10-1 (x64)
- download GPG signature
- SHA256:
- Ruby 2.4.10-1 (x86)
- download GPG signature
- SHA256:
Other Useful Downloads
7-Zip Archives
- Ruby 2.7.2-1 (x64)
- download GPG signature
- SHA256:
- Ruby 2.7.2-1 (x86)
- download GPG signature
- SHA256:
- Ruby 2.6.6-2 (x64)
- download GPG signature
- SHA256:
- Ruby 2.6.6-2 (x86)
- download GPG signature
- SHA256:
- Ruby 2.5.8-2 (x64)
- download GPG signature
- SHA256:
- Ruby 2.5.8-2 (x86)
- download GPG signature
- SHA256:
- Ruby 2.4.10-1 (x64)
- download GPG signature
- SHA256:
- Ruby 2.4.10-1 (x86)
- download GPG signature
- SHA256:
Which version to download?
If you don’t know what version to install and you’re getting started with Ruby, we recommend that you use the Ruby+Devkit 2.7.X (x64) installer. It provides the biggest number of compatible gems and installs the MSYS2 Devkit alongside Ruby, so gems with C-extensions can be compiled immediately. The 32 bit (x86) version is recommended only if custom 32 bit native DLLs or COM objects have to be used.
How to update?
Ruby can be updated to the latest patch version (e.g. from 2.6.1 to 2.6.4) by running the new installer version. Installed gems are not overwritten and will work with the new version without re-installation. It’s sufficient to use the RubyInstaller without Devkit for these update installations. The Devkit can be updated separately using the ridk install command.
If the new Ruby version is from a different stable branch, then please use a new target directory for installation. That is to say, a previous RubyInstaller-2.6.x installation should not be updated by installing RubyInstaller-2.7.x into the same directory. This is because gems with C extensions are not compatible between ruby-2.6 and 2.7. Find out more in the FAQ.
RubyInstaller-head
RubyInstaller-head is a daily-updated version of the Ruby development branch. It can be used for continuous integration tests (CI) on your gems or applications, so you’re prepared for upcoming changes to the Ruby core. Builds are available on stable download URIs in the github release section. They can be easily integrated into Appveyor.
With Development Kit?
RubyInstaller uses the MSYS2 toolchain as its development kit. It is bundled into the Ruby+Devkit installer version as a selectable component, so that no additional downloads/installs are required. It’s possible to share one Devkit among multiple versions of Ruby.
MSYS2 is required in order to build native C/C++ extensions for Ruby and is necessary for Ruby on Rails. Moreover it allows the download and usage of hundreds of Open Source libraries which Ruby gems often depend on.
The MSYS2 development environment can be activated in a running cmd or powershell console by ridk enable . This adds commands like make , gcc , pacman or sh to the search path. See more in the Wiki.
Speed and Convenience
RubyInstaller is compiled with the latest GCC at the release date. The installed Ruby is a native Windows application but combines this with the rich UNIX toolset of MSYS2 and the large repository of MINGW libraries.
Read more about RubyInstaller and its alternatives here.
Documentation
The Ruby core- and standard library documentation are included as part of the installation. We also recommend the online documentation, or the HTML version downloadable from ruby-doc.org.
Support
Enjoy! Happy Ruby-coding! And let us know what you think, or if you have any issues, at our helpful and friendly RubyInstaller Google Group.