Permalink
Browse files

+ Run app in App

  • Loading branch information...
1 parent df3095f commit 8aa23db1b56395f92df4b35d747f166de55a2fd0 @floere committed Jun 15, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 Procfile
  2. +3 −1 client/app.rb
  3. +0 −2 client/config.ru
View
@@ -1 +1 @@
-web: bundle exec 'cd client; ruby app.rb -p $PORT'
+web: bundle exec 'cd client && ruby app.rb -p $PORT'
View
@@ -60,4 +60,6 @@ def js path
"<script src='javascripts/#{path}.js' type='text/javascript'></script>"
end
-end
+end
+
+Sinatra::Application.run!
View
@@ -1,2 +0,0 @@
-require File.expand_path 'app', File.dirname(__FILE__)
-run Sinatra::Application

0 comments on commit 8aa23db

Please sign in to comment.