Skip to content

Commit f4c764b

Browse files
committed
fix: let ruby/setup-ruby handle bundler installation to fix OpenSSL issue
- Changed bundler from 'none' to '4.0.0' in Setup Ruby step - Removed separate Install Bundler step that was failing on macOS - ruby/setup-ruby knows how to install bundler with proper OpenSSL support - Fixes: ERROR: OpenSSL is not available on macOS runners
1 parent 8295f2f commit f4c764b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/ci-ruby.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,10 @@ jobs:
145145
uses: ruby/setup-ruby@v1
146146
with:
147147
ruby-version: "3.2"
148-
bundler: none
148+
bundler: "4.0.0"
149149
bundler-cache: false
150150
working-directory: packages/ruby
151151

152-
- name: Install Bundler
153-
shell: bash
154-
run: scripts/ci/ruby/install-bundler.sh
155-
156152
- name: Set BUNDLE_GEMFILE (Unix)
157153
if: runner.os != 'Windows'
158154
shell: bash
@@ -549,14 +545,10 @@ jobs:
549545
uses: ruby/setup-ruby@v1
550546
with:
551547
ruby-version: "3.2"
552-
bundler: none
548+
bundler: "4.0.0"
553549
bundler-cache: false
554550
working-directory: packages/ruby
555551

556-
- name: Install Bundler
557-
shell: bash
558-
run: scripts/ci/ruby/install-bundler.sh
559-
560552
- name: Set BUNDLE_GEMFILE (Unix)
561553
if: runner.os != 'Windows'
562554
shell: bash

0 commit comments

Comments
 (0)