Skip to content

Commit

Permalink
different approach to setup system ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 5, 2024
1 parent b566759 commit 514c7ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ jobs:
working-directory: getargv_ruby
- name: Set up Ruby ${{ matrix.ruby }}
run: |
echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV
/usr/bin/gem install bundler -v `/usr/bin/bundle env | grep -A1 BUNDLED | tr -d ' ' | grep -v 'BUNDLED'`
/usr/bin/bundle install
/usr/bin/bundle info bundler
export "PATH=/usr/bin:$PATH"
echo "PATH=$PATH" >> $GITHUB_ENV
bundle update --bundler
gem install bundler -v `bundle env | grep -A1 BUNDLED | tr -d ' ' | grep -v 'BUNDLED'`
bundle install
bundle info bundler
working-directory: getargv_ruby
if: ${{ matrix.ruby == 'system' }}
- name: Create .ruby-version file
Expand Down

0 comments on commit 514c7ee

Please sign in to comment.