Skip to content

Instantly share code, notes, and snippets.

@anildigital
Created April 28, 2010 16:44
Show Gist options
  • Save anildigital/382361 to your computer and use it in GitHub Desktop.
Save anildigital/382361 to your computer and use it in GitHub Desktop.
# Simple rack app
require 'rubygems'
require 'thin'
app = Proc.new{ [200, { "Content-Type" => "text/html"}, ["Hello World"]]}
Rack::Handler::Thin.run(app, :Port => 4000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment