{
"version": "4.0.2-1",
"description": "A dynamic programming language with a focus on simplicity and productivity.",
"homepage": "https://rubyinstaller.org",
"license": "BSD-3-Clause",
"notes": "Install MSYS2 via 'scoop install msys2' and then run 'ridk install' to install the toolchain!",
"suggest": {
"MSYS2": "msys2"
},
"architecture": {
"64bit": {
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.2-1/rubyinstaller-4.0.2-1-x64.7z",
"hash": "f6c562d507b272b892055f35ece3cbc65de5f3f2f63d18b7345a602af8c1e655",
"extract_dir": "rubyinstaller-4.0.2-1-x64"
},
"arm64": {
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.2-1/rubyinstaller-4.0.2-1-arm.7z",
"hash": "f7ceacfa7468da793d74fc60816fcb319b3249b444b0a0ad68fd33365f7f2b3f",
"extract_dir": "rubyinstaller-4.0.2-1-arm"
}
},
"post_install": "gem install rake",
"env_add_path": [
"bin",
"gems\\bin"
],
"env_set": {
"GEM_HOME": "$dir\\gems"
},
"persist": "gems",
"checkver": {
"url": "https://raw.githubusercontent.com/oneclick/rubyinstaller.org-website/master/_data/downloads.yaml",
"regex": "Ruby (\\S+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$version/rubyinstaller-$version-x64.7z",
"extract_dir": "rubyinstaller-$version-x64"
},
"arm64": {
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$version/rubyinstaller-$version-arm.7z",
"extract_dir": "rubyinstaller-$version-arm"
}
},
"hash": {
"url": "https://raw.githubusercontent.com/oneclick/rubyinstaller.org-website/master/_data/downloads.yaml",
"regex": "(?sm)$basename[^.].*?$sha256"
}
}
}