Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 875ef5a8ec
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.31 kb
require 'rubygems'
require 'rack'
class MyApp2
def call(env)
[200, {"Content-Type" => "text/html"}, "Hello from Rack Basic 1 (B)!"]
end
end
builder = Rack::Builder.new {
# rackup contents are in here
use Rack::ShowExceptions
run MyApp2.new
}
Rack::Handler::Mongrel.run builder, :Port => 3000
Jump to Line
Something went wrong with that request. Please try again.