Permalink
Browse files

The config/rackup.ru convention is deprecated. Use config.ru

  • Loading branch information...
1 parent 612bea4 commit 9f825e410d5dda5c67dbdf369ba4e3879fdcbbed @bmizerany committed Feb 10, 2009
Showing with 7 additions and 6 deletions.
  1. +6 −0 config.ru
  2. +0 −3 config/rackup.ru
  3. +1 −3 heroku-sinatra-app.rb
View
@@ -0,0 +1,6 @@
+require 'heroku-sinatra-app'
+
+## There is no need to set directories here anymore;
+## Just run the application
+
+run Sinatra::Application
View
@@ -1,3 +0,0 @@
-require File.dirname(__FILE__) + '/../heroku-sinatra-app'
-
-run Sinatra::Application
View
@@ -10,12 +10,10 @@
configure :production do
# Configure stuff here you'll want to
- # only be run at Heroku
+ # only be run at Heroku at boot
# TIP: You can get you database information
# from ENV['DATABASE_URI'] (see /env route below)
-
- puts "prod"
end
# Quick test

0 comments on commit 9f825e4

Please sign in to comment.