From 731f333f406805c5a0d88eb85d70b9ea3db396e3 Mon Sep 17 00:00:00 2001 From: Pavel Kukushkin Date: Wed, 15 May 2024 13:30:14 +0200 Subject: [PATCH] Use absolute path to load homebrew service --- lib/service/formula_wrapper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service/formula_wrapper.rb b/lib/service/formula_wrapper.rb index 427634585..77d254537 100644 --- a/lib/service/formula_wrapper.rb +++ b/lib/service/formula_wrapper.rb @@ -201,7 +201,7 @@ def to_hash # and avoid nameclashes with the current Service module. # It should be used instead of calling formula.service directly. def load_service - require_relative "../../../../../Homebrew/service" + require_relative "/usr/local/Homebrew/Library/Homebrew/service" formula.service end