Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5518

Sinatra Getting Started omits Puma dependency

      Following through the Sinatra blog example:

      $ bundle exec ruby app.rb
      /Users/james/.rvm/gems/ruby-3.1.2/gems/rack-2.2.4/lib/rack/handler.rb:45:in `pick': Couldn't find handler for: thin, puma, reel, HTTP, webrick. (LoadError)
      	from /Users/james/.rvm/gems/ruby-3.1.2/gems/sinatra-2.2.2/lib/sinatra/base.rb:1503:in `run!'
      	from /Users/james/.rvm/gems/ruby-3.1.2/gems/sinatra-2.2.2/lib/sinatra/main.rb:45:in `block in <module:Sinatra>'
      

      Adding gem "puma", "~> 5.0" to Gemfile allowed the example to run.

            Assignee:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: