This repository was archived by the owner on Mar 20, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 211
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
Ruby error when starting a service #944
Copy link
Copy link
Closed
Homebrew/brew
#19490Description
Hi,
I ran some homebrew updates and now when I try to start a service this error appears:
Error: Passed `nil` into T.must
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/_types.rb:222:in `must'
/usr/local/Homebrew/Library/Homebrew/services/cli.rb:351:in `install_service_file'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `bind_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `validate_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/usr/local/Homebrew/Library/Homebrew/services/cli.rb:132:in `block in start'
/usr/local/Homebrew/Library/Homebrew/services/cli.rb:116:in `each'
/usr/local/Homebrew/Library/Homebrew/services/cli.rb:116:in `start'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `bind_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `validate_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/usr/local/Homebrew/Library/Homebrew/services/commands/start.rb:21:in `run'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `bind_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `validate_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/usr/local/Homebrew/Library/Homebrew/cmd/services.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `bind_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/call_validation.rb:282:in `validate_call'
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11930/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
Please report this issue:
https://docs.brew.sh/Troubleshooting
Is this maybe related to this https://github.com/orgs/Homebrew/discussions/5967 & Homebrew/brew#19344 ?
Greetings
Daniel
Metadata
Metadata
Assignees
Labels
No labels