Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (9 sloc) 0.294 kB
43823a9 @kbrock Using bundler (to get gems installed)
kbrock authored
1 require 'rubygems'
2 require 'bundler'
3
4 Bundler.require
5
c3d0660 @alexmchale Add path to main lib.
authored
6 require "./try-redis.rb"
d37540e @alexmchale Initial commit.
authored
7
81f68e3 @alexmchale Restore logging code.
authored
8 log = ::File.new(::File.join(::File.dirname(__FILE__),'log','sinatra.log'), "a")
9
10 STDOUT.reopen(log)
11 STDERR.reopen(log)
12
e901f60 @alexmchale Serve static resources via Rack::Static.
authored
13 use Rack::Static, :urls => %w( /css /images /javascripts ), :root => "public"
14
d37540e @alexmchale Initial commit.
authored
15 run TryRedis
Something went wrong with that request. Please try again.