Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (12 sloc) 0.476 kB
df5f2e9 @garethrees Initial re-commit
authored
1 require 'rubygems'
2 require 'bundler'
a466105 @garethrees Add memcached config to config.ru
authored
3 require './fonts'
df5f2e9 @garethrees Initial re-commit
authored
4
a466105 @garethrees Add memcached config to config.ru
authored
5 Bundler.require :default, (ENV['RACK_ENV'] || 'development').to_sym
6
7 # Defined in ENV on Heroku. To try locally, start memcached and uncomment:
8 # ENV['MEMCACHE_SERVERS'] = 'localhost'
9 if memcache_servers = ENV['MEMCACHE_SERVERS']
10 use Rack::Cache, verbose: true,
11 metastore: "memcached://#{ memcache_servers }",
12 entitystore: "memcached://#{ memcache_servers }"
13 end
df5f2e9 @garethrees Initial re-commit
authored
14
15
8da356b @garethrees Tidy config.ru and add config
authored
16 run Fonts
Something went wrong with that request. Please try again.