ruby-china change domain (#406)

ruby-china change domain (#406)

From ed294afb624a96ff234f1795f449e7b293e99178 Mon Sep 17 00:00:00 2001
From: scavin <scavina@gmail.com>
Date: Mon, 3 Sep 2018 08:32:59 +0800
Subject: [PATCH] ruby-china change domain (#406)


diff --git a/templates/web.china.template.yml b/templates/web.china.template.yml
index 983f289..5a424a7 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.org/ --remove https://rubygems.org/
+         - gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.com/
 
   before_bundle_exec:
     - exec:
        cmd:
-         - su discourse -c 'bundle config mirror.https://rubygems.org https://gems.ruby-china.org/'
+         - su discourse -c 'bundle config mirror.https://rubygems.com https://gems.ruby-china.com/'

GitHub

1 Like