Skip to content
Browse files

How did I miss this?!

  • Loading branch information...
1 parent d6e13b0 commit 9e67afa634af41b15da222d821e34963e556837e @bmizerany committed Feb 9, 2009
Showing with 3 additions and 11 deletions.
  1. +3 −11 config/rackup.ru
View
14 config/rackup.ru
@@ -1,16 +1,8 @@
-# This is for convenice. The defacto Sinatra standard
-# is to name your application file after it's parent
-# directory
-parent_directory = File.expand_path(File.dirname(__FILE__) + '/..')
-application_name = parent_directory.split("/").last
-require "#{parent_directory}/#{application_name}.rb"
-
-# You can optionally just say
-#
-# require File.dirname(__FILE__) + '/../heroku-sample-app'
+require File.dirname(__FILE__) + '/../heroku-sinatra-app'
# This is a must. You will get a 500 if these
-# are enabled on Heroku.
+# are enabled on Heroku. A newer version of sinatra will
+# remove the need for this.
disable :run, :reload
# Finally, let's jam!

0 comments on commit 9e67afa

Please sign in to comment.
Something went wrong with that request. Please try again.