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('<html><body><h1><body><h1>Hello!</h1></body></html>')
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:

http://puma.io/

···

On Thu, Feb 14, 2013 at 5:33 PM, RKA <roshkins@gmail.com> wrote:

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('<html><body><h1><body><h1>Hello!</h1></body></html>')
end
end
end

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

Sincerely,
Rashi

--
Tony Arcieri

thank you

···

On Thu, Feb 14, 2013 at 5:51 PM, Tony Arcieri <tony.arcieri@gmail.com>wrote:

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

The modern descendant of Mongrel is Puma:

http://puma.io/

On Thu, Feb 14, 2013 at 5:33 PM, RKA <roshkins@gmail.com> wrote:

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('<html><body><h1><body><h1>Hello!</h1></body></html>')
end
end
end

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

Sincerely,
Rashi

--
Tony Arcieri