fix:调整镜像源
This commit is contained in:
parent
1ee2ca5a54
commit
aa6f01ad5c
@ -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"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
source "https://gems.ruby-china.com"
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "fastlane"
|
||||
gem 'nkf', '0.2.0'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
source "https://gems.ruby-china.com"
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "fastlane"
|
||||
gem 'cocoapods', '1.14.3'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user