52 lines
2.0 KiB
JSON

{
"version": "4.0.1-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.1-1/rubyinstaller-4.0.1-1-x64.7z",
"hash": "45cd5ac6aa0fdd976acbc0b0c768e38e8f5357b1b07d2c803cccafd7de758fb1",
"extract_dir": "rubyinstaller-4.0.1-1-x64"
},
"arm64": {
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.1-1/rubyinstaller-4.0.1-1-arm.7z",
"hash": "479646ca0305dbd4db756b8061f2084b9328b195ddab88ad400e16e82345a1cf",
"extract_dir": "rubyinstaller-4.0.1-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"
}
}
}