From: RKA Date: 2013-02-15T10:33:19+09:00 Subject: I installed the mongrel prerelease --f46d0402a9f392595404d5b95b1c Content-Type: text/plain; charset=ISO-8859-1 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 --f46d0402a9f392595404d5b95b1c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear People of Rubyland,

I still = can't get this ruby file running without errors, even when installing t= he 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
--f46d0402a9f392595404d5b95b1c--