Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.524 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
ENV['RACK_ENV'] ||= 'development'
begin
  require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
  require "rubygems"
  require "bundler"
  Bundler.setup
end

Bundler.require(:runtime)

$LOAD_PATH << File.dirname(__FILE__) + '/lib'
require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'sinatra_auth_github'))
require File.expand_path(File.join(File.dirname(__FILE__), 'spec', 'app'))

use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"

run Example::App

# vim:ft=ruby
Something went wrong with that request. Please try again.