Simple Rack web application
View as text
require 'rubygems'
require 'rack'
def application(env)
[200, {"Content-Type" => "text/html"}, "Hello Rack!"]
end
Rack::Handler::Mongrel.run method(:application), :Port => 9292
require 'rubygems'
require 'rack'
def application(env)
[200, {"Content-Type" => "text/html"}, "Hello Rack!"]
end
Rack::Handler::Mongrel.run method(:application), :Port => 9292
SnippetStash costs money to host and develop. The service is free for everyone to use
but if you found it useful please consider making a small donation.