Skip to content

Server handler (thin) not found. #4

@ghazel

Description

@ghazel

When I start this simple server, I get an error: Server handler (thin) not found. (RuntimeError)

require 'async-rack'
require 'sinatra'

set :server, 'thin'

get '/' do
  "Hello, world!"
end

If I comment out the require 'async-rack' line, it starts Thin fine. If I comment out the set :server, 'thin' and use async-rack, it starts WEBrick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions