Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

just using rack as per heroku docs

  • Loading branch information...
commit f2af912c67e113cfb5710265dee3951d9e885719 1 parent 105980c
Tom Gallagher authored
View
3  Gemfile
@@ -1,9 +1,8 @@
source 'https://rubygems.org'
gem 'sinatra'
-gem 'thin'
group :development do
gem 'foreman'
gem 'heroku'
-end
+end
View
7 Gemfile.lock
@@ -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
2  Procfile
@@ -1 +1 @@
-web: bundle exec thin start -p $PORT -e $RACK_ENV
+web: bundle exec rackup config.ru -p $PORT
View
6 README.textile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.