You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pumastartinginsinglemode...
* Pumaversion: 6.4.3(ruby3.3.5-p100)("The Eagle of Durango")
* Minthreads: 0
* Maxthreads: 5
* Environment: production
* PID: 9/usr/local/lib/ruby/3.3.0/json/generic_object.rb:2: warning: ostructwasloadedfromthestandardlibrary,butwillnolongerbepartofthedefaultgemsstartingfromRuby3.5.0.YoucanaddostructtoyourGemfileorgemspectosilencethiswarning.
! Unabletoloadapplication: NoMethodError: undefinedmethod`find_and_load_provider' for an instance of Dry::System::ProviderRegistrarbundler: failed to load command: puma (/usr/local/bundle/bin/puma)/usr/local/bundle/gems/hanami-2.1.1/lib/hanami/app.rb:155:in `prepare_app_providers': undefined method `find_and_load_provider'foraninstanceofDry::System::ProviderRegistrar(NoMethodError)unlesscontainer.providers.find_and_load_provider(:logger)
^^^^^^^^^^^^^^^^^^^^^^^
from/usr/local/bundle/gems/hanami-2.1.1/lib/hanami/app.rb:113:in`prepare_all' from /usr/local/bundle/gems/hanami-2.1.1/lib/hanami/slice.rb:774:in `prepare_slice' from /usr/local/bundle/gems/hanami-2.1.1/lib/hanami/slice.rb:254:in `prepare'from/usr/local/bundle/gems/hanami-2.1.1/lib/hanami/slice.rb:308:in`boot' from /usr/local/bundle/gems/hanami-2.1.1/lib/hanami.rb:211:in `boot' from /usr/local/bundle/gems/hanami-2.1.1/lib/hanami/boot.rb:5:in `<top (required)>'from/usr/local/lib/ruby/3.3.0/bundled_gems.rb:75:in`require' from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:75:in `block(2levels)inreplace_require' from config.ru:1:in `block in <main>'from/usr/local/bundle/gems/rack-2.2.10/lib/rack/builder.rb:116:in`eval' from /usr/local/bundle/gems/rack-2.2.10/lib/rack/builder.rb:116:in `new_from_string' from /usr/local/bundle/gems/rack-2.2.10/lib/rack/builder.rb:105:in `load_file'from/usr/local/bundle/gems/rack-2.2.10/lib/rack/builder.rb:66:in`parse_file' from /usr/local/bundle/gems/puma-6.4.3/lib/puma/configuration.rb:368:in `load_rackup' from /usr/local/bundle/gems/puma-6.4.3/lib/puma/configuration.rb:290:in `app'from/usr/local/bundle/gems/puma-6.4.3/lib/puma/runner.rb:162:in`load_and_bind' from /usr/local/bundle/gems/puma-6.4.3/lib/puma/single.rb:44:in `run' from /usr/local/bundle/gems/puma-6.4.3/lib/puma/launcher.rb:194:in `run'from/usr/local/bundle/gems/puma-6.4.3/lib/puma/cli.rb:75:in`run' from /usr/local/bundle/gems/puma-6.4.3/bin/puma:10:in `<top(required)>' from /usr/local/bundle/bin/puma:25:in `load'from/usr/local/bundle/bin/puma:25:in`<top (required)>' from /usr/local/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `load' from /usr/local/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `kernel_load'from/usr/local/lib/ruby/3.3.0/bundler/cli/exec.rb:23:in`run' from /usr/local/lib/ruby/3.3.0/bundler/cli.rb:455:in `exec' from /usr/local/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:28:in `run'from/usr/local/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in`invoke_command' from /usr/local/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:527:in `dispatch' from /usr/local/lib/ruby/3.3.0/bundler/cli.rb:35:in `dispatch'from/usr/local/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:584:in`start' from /usr/local/lib/ruby/3.3.0/bundler/cli.rb:29:in `start' from /usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.16/exe/bundle:28:in `block in <top (required)>'from/usr/local/lib/ruby/3.3.0/bundler/friendly_errors.rb:117:in`with_friendly_errors' from /usr/local/lib/ruby/gems/3.3.0/gems/bundler-2.5.16/exe/bundle:20:in `<top(required)>' from /usr/local/bin/bundle:25:in `load'from/usr/local/bin/bundle:25:in `<main>'
Any idea ?
The text was updated successfully, but these errors were encountered:
Thanks for the report, @waghanza. This is a breakage I inadvertently introduced with the release of dry-system 1.1.0. Sorry about that.
I'll fix it in a patch release of dry-system soon. In the meantime, if you want the code above to work, force a "= 1.0.1" version (or similar) of dry-system in your Gemfile.
@waghanza if you could remove any version constraints on dry-system, do a bundle update and then test your Hanami app again, everything should work again. Please let me know if you have any further trouble 😄
Hi,
When launching https://github.com/the-benchmarker/web-frameworks/blob/96f3a00ebee476f04074e000cdc2232d42348bbd/ruby/hanami/config.ru#L3 with
bundle exec puma
, I have the following error :Any idea ?
The text was updated successfully, but these errors were encountered: