Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 200 Bytes
require 'rubygems'
require 'rack'
class MyApp
def call(env)
[200, {"Content-Type" => "text/html"}, "Hello Rack from Basic 1 (A)!"]
end
end
Rack::Handler::Mongrel.run MyApp.new, :Port => 3000