diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc8c4c69..69738d60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,7 +72,7 @@ variables: - which ruby # 输出当前使用的ruby路径,便于调试 - ruby -v # 输出当前ruby版本,便于调试 - gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行 - - bundle config mirror.https://rubygems.org https://gems.ruby-china.com + - bundle config mirror.https://rubygems.org https://mirrors.aliyun.com/rubygems/ - bundle -v || gem install bundler --source https://gems.ruby-china.com/ - ls -li - export NEXT_VERSION="$(cat app_new.version)" diff --git a/android/Gemfile b/android/Gemfile index 3de6080f..79087196 100644 --- a/android/Gemfile +++ b/android/Gemfile @@ -1,4 +1,4 @@ -source "https://gems.ruby-china.com" +source "https://mirrors.aliyun.com/rubygems/" gem "fastlane" gem 'nkf', '0.2.0'