rubygems still use .org (#407)
authorKyle Zhao <kzhao.sw@gmail.com>
Mon, 3 Sep 2018 01:18:58 +0000 (09:18 +0800)
committerSam <sam.saffron@gmail.com>
Mon, 3 Sep 2018 01:18:58 +0000 (11:18 +1000)
`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

index 5a424a7d79622786d5b19b7b8cd92b4f78b9edd6..973647f1f94f207676b9f7db1052e040cc142dff 100644 (file)
@@ -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/'