Permalink
Browse files

Procfile to launch the sinatra app on heroku, or locally with "bundle…

… exec foreman start"
  • Loading branch information...
1 parent e1126ab commit 7167124fa5b0a25340ecc7334708af335adb5eaa @harlantwood harlantwood committed May 4, 2012
Showing with 14 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +11 −0 Gemfile.lock
  3. +1 −0 Procfile
View
@@ -14,6 +14,8 @@ gem "couchrest"
group :development do
gem 'ruby-debug', :require => 'ruby-debug', :platform => :mri_18
gem 'ruby-debug19', :require => 'ruby-debug19', :platform => :mri_19
+ gem "foreman"
+ gem "heroku"
end
group :test do
View
@@ -26,7 +26,14 @@ GEM
eventmachine (0.12.10-java)
ffi (1.0.11)
ffi (1.0.11-java)
+ foreman (0.45.0)
+ thor (>= 0.13.6)
haml (3.1.2)
+ heroku (2.25.0)
+ launchy (>= 0.3.2)
+ netrc (~> 0.7.1)
+ rest-client (~> 1.6.1)
+ rubyzip
json (1.5.3)
json (1.5.3-java)
launchy (0.4.0)
@@ -38,6 +45,7 @@ GEM
ruby_core_source (>= 0.1.4)
mime-types (1.17.2)
multi_json (1.0.4)
+ netrc (0.7.1)
nokogiri (1.5.0)
nokogiri (1.5.0-java)
png (1.2.0)
@@ -86,6 +94,7 @@ GEM
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
+ thor (0.15.0)
tilt (1.3.2)
xpath (0.1.4)
nokogiri (~> 1.3)
@@ -98,7 +107,9 @@ DEPENDENCIES
RubyInline
capybara
couchrest
+ foreman
haml
+ heroku
json
launchy
png
View
@@ -0,0 +1 @@
+web: bundle exec thin start -R server/sinatra/config.ru -p $PORT

0 comments on commit 7167124

Please sign in to comment.