From 1db3f6d69407fcfec9de612bc83d89e9b134757e Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Wed, 16 Apr 2025 17:04:31 +0100 Subject: [PATCH] services: fix FileUtils usage in Ruby 3.4 --- Library/Homebrew/services/cli.rb | 1 + Library/Homebrew/services/system.rb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/services/cli.rb b/Library/Homebrew/services/cli.rb index 0694b05bf0..d5a1042a1c 100644 --- a/Library/Homebrew/services/cli.rb +++ b/Library/Homebrew/services/cli.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true require "services/formula_wrapper" +require "fileutils" module Homebrew module Services diff --git a/Library/Homebrew/services/system.rb b/Library/Homebrew/services/system.rb index 5aea3e6040..905e511b21 100644 --- a/Library/Homebrew/services/system.rb +++ b/Library/Homebrew/services/system.rb @@ -6,8 +6,6 @@ require_relative "system/systemctl" module Homebrew module Services module System - extend FileUtils - # Path to launchctl binary. sig { returns(T.nilable(Pathname)) } def self.launchctl