From: Kyle Zhao Date: Mon, 3 Sep 2018 01:18:58 +0000 (+0800) Subject: rubygems still use .org (#407) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5fbf7d58dfa5f2bccf206639e0fbc03cc81cb9b9;p=discourse_docker.git rubygems still use .org (#407) `ruby-china` gems mirror changed to `.com` due to ICP Filing complications The original rubygems source still uses .org, though --- diff --git a/templates/web.china.template.yml b/templates/web.china.template.yml index 5a424a7..973647f 100644 --- a/templates/web.china.template.yml +++ b/templates/web.china.template.yml @@ -2,9 +2,9 @@ hooks: before_web: - exec: cmd: - - gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.com/ + - gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ before_bundle_exec: - exec: cmd: - - su discourse -c 'bundle config mirror.https://rubygems.com https://gems.ruby-china.com/' + - su discourse -c 'bundle config mirror.https://rubygems.org https://gems.ruby-china.com/'