Skip to content

Commit

Permalink
Merge pull request #201 from tansengming/bugs/fix-bundler-missing
Browse files Browse the repository at this point in the history
Fixes "bundle: command not found" on github actions
  • Loading branch information
tansengming authored Dec 6, 2020
2 parents 7540303 + 7617a32 commit 064a460
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
RUBY_VERSION: ${{ matrix.ruby }}
run: |
if [ $RUBY_VERSION == "2.5.x" ] ;
then gem install bundler
fi
bundle install --jobs 4 --retry 3
bundle exec rake
if [ `basename $BUNDLE_GEMFILE` == "Gemfile" ] && [ $RUBY_VERSION == "2.7.x" ] && [ ! -z ${CC_TEST_REPORTER_ID} ] ;
Expand Down

0 comments on commit 064a460

Please sign in to comment.