fix:调整rbenv global版本,修复build_android失败问题

This commit is contained in:
liyi 2025-05-30 13:50:48 +08:00
parent a94e80e670
commit 2b29e510ce

View File

@ -64,11 +64,7 @@ variables:
- export NEXT_VERSION="$(cat app_new.version)"
# - flutter pub get
- export PATH="/opt/homebrew/bin:$PATH"
- rbenv install 2.7.8 --skip-existing
- rbenv global 2.7.8
- eval "$(rbenv init -)"
- rbenv --version
- ruby -v
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
- bundle install --gemfile android/Gemfile --quiet
cache:
@ -83,8 +79,6 @@ variables:
# - flutter pub get
- export PATH="/opt/homebrew/bin:$PATH"
- eval "$(rbenv init -)"
- rbenv --version
- ruby -v
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
- bundle install --gemfile ios/Gemfile --quiet
cache: