From 5fbf7d58dfa5f2bccf206639e0fbc03cc81cb9b9 Mon Sep 17 00:00:00 2001 From: Kyle Zhao Date: Mon, 3 Sep 2018 09:18:58 +0800 Subject: [PATCH] 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 --- templates/web.china.template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/' -- 2.25.1