fix:调整镜像源

This commit is contained in:
liyi 2025-05-17 11:42:23 +08:00
parent 1ee2ca5a54
commit aa6f01ad5c
3 changed files with 4 additions and 8 deletions

View File

@ -73,11 +73,9 @@ variables:
- export PATH="$HOME/.rbenv/shims:$PATH"
- which ruby # 输出当前使用的ruby路径便于调试
- ruby -v # 输出当前ruby版本便于调试
- gem sources --add https://gems.ruby-china.com/ # 如在国外可移除此行
- gem sources --add https://rubygems.org || true # 保证官方源始终存在
- 'echo -e "---\n:backtrace: false\n:bulk_threshold: 1000\n:sources:\n- https://rubygems.org\n:update_sources: true\n:verbose: true" > ~/.gemrc'
- bundle config mirror.https://rubygems.org https://mirrors.aliyun.com/rubygems/
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
- bundle -v || gem install bundler --source https://rubygems.org/
- ls -li
- export NEXT_VERSION="$(cat app_new.version)"
- bash scripts/bundle_install_and_auto_add.sh android/Gemfile vendor/bundle_android "bundle exec fastlane -v"
@ -108,11 +106,9 @@ variables:
- export PATH="$HOME/.rbenv/shims:$PATH"
- which ruby # 输出当前使用的ruby路径便于调试
- ruby -v # 输出当前ruby版本便于调试
- gem sources --add https://gems.ruby-china.com/ # 如在国外可移除此行
- gem sources --add https://rubygems.org || true # 保证官方源始终存在
- 'echo -e "---\n:backtrace: false\n:bulk_threshold: 1000\n:sources:\n- https://rubygems.org\n:update_sources: true\n:verbose: true" > ~/.gemrc'
- bundle config mirror.https://rubygems.org https://mirrors.aliyun.com/rubygems/
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
- bundle -v || gem install bundler --source https://rubygems.org/
- ls -li
- export NEXT_VERSION="$(cat app_new.version)"
- bash scripts/bundle_install_and_auto_add.sh ios/Gemfile vendor/bundle_ios "bundle exec fastlane -v"

View File

@ -1,4 +1,4 @@
source "https://gems.ruby-china.com"
source "https://rubygems.org"
gem "fastlane"
gem 'nkf', '0.2.0'

View File

@ -1,4 +1,4 @@
source "https://gems.ruby-china.com"
source "https://rubygems.org"
gem "fastlane"
gem 'cocoapods', '1.14.3'