Skip to content
This repository
Newer
Older
100644 10 lines (7 sloc) 0.213 kb
f2926b98 »
2010-12-11 setup bundle, encoding
1 require 'rubygems'
2 require 'bundler'
3
4 Bundler.setup
1ff1f469 »
2012-05-02 remove app root from LOAD_PATH
5 app_root = ENV['APP_ROOT'] || File.expand_path('..', __FILE__)
a0a5168c »
2010-11-30 mini app to display popular/per-user photos
6
f2926b98 »
2010-12-11 setup bundle, encoding
7 Encoding.default_external = 'utf-8'
8
1ff1f469 »
2012-05-02 remove app root from LOAD_PATH
9 require File.join(app_root, 'app')
f2926b98 »
2010-12-11 setup bundle, encoding
10 run Sinatra::Application
Something went wrong with that request. Please try again.