{"id":13897562,"url":"https://github.com/oneclick/rubyinstaller","last_synced_at":"2026-03-10T23:36:16.728Z","repository":{"id":502392,"uuid":"129582","full_name":"oneclick/rubyinstaller","owner":"oneclick","description":"RubyInstaller for Windows - Build recipes","archived":false,"fork":false,"pushed_at":"2021-05-22T05:12:24.000Z","size":969,"stargazers_count":1185,"open_issues_count":27,"forks_count":299,"subscribers_count":108,"default_branch":"master","last_synced_at":"2025-12-20T12:55:44.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubyinstaller.org","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oneclick.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-02-15T20:40:25.000Z","updated_at":"2025-12-01T14:24:43.000Z","dependencies_parsed_at":"2022-07-07T15:21:11.139Z","dependency_job_id":null,"html_url":"https://github.com/oneclick/rubyinstaller","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/oneclick/rubyinstaller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclick%2Frubyinstaller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclick%2Frubyinstaller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclick%2Frubyinstaller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclick%2Frubyinstaller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oneclick","download_url":"https://codeload.github.com/oneclick/rubyinstaller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oneclick%2Frubyinstaller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30362122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T18:03:41.657Z","updated_at":"2026-03-10T23:36:16.669Z","avatar_url":"https://github.com/oneclick.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"__Attention__: This project provides an Installer on Windows for Ruby-2.3 and older.\nFor Ruby-2.4 and newer please refer to [RubyInstaller2](https://github.com/oneclick/rubyinstaller2).\n\n# RubyInstaller\n\nThis project, licensed under the 3-clause Modified BSD License, attempts to\ngenerate a development sandbox that can be used to compile Ruby and it's\ncomponents using the freely available MinGW toolchain. Our goal is to offer a\nsimplified way to boost your productivity when building Ruby from source code\non your Windows system, and ease the path for anyone wishing to contribute to\nthe RubyInstaller for Windows project.\n\nThis project is a work-in-progress collection of Rake build recipes that download\nand verify the MinGW utilities required to compile and build a Ruby interpreter\nand it's core components and dependencies.\n\nThe recipes also build a DevKit package that, when combined with a RubyInstaller\ninstallation, enables Windows users to easily build and use many of the native\nC-based RubyGems extensions that may not yet have a binary RubyGem. The DevKit\n(available as a Windows Installer and normal 7-Zip and self-extracting archives)\nprovides an easy-to-install compiler and build system, and convenient setup helper\nscripts.\n\n## 7-Second Quick Start\n\nEnsure you are connected to the Internet, open a Command Prompt, `cd` to the\nproject root directory, and type one of:\n\n    rake          # builds MRI 1.8.7\n    rake ruby19   # builds MRI 1.9.2\n    rake ruby20   # builds MRI 2.0.0\n    rake ruby21   # builds MRI 2.1.x\n\nPlease note that for `ruby20` and `ruby21`, you need to use a different DevKit version\nthan the default one.  \nAt this time, `mingw64-32-4.7.2` and `mingw64-64-4.7.2` are used, e.g:\n\n    rake ruby21 DKVER=mingw64-32-4.7.2\n\n## Project Directory Organization\n\nThe Rake build recipes are distributed inside the project's recipes/ directory\nusing the following sub-directory structure:\n\n- `compiler/*.rake`: the recipes to download and prepare the native code compiler\n(MinGW for now) that will be used to build the Ruby interpreter.\n\n- `dependencies/*.rake`: the recipes contains the dependencies needed to be downloaded,\ncompiled and included for the interpreter to work properly. At this time zlib,\nrb-readline, gdbm, iconv, pdcurses, and openssl are included.\n\n- `devkit/*.rake`: the recipes for downloading the MSYS/MinGW/TDM artifacts needed\nto build native C-based RubyGem extensions. The recipes conveniently package the\nartifacts into a Windows Installer, and normal 7-Zip and self-extracting archives.\n\n- `extract_utils/*.rake`: the low-level archive extraction utility recipes used by\nother core build recipes.\n\n- `interpreter/*.rake`: the recipes to build the Matz's Ruby Interpreter and, in\nthe future, other Ruby interpreters (Rubinius, JRuby, etc).\n\n- `packager/*.rake`: the recipes use to generate Windows installer packages\n(currently the Innosetup toolset) and other kinds of packages.\n\n- `tools/*.rake`: the recipes for the additional components of the installer.\nCurrently, recipes exist for the RubyGems package management system, the creation\nof RDoc-based MS HTML Help (CHM) files, and the book \"The Little Book of Ruby\"\ncourtesy of Huw Collingbourne.\n\nThe recipe configuration files are distributed in the `config/` sub-directory of\nthe project's root directory. Configuration files for different DevKit compilers\nare distributed in the `config/compilers/` sub-directory.\n\nTo override the default configuration, create an `override/build_config.rb` file\nin the project's root directory. See the default `config/ruby_installer.rb` and\n`config/devkit.rb` configuration files for values that can be overridden.\n\n## Requirements\n\nAt this time you need to have a working Ruby installation (the current stable\nOne-Click Installer release is enough).\n\nIn case you don't have the OCI installed, you will need:\n\n- Ruby 1.9.3 or greater (mswin32 or mingw32 implementation will work) -- **Not cygwin!**\n- Zlib extension and DLL (zlib1.dll) available in the PATH (could be in system32\nor your Ruby bin directory)\n\nInnosetup 5.4.2 is required to compile and build the Windows installer.\n\n## Build Task Examples\n\n    rake                             # builds 1.8.7 [default build task]\n    rake ruby18                      # builds 1.8.7\n    rake ruby18 COMPAT=1             # builds 1.8.6\n    rake ruby19                      # builds 1.9.2\n    rake ruby19 COMPAT=1             # builds 1.9.1\n    rake ruby20                      # builds 2.0.0\n    rake ruby21                      # builds 2.1.x\n    rake CHECKOUT=1                  # builds 1.8.7 svn latest (branch ruby_1_8_7)\n    rake LOCAL=\"c:\\myruby18\"         # builds 1.8.x from sources at \"c:\\myruby18\"\n    rake ruby19 CHECKOUT=1           # builds 1.9.1 svn latest\n    rake ruby19 CHECKOUT=1 TRUNK=1   # builds 1.9 trunk latest (1.9.3)\n    rake ruby19 LOCAL=\"c:\\myruby\"    # builds 1.9 from sources at \"c:\\myruby\"\n\nYou can combine `COMPAT` and `CHECKOUT` to build Ruby 1.8.6 directly from the\nSubversion repository.\n\n### DevKit Build Task Examples:\n\n    rake devkit                      # builds Installer (TDM 4.5.2)\n    rake devkit DKVER=tdm-32-4.6.1   # builds Installer (TDM 32-bit 4.6.1)\n    rake devkit 7Z=1                 # builds Installer and 7-Zip archive\n    rake devkit SFX=1                # builds Installer and self-extracting archive\n\nWhile the only officially supported DevKit's are the versions available for\ndownload at http://rubyinstaller.org/downloads both the RubyInstaller and\nDevKit recipes are flexible enough to allow one to use any one of the compiler\ntoolchains configured in the `config/compilers/` subdirectory. To list the\navailable DevKit versions and current default, invoke `rake devkit:ls`.\n\nTo use or build a specific compiler toolchain, pass rake the appropriate\n`DKVER=\u003cvendor\u003e-\u003cbits\u003e-\u003cversion\u003e` command line value as part of your rake task\ninvocation. For example:\n\n    rake devkit sfx=1 dkver=llvm-32-2.8\n    rake ruby19 dkver=mingw-32-4.6.1\n\nIf you built a custom DevKit as in the first example, look in the `pkg/`\nsubdirectory for your DevKit artifact.\n\n### DevKit Compiler Toolchains\n\n    Compiler     DKVER Values\n\n    tdm          tdm-32-4.7.1, tdm-32-4.6.1, tdm-64-4.7.1, tdm-64-4.6.1, tdm-32-4.5.2 (*)\n    mingw        mingw-32-4.6.2, mingw-32-3.4.5\n    mingw64      mingw64-32-4.7.2, mingw64-64-4.7.2\n    mingwbuilds  mingwbuilds-32-4.7.3, mingwbuilds-64-4.7.3\n\n(*) = default build toolchain\n\n## Known Issues\n\n* Avoid running this project in a PATH containing spaces as the MSYS\n  environment has issues correctly mounting /etc/fstab entries for MinGW.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneclick%2Frubyinstaller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneclick%2Frubyinstaller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneclick%2Frubyinstaller/lists"}