Set source bundler globally for Ruby

This commit is contained in:
Aoran Zeng 2024-06-05 00:22:20 +08:00
parent 2957ecc995
commit ae40a07255

View File

@ -70,7 +70,7 @@ pl_ruby_setsrc (char *option)
return;
}
cmd = xy_2strjoin ("bundle config 'mirror.https://rubygems.org' ", source.url);
cmd = xy_2strjoin ("bundle config --global 'mirror.https://rubygems.org' ", source.url);
chsrc_run (cmd);
chsrc_say_thanks (&source);