hanami / api

Minimal, lightweight, fastest Ruby framework for HTTP APIs.
https://hanamirb.org
MIT License
350 stars 13 forks source link

Add line to Gemfile for Rack-compatible server #30

Closed cllns closed 2 years ago

cllns commented 2 years ago

WEBrick was removed from Ruby in 3.0, so we need to specify a server.

Happy to add a high-level integration test for this (either for puma or all of them)

Without this, users get the following error when running bundle exec rackup:

/Users/sean/.gem/ruby/3.0.3/gems/rack-2.2.3/lib/rack/handler.rb:45:in `pick': Couldn't find handler for: puma, thin, falcon, webrick. (LoadError)