I installed the mongrel prerelease

Dear People of Rubyland,

I still can’t get this ruby file running without errors, even when
installing the mongrel prerelease.

Why doesn’t this work in 1.9.3 ?

Is mongrel used much anymore? If not, what are the alternatives?

Code:

require ‘mongrel’

class BasicServer < Mongrel::HttpHandler
def process(request, response)
response.start(200) do |headers, output|
headers[“Content-Type”] = “text/html”
output.write(‘

Hello!

’)
end
end
end

s = Mongrel::HttpServer.new(“0.0.0.0”, “1234”, 20)

Sincerely,
Rashi

Mongrel is unmaintained. The prerelease you are referring to is from
2010.

The modern descendant of Mongrel is Puma:

thank you