Skip to content

Commit 95826f8

Browse files
committed
Sanity check on brew Ruby install location
1 parent c45cd93 commit 95826f8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/autobuild.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ jobs:
145145

146146
- name: Remove pre-existing homebrew packages
147147
run: brew remove --force $(brew list)
148+
149+
- name: Store brew Ruby location
150+
run: brew --prefix ruby
148151

149152
- name: Checkout repository
150153
uses: actions/checkout@v4

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=/opt/homebrew/opt/ruby/bin/ruby \
55+
--with-baseruby=/usr/local/opt/ruby/bin/ruby \
5656
${EXTRA_RUBY_CONFIG_ARGS}
5757

5858
CONFIGURE := $(CONFIGURE_ENV) ./configure $(CONFIGURE_ARGS)

0 commit comments

Comments
 (0)