Add missing utils/service require
This was originally added in https://github.com/Homebrew/brew/pull/18865. ```console $ brew ruby -e 'p "activemq".f.service.to_systemd_unit' /usr/local/Homebrew/Library/Homebrew/service.rb:458:in `block in to_systemd_unit': uninitialized constant Utils::Service (NameError) from /usr/local/Homebrew/Library/Homebrew/service.rb:458:in `map' from /usr/local/Homebrew/Library/Homebrew/service.rb:458:in `to_systemd_unit' from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11685/lib/types/private/methods/call_validation.rb:278:in `bind_call' from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11685/lib/types/private/methods/call_validation.rb:278:in `validate_call' from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11685/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' from -e:1:in `<main>' ``` ```console $ brew ruby -e 'p "activemq".f.service.to_systemd_unit' "[Unit]\nDescription=Homebrew generated unit for activemq\n\n[Install]\nWantedBy=default.target\n\n[Service]\nType=simple\nExecStart=\"/usr/local/opt/activemq/bin/activemq\" \"console\"\nWorkingDirectory=/usr/local/opt/activemq/libexec\n" ```
This commit is contained in:
		
							parent
							
								
									405cedad23
								
							
						
					
					
						commit
						9567d57e39
					
				@ -3,6 +3,7 @@
 | 
			
		||||
 | 
			
		||||
require "ipaddr"
 | 
			
		||||
require "extend/on_system"
 | 
			
		||||
require "utils/service"
 | 
			
		||||
 | 
			
		||||
module Homebrew
 | 
			
		||||
  # The {Service} class implements the DSL methods used in a formula's
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user