Skip to content
This repository
Newer
Older
100644 13 lines (9 sloc) 0.393 kb
56ebb74c »
2010-06-01 initial import of the sinatra extension to use github auth
1 ENV['RACK_ENV'] ||= 'development'
5bb5cb60 »
2012-01-07 update to a newer version of warden-github
2 require "rubygems"
3 require "bundler/setup"
56ebb74c »
2010-06-01 initial import of the sinatra extension to use github auth
4
5 $LOAD_PATH << File.dirname(__FILE__) + '/lib'
6 require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'sinatra_auth_github'))
7 require File.expand_path(File.join(File.dirname(__FILE__), 'spec', 'app'))
8
9 use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"
10
11 run Example::App
12
13 # vim:ft=ruby
Something went wrong with that request. Please try again.