diff --git a/dist/index.js b/dist/index.js index f9abf0f..07aaff2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1097,10 +1097,6 @@ function findUbuntuVersion() { } function setupPath(rubyPrefix, ruby, toolsPath) { - // not used, saved for future - // const rubyPath = path.join(rubyPrefix, 'bin', 'ruby') - // const gemUserDir = cp.execSync(`${rubyPath} -e "puts Gem.user_dir"`).toString().trim() - const originalPath = process.env['PATH'].split(path.delimiter) let cleanPath = originalPath.filter(e => !/\bruby\b/i.test(e)) diff --git a/index.js b/index.js index 82979fc..152c804 100644 --- a/index.js +++ b/index.js @@ -108,10 +108,6 @@ function findUbuntuVersion() { } function setupPath(rubyPrefix, ruby, toolsPath) { - // not used, saved for future - // const rubyPath = path.join(rubyPrefix, 'bin', 'ruby') - // const gemUserDir = cp.execSync(`${rubyPath} -e "puts Gem.user_dir"`).toString().trim() - const originalPath = process.env['PATH'].split(path.delimiter) let cleanPath = originalPath.filter(e => !/\bruby\b/i.test(e))