Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change to thin, use bin/web

  • Loading branch information...
commit f2dc4cae45d17b215b352f7ae88b43c5d30ab791 1 parent e742959
@ddollar ddollar authored
View
2  Gemfile
@@ -2,10 +2,10 @@ source "http://rubygems.org"
gem "rake"
gem "aws-s3"
-gem "buckshot"
gem "haml"
gem "rdiscount"
gem "sass"
gem "compass"
gem "sinatra"
gem "heroku-nav"
+gem "thin"
View
7 Gemfile.lock
@@ -5,9 +5,6 @@ GEM
builder
mime-types
xml-simple
- buckshot (0.2.0)
- shotgun
- thin
builder (3.0.0)
chunky_png (1.2.5)
compass (0.11.7)
@@ -29,8 +26,6 @@ GEM
rest-client (1.6.7)
mime-types (>= 1.16)
sass (3.1.12)
- shotgun (0.9)
- rack (>= 1.0)
sinatra (1.2.6)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
@@ -46,7 +41,6 @@ PLATFORMS
DEPENDENCIES
aws-s3
- buckshot
compass
haml
heroku-nav
@@ -54,3 +48,4 @@ DEPENDENCIES
rdiscount
sass
sinatra
+ thin
View
2  Procfile
@@ -1 +1 @@
-web: bundle exec buckshot
+web: bin/web
View
9 bin/web
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+PORT=${PORT:-5000}
+RACK_ENV=${RACK_ENV:-development}
+ROOT=$(dirname $(dirname $0))
+
+export RUBYOPT="-I$ROOT/lib -rstdout"
+
+exec bundle exec thin start -p $PORT
View
2  lib/stdout.rb
@@ -0,0 +1,2 @@
+#!/usr/bin/env ruby
+$stdout.sync = true
Please sign in to comment.
Something went wrong with that request. Please try again.