Skip to content

Instantly share code, notes, and snippets.

@railsdog
Created October 11, 2009 21:48
Show Gist options
  • Save railsdog/207909 to your computer and use it in GitHub Desktop.
Save railsdog/207909 to your computer and use it in GitHub Desktop.
# stdlib
require 'net/http'
require 'net/https'
require 'net/smtp'
require 'socket'
require 'timeout'
require 'xmlrpc/client'
require 'openssl'
require 'cgi'
# additional gems
require 'sinatra'
require 'json'
require 'lighthouse'
require 'rack_hoptoad'
Sinatra::Application.set(
:run => false,
:environment => :production
)
use Rack::HoptoadNotifier, 'api_key_goes_here'
require 'app.rb'
run Sinatra::Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment