From: Tony Arcieri Date: 2013-02-15T10:51:29+09:00 Subject: Re: I installed the mongrel prerelease --f46d043c7acca1926204d5b99c3e Content-Type: text/plain; charset=ISO-8859-1 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 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('

Hello!

') > end > end > end > > s = Mongrel::HttpServer.new("0.0.0.0", "1234", 20) > > > > Sincerely, > Rashi > -- Tony Arcieri --f46d043c7acca1926204d5b99c3e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Mongrel is unmaintained. The prerelease you are referring = to is from 2010.

The modern descendant of Mongrel = is Puma:

h= ttp://puma.io/


O= n Thu, Feb 14, 2013 at 5:33 PM, RKA <roshkins@gmail.com> wr= ote:
Dear People of Rubylan= d,

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 ?=A0


Is mongrel used much anymore? If not, wh= at are the alternatives?

Code:

<= /div>
require 'mongrel'

class BasicServer < Mongrel::HttpHandler
def process(request, response)
response.start(200) do |headers, output= |
headers["Content-T= ype"] =3D "text/html"
output.write('<html><body><h1><= body><h1>Hello!</h1></body></html>')
end
end
end

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



Sincerely,
Rash= i



--
Tony Arcieri=
--f46d043c7acca1926204d5b99c3e--