rubygems still use .org (#407)

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

From 5fbf7d58dfa5f2bccf206639e0fbc03cc81cb9b9 Mon Sep 17 00:00:00 2001
From: Kyle Zhao <kzhao.sw@gmail.com>
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

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/'

GitHub

1 Like