Set bundle config rather than deprecated --system flag (#50497)

This commit is contained in:
Christopher Fujino 2020-02-10 17:41:37 -08:00 committed by GitHub
parent bcef4edfc8
commit 1f498e2471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -456,7 +456,8 @@ task:
- date
- which flutter
- bundle --version
- sudo bundle install --system --gemfile=dev/ci/mac/Gemfile
- bundle config set system 'true'
- sudo bundle install --gemfile=dev/ci/mac/Gemfile
- git clean -xffd --exclude=bin/cache/
- git fetch origin
- git fetch origin master # To set FETCH_HEAD, so that "git merge-base" works.

View File

@ -123,7 +123,8 @@ RUN gem install bundler -N
COPY ci/docker_linux/Gemfile /Gemfile
COPY ci/docker_linux/Gemfile.lock /Gemfile.lock
RUN bundle install --system
RUN bundle config set system 'true' && \
bundle install --system
# Install goldctl, for Golden testing
# Last updated 2020-02-04 (update to rebuild Dockerfile with latest goldctl)