{
    "version": "3.4.9-1",
    "description": "Ruby, a dynamic programming language with a focus on simplicity and productivity. (version 3.4)",
    "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-3.4.9-1/rubyinstaller-3.4.9-1-x64.7z",
            "hash": "4375268618b61dadf53bf8e54beaca74ea30580c90d3c47ea9f2a134bd3e494e",
            "extract_dir": "rubyinstaller-3.4.9-1-x64"
        },
        "32bit": {
            "url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.9-1/rubyinstaller-3.4.9-1-x86.7z",
            "hash": "8d72d35b61a3664861b2e727df6d6bc957c2e53ff323376b6cf00948d634060e",
            "extract_dir": "rubyinstaller-3.4.9-1-x86"
        },
        "arm64": {
            "url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.9-1/rubyinstaller-3.4.9-1-arm.7z",
            "hash": "ba73f9c75ad119413e444996db3b4865d55221673172dbb6329f250bd4ca6156",
            "extract_dir": "rubyinstaller-3.4.9-1-arm"
        }
    },
    "post_install": "gem install rake",
    "env_add_path": [
        "bin",
        "gems\\bin"
    ],
    "env_set": {
        "GEM_HOME": "$dir\\gems",
        "GEM_PATH": "$dir\\gems"
    },
    "persist": "gems",
    "checkver": {
        "url": "https://raw.githubusercontent.com/oneclick/rubyinstaller.org-website/master/_data/downloads.yaml",
        "regex": "Ruby (3\\.4[\\d.-]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$version/rubyinstaller-$version-x64.7z",
                "extract_dir": "rubyinstaller-$version-x64"
            },
            "32bit": {
                "url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-$version/rubyinstaller-$version-x86.7z",
                "extract_dir": "rubyinstaller-$version-x86"
            },
            "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"
        }
    }
}
