mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Add Ruby 1.9 on Linux and macOS
* On Windows there are no 64-bit builds of Ruby 1.9. * Fix floatVersion() for head versions. * Use floatVersion() in more cases instead of regexps. * Rely on ~/.gemrc to not install gem docs.
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ async function downloadAndExtract(engine, version, url, base, rubyPrefix) {
|
||||
async function setupMingw(version) {
|
||||
core.exportVariable('MAKE', 'make.exe')
|
||||
|
||||
if (version.match(/^2\.[0123]/)) {
|
||||
if (common.floatVersion(version) <= 2.3) {
|
||||
core.exportVariable('SSL_CERT_FILE', certFile)
|
||||
await common.measure('Installing MSYS', async () => installMSYS(version))
|
||||
return msysPathEntries
|
||||
|
||||
Reference in New Issue
Block a user