Permalink
Browse files

just using rack as per heroku docs

  • Loading branch information...
1 parent 105980c commit f2af912c67e113cfb5710265dee3951d9e885719 Tom Gallagher committed Mar 30, 2013
Showing with 6 additions and 14 deletions.
  1. +1 −2 Gemfile
  2. +0 −7 Gemfile.lock
  3. +1 −1 Procfile
  4. +3 −3 README.textile
  5. +1 −1 app.rb
View
@@ -1,9 +1,8 @@
source 'https://rubygems.org'
gem 'sinatra'
-gem 'thin'
group :development do
gem 'foreman'
gem 'heroku'
-end
+end
View
@@ -2,8 +2,6 @@ GEM
remote: https://rubygems.org/
specs:
addressable (2.2.6)
- daemons (1.1.4)
- eventmachine (0.12.10)
foreman (0.24.0)
term-ansicolor (~> 1.0.5)
thor (>= 0.13.6)
@@ -26,10 +24,6 @@ GEM
rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
term-ansicolor (1.0.7)
- thin (1.2.11)
- daemons (>= 1.0.9)
- eventmachine (>= 0.12.6)
- rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
@@ -40,4 +34,3 @@ DEPENDENCIES
foreman
heroku
sinatra
- thin
View
@@ -1 +1 @@
-web: bundle exec thin start -p $PORT -e $RACK_ENV
+web: bundle exec rackup config.ru -p $PORT
View
@@ -1,6 +1,6 @@
h1. Sinatra Heroku Cedar Template
-p. The bare minimum for a sinatra app on cedar, running thin, and using bundler.
+p. The bare minimum for a sinatra app on cedar, running rack, and using bundler.
h2. Putting it up on Heroku
@@ -20,7 +20,7 @@ h2. Running it locally
$ git clone git://github.com/scottmotte/sinatra-heroku-cedar-template.git
$ gem install bundler
$ bundle
- $ RACK_ENV=development bundle exec foreman start
+ $ bundle exec foreman
</pre>
-Navigate to localhost:5000 | 5100
+Navigate to localhost:5000 | 5100
View
2 app.rb
@@ -1,3 +1,3 @@
get '/' do
- "Sinatra Heroku Cedar Template - The bare minimum for a sinatra app on cedar, running thin, and using bundler."
+ "Sinatra Heroku Cedar Template - The bare minimum for a sinatra app on cedar, running rack, and using bundler."
end

0 comments on commit f2af912

Please sign in to comment.