mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 16:51:20 +00:00
Ruby 2.4.1-2 (#1688)
* Ruby 2.4.1-2 * ruby: fix checkver and add autoupdate * ruby: improve setup - rake is required for ridk to work - add suggestion for scoops msys2 - add notes for installing msys2 and the toolchain * msys2: add note for the first run setup * msys2: add to path (required for rubys ridk to find it)
This commit is contained in:
parent
af6cb04d48
commit
d93447231a
@ -20,6 +20,8 @@
|
|||||||
"msys2"
|
"msys2"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"env_add_path": ".",
|
||||||
|
"notes": "Please run 'msys2' now for the MSYS2 setup to complete!",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"re": "http://repo.msys2.org/distrib/x86_64/msys2-x86_64-(\\d+).exe"
|
"re": "http://repo.msys2.org/distrib/x86_64/msys2-x86_64-(\\d+).exe"
|
||||||
},
|
},
|
||||||
|
|||||||
54
ruby.json
54
ruby.json
@ -1,34 +1,18 @@
|
|||||||
{
|
{
|
||||||
"homepage": "https://rubyinstaller.org",
|
"homepage": "https://rubyinstaller.org",
|
||||||
"version": "2.3.3",
|
"version": "2.4.1-2",
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": [
|
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/2.4.1-2/rubyinstaller-2.4.1-2-x64.7z",
|
||||||
"https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.3.3-x64-mingw32.7z?direct#/dl.7z",
|
"hash": "2ad3c7f68404ba0805cf91e682ecf2d85b75c42a5809e73e54898f24a1e014bb",
|
||||||
"https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe#/dl2.7z"
|
"extract_dir": "rubyinstaller-2.4.1-2-x64"
|
||||||
],
|
|
||||||
"hash": [
|
|
||||||
"92b97ac3eb380f3f1b7b655a328668cf02b2846ad3c20135bd51f45f4c1cbfc8",
|
|
||||||
"2ada04c7234199126c0f34f6ea7163a8f8dccb1e15814af175a189f6ac48b8ac"
|
|
||||||
],
|
|
||||||
"extract_dir": "ruby-2.3.3-x64-mingw32"
|
|
||||||
},
|
},
|
||||||
"32bit": {
|
"32bit": {
|
||||||
"url": [
|
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/2.4.1-2/rubyinstaller-2.4.1-2-x86.7z",
|
||||||
"https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.3.3-i386-mingw32.7z?direct#/dl.7z",
|
"hash": "8c5e6fa26442384eb737a783fdea494454cf5975ab32e141ffe6b94724b7ec49",
|
||||||
"https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe#/dl2.7z"
|
"extract_dir": "rubyinstaller-2.4.1-2-x86"
|
||||||
],
|
|
||||||
"hash": [
|
|
||||||
"5022ef928f0296abede90f1cf4346250d69f6298c648cad6279938f64eca29fa",
|
|
||||||
"61a06b5da06dd94343e591163ac0d43c544e9cd4df770f01275645b268b44dc7"
|
|
||||||
],
|
|
||||||
"extract_dir": "ruby-2.3.3-i386-mingw32"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extract_to": [
|
|
||||||
"",
|
|
||||||
"devkit"
|
|
||||||
],
|
|
||||||
"persist": "gems",
|
"persist": "gems",
|
||||||
"env_add_path": [
|
"env_add_path": [
|
||||||
"bin",
|
"bin",
|
||||||
@ -38,9 +22,27 @@
|
|||||||
"GEM_HOME": "$dir\\gems",
|
"GEM_HOME": "$dir\\gems",
|
||||||
"GEM_PATH": "$dir\\gems"
|
"GEM_PATH": "$dir\\gems"
|
||||||
},
|
},
|
||||||
"post_install": "pushd $dir\\devkit;echo \"---`n- $dir\" | out-file config.yml -enc default; ruby dk.rb install;popd;",
|
"suggest": {
|
||||||
|
"MSYS2": [
|
||||||
|
"msys2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"post_install": "gem install rake",
|
||||||
|
"notes": "Install MSYS2 via 'scoop install msys2' and then run 'ridk install' to install the toolchain!",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://rubyinstaller.org/downloads/",
|
"github": "https://github.com/oneclick/rubyinstaller2",
|
||||||
"re": "ruby-([\\d.]+)-x64-mingw32.7z"
|
"re": "/releases/tag/(?:v)?([\\d.]+(?:-[\\d])?)"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/$version/rubyinstaller-$version-x64.7z",
|
||||||
|
"extract_dir": "rubyinstaller-$version-x64"
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": "https://github.com/oneclick/rubyinstaller2/releases/download/$version/rubyinstaller-$version-x86.7z",
|
||||||
|
"extract_dir": "rubyinstaller-$version-x86"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user