mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Automatically create a ~/.gemrc file
* To avoid generating documentation on `gem install`, which can take a long time.
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ export function getAvailableVersions(platform, engine) {
|
||||
|
||||
export async function install(platform, ruby) {
|
||||
const rubyPrefix = await downloadAndExtract(platform, ruby)
|
||||
let newPathEntries;
|
||||
let newPathEntries
|
||||
if (ruby.startsWith('rubinius')) {
|
||||
newPathEntries = [path.join(rubyPrefix, 'bin'), path.join(rubyPrefix, 'gems', 'bin')]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user