We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I start this simple server, I get an error: Server handler (thin) not found. (RuntimeError)
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.
require 'async-rack'
set :server, 'thin'
The text was updated successfully, but these errors were encountered:
I don't think sinatra can work out of the box with async-rack. Try https://github.com/ghazel/async_sinatra
Sorry, something went wrong.
async_sinatra has the same issue.
require 'async-rack' require 'sinatra/async' class TestServer < Sinatra::Base register Sinatra::Async set :server, 'thin' aget '/' do body("Hello, world!") end end TestServer.run!
No branches or pull requests
When I start this simple server, I get an error:
Server handler (thin) not found. (RuntimeError)
If I comment out the
require 'async-rack'
line, it starts Thin fine. If I comment out theset :server, 'thin'
and use async-rack, it starts WEBrick.The text was updated successfully, but these errors were encountered: