mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Use a hardcoded toolcache path since we need to extract there to let Ruby work
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export async function install(platform, engine, version) {
|
||||
async function downloadAndExtract(platform, engine, version) {
|
||||
let rubyPrefix
|
||||
if (common.shouldExtractInToolCache(engine, version)) {
|
||||
rubyPrefix = common.getToolCacheRubyPrefix(version)
|
||||
rubyPrefix = common.getToolCacheRubyPrefix(platform, version)
|
||||
} else if (windows) {
|
||||
rubyPrefix = path.join(`${common.drive}:`, `${engine}-${version}`)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user