From: RKA Date: 2013-02-15T11:12:32+09:00 Subject: Re: I installed the mongrel prerelease --e89a8f502e024d649a04d5b9e881 Content-Type: text/plain; charset=ISO-8859-1 thank you On Thu, Feb 14, 2013 at 5:51 PM, Tony Arcieri 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 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 > --e89a8f502e024d649a04d5b9e881 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
thank you


On Thu, Feb 14, 2013 at 5:51 PM, Tony Arcieri <to= ny.arcieri@gmail.com> wrote:
Mongrel is unmaintained. Th= e prerelease you are referring to is from 2010.

The mode= rn descendant of Mongrel is Puma:



On Thu, Feb 14, 2013 at 5:33 PM, RKA <roshkins@gmai= l.com> wrote:
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

--e89a8f502e024d649a04d5b9e881--