Skip to content

Instantly share code, notes, and snippets.

@adamwiggins
Created November 24, 2010 20:07
Show Gist options
  • Save adamwiggins/714309 to your computer and use it in GitHub Desktop.
Save adamwiggins/714309 to your computer and use it in GitHub Desktop.

Revisions

  1. Adam Wiggins created this gist Nov 24, 2010.
    2 changes: 2 additions & 0 deletions Gemfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    source :gemcutter
    gem 'sinatra', '1.0'
    2 changes: 2 additions & 0 deletions config.ru
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    require 'web'
    run Sinatra::Application
    5 changes: 5 additions & 0 deletions web.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    require 'sinatra'

    get '/' do
    "Hello, world"
    end