Skip to content

Commit

Permalink
Update broken RubyInstaller download URLs.
Browse files Browse the repository at this point in the history
Bintray is no longer available.

Use DevKit builds from the RubyInstaller GitHub releases page.

Use a copy of the 2.0.0-p648 build retrieved from archive.org and
rehosted at https://github.com/philr/rubyinstaller/releases/tag/2.0.0-p648
  • Loading branch information
philr committed May 21, 2021
1 parent 3b7a063 commit 1f8bc9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions windows-versions.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const versions = {
"x86": {
"2.0.0": "https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.0.0-p648-i386-mingw32.7z",
"2.0.0": "https://github.com/philr/rubyinstaller/releases/download/2.0.0-p648/ruby-2.0.0-p648-i386-mingw32.7z",
"1.9.3": "https://github.com/philr/rubyinstaller/releases/download/1.9.3-p551-openssl-tls-1.1-1.2-2/ruby-1.9.3-p551-i386-mingw32.7z"
},
"x64": {
"2.0.0": "https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.0.0-p648-x64-mingw32.7z"
"2.0.0": "https://github.com/philr/rubyinstaller/releases/download/2.0.0-p648/ruby-2.0.0-p648-x64-mingw32.7z"
}
}
4 changes: 2 additions & 2 deletions windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ async function setupMingw(architecture, version) {
// Ruby 1.9.3, 2.0, 2.1, 2.2 and 2.3
async function installMSYS(architecture, version) {
const url = architecture === 'x86'
? 'https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe'
: 'https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe'
? 'https://github.com/oneclick/rubyinstaller/releases/download/devkit-4.7.2/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe'
: 'https://github.com/oneclick/rubyinstaller/releases/download/devkit-4.7.2/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe'
const downloadPath = await tc.downloadTool(url)
const msys = architecture === 'x86' ? msysX86 : msysX86
await exec.exec('7z', ['x', downloadPath, `-o${msys}`], { silent: true })
Expand Down

0 comments on commit 1f8bc9b

Please sign in to comment.