Skip to content

Commit c714d66

Browse files
committed
Use ruby/setup-ruby for macOS baseruby
1 parent 998cf61 commit c714d66

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/autobuild.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ jobs:
143143
with:
144144
length: 7
145145

146+
- uses: ruby/setup-ruby@v1
147+
with:
148+
ruby-version: '3.2'
149+
146150
- name: Remove pre-existing homebrew packages
147151
run: brew remove --force $(brew list)
148152

macos/Dependencies/common.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ RUBY_CONFIGURE_ARGS := \
5252
--disable-rubygems \
5353
--disable-install-doc \
5454
--build=$(RBUILD) \
55-
--with-baseruby=/usr/local/opt/ruby/bin/ruby \
55+
--with-baseruby=$(which ruby) \
5656
--with-coroutine=ucontext \
5757
${EXTRA_RUBY_CONFIG_ARGS}
5858

0 commit comments

Comments
 (0)