{
    "version": "4.0.3-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.3-1/rubyinstaller-4.0.3-1-x64.7z",
            "hash": "a4094317397511e09242be1c95b32c8700fe91ebca713fb4e190de595eea5699",
            "extract_dir": "rubyinstaller-4.0.3-1-x64"
        },
        "arm64": {
            "url": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.3-1/rubyinstaller-4.0.3-1-arm.7z",
            "hash": "0ac6b87598a8afab77111b643f765ecfe7c23212b3fe669438fa1268b13ab390",
            "extract_dir": "rubyinstaller-4.0.3-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"
        }
    }
}
