Just some system info and a console log dump. Not sure what the exact problem is here, but hanami dev SIGTERM’s outright on my system.
❯ ruby -v
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [arm64-darwin23]
I run hanami dev
and this is what I get
❯ be hanami dev
/opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-core-1.0.1/lib/dry/core/deprecations.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.
/opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/json/generic_object.rb:2: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
15:55:03 web.1 | started with pid 1494
15:55:03 assets.1 | started with pid 1495
15:55:04 web.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-core-1.0.1/lib/dry/core/deprecations.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 assets.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-core-1.0.1/lib/dry/core/deprecations.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 web.1 | You can add logger to your Gemfile or gemspec to silence this warning.
15:55:04 assets.1 | You can add logger to your Gemfile or gemspec to silence this warning.
15:55:04 assets.1 | /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/json/generic_object.rb:2: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 web.1 | /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/json/generic_object.rb:2: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 assets.1 | You can add ostruct to your Gemfile or gemspec to silence this warning.
15:55:04 web.1 | You can add ostruct to your Gemfile or gemspec to silence this warning.
15:55:04 assets.1 | bundler: failed to load command: hanami (/opt/homebrew/lib/ruby/gems/3.3.0/bin/hanami)
15:55:04 assets.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/provider/source.rb:8:in `initialize': missing keyword: :slice (ArgumentError)
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-configurable-1.2.0/lib/dry/configurable/instance_methods.rb:17:in `initialize'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider.rb:139:in `new'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider.rb:139:in `initialize'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider_registrar.rb:201:in `new'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider_registrar.rb:201:in `build_provider'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider_registrar.rb:72:in `register_provider'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/container.rb:274:in `register_provider'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:527:in `register_provider'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:930:in `prepare_container_providers'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:852:in `prepare_all'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/app.rb:108:in `prepare_all'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:807:in `prepare_slice'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:274:in `prepare'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami.rb:204:in `prepare'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/prepare.rb:5:in `<top (required)>'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in `require'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in `block (2 levels) in replace_require'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta1/lib/hanami/cli/commands/app/command.rb:62:in `app'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta1/lib/hanami/cli/commands/app/assets/command.rb:34:in `initialize'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta1/lib/hanami/cli/command.rb:30:in `new'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta1/lib/hanami/cli/command.rb:30:in `new'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-cli-1.1.0/lib/dry/cli.rb:147:in `build_command'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-cli-1.1.0/lib/dry/cli.rb:141:in `parse'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-cli-1.1.0/lib/dry/cli.rb:113:in `perform_registry'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-cli-1.1.0/lib/dry/cli.rb:65:in `call'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-cli-2.2.0.beta1/exe/hanami:11:in `<top (required)>'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/bin/hanami:25:in `load'
15:55:04 assets.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/bin/hanami:25:in `<top (required)>'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `load'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `kernel_load'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/cli/exec.rb:23:in `run'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/cli.rb:455:in `exec'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/cli.rb:35:in `dispatch'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/cli.rb:29:in `start'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/exe/bundle:28:in `block in <top (required)>'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
15:55:04 assets.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/bundler-2.5.18/exe/bundle:20:in `<top (required)>'
15:55:04 assets.1 | from /opt/homebrew/opt/ruby/bin/bundle:25:in `load'
15:55:04 assets.1 | from /opt/homebrew/opt/ruby/bin/bundle:25:in `<main>'
15:55:04 web.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/guard-2.18.1/lib/guard.rb:2: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 web.1 | You can add logger to your Gemfile or gemspec to silence this warning.
15:55:04 web.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/guard-2.18.1/lib/guard/cli.rb:5: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 web.1 | You can add ostruct to your Gemfile or gemspec to silence this warning.
15:55:04 web.1 | 15:55:04 - INFO - Using Guardfile at /Users/aratinga/dev/bookshelf/Guardfile.
15:55:04 web.1 | 15:55:04 - INFO - Puma starting on port 2300 in development environment.
15:55:04 web.1 | 15:55:04 - INFO - Guard is now watching at '/Users/aratinga/dev/bookshelf'
15:55:04 web.1 | Puma starting in single mode...
15:55:04 web.1 | * Puma version: 6.4.2 (ruby 3.3.5-p100) ("The Eagle of Durango")
15:55:04 web.1 | * Min threads: 5
15:55:04 web.1 | * Max threads: 5
15:55:04 web.1 | * Environment: development
15:55:04 web.1 | * PID: 1503
15:55:04 web.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-core-1.0.1/lib/dry/core/deprecations.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 web.1 | You can add logger to your Gemfile or gemspec to silence this warning.
15:55:04 web.1 | /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/json/generic_object.rb:2: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
15:55:04 web.1 | You can add ostruct to your Gemfile or gemspec to silence this warning.
15:55:04 web.1 | ! Unable to load application: ArgumentError: missing keyword: :slice
15:55:04 web.1 | /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/provider/source.rb:8:in `initialize': missing keyword: :slice (ArgumentError)
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-configurable-1.2.0/lib/dry/configurable/instance_methods.rb:17:in `initialize'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider.rb:139:in `new'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider.rb:139:in `initialize'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider_registrar.rb:201:in `new'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider_registrar.rb:201:in `build_provider'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/provider_registrar.rb:72:in `register_provider'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/dry-system-1.1.0.beta1/lib/dry/system/container.rb:274:in `register_provider'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:527:in `register_provider'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:930:in `prepare_container_providers'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:852:in `prepare_all'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/app.rb:108:in `prepare_all'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:807:in `prepare_slice'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:274:in `prepare'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/slice.rb:328:in `boot'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami.rb:214:in `boot'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/hanami-2.2.0.beta1/lib/hanami/boot.rb:5:in `<top (required)>'
15:55:04 web.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in `require'
15:55:04 web.1 | from /opt/homebrew/Cellar/ruby/3.3.5/lib/ruby/3.3.0/bundled_gems.rb:75:in `block (2 levels) in replace_require'
15:55:04 web.1 | from config.ru:3:in `block in <main>'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/rack-2.2.9/lib/rack/builder.rb:116:in `eval'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/rack-2.2.9/lib/rack/builder.rb:116:in `new_from_string'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/rack-2.2.9/lib/rack/builder.rb:105:in `load_file'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/rack-2.2.9/lib/rack/builder.rb:66:in `parse_file'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/lib/puma/configuration.rb:368:in `load_rackup'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/lib/puma/configuration.rb:290:in `app'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/lib/puma/runner.rb:162:in `load_and_bind'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/lib/puma/single.rb:44:in `run'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/lib/puma/launcher.rb:194:in `run'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/lib/puma/cli.rb:75:in `run'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/gems/puma-6.4.2/bin/puma:10:in `<top (required)>'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/bin/puma:25:in `load'
15:55:04 web.1 | from /opt/homebrew/lib/ruby/gems/3.3.0/bin/puma:25:in `<main>'
15:55:05 assets.1 | exited with code 1
15:55:05 system | sending SIGTERM to all processes
15:55:05 web.1 | terminated by SIGTERM