Skip to content

Commit

Permalink
config.ru
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarver committed Feb 13, 2012
1 parent 7f74c03 commit b9c640a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Procfile
@@ -1 +1 @@
web: bundle exec ruby web.rb -p $PORT
web: bundle exec rackup config.ru -p $PORT
7 changes: 7 additions & 0 deletions application.rb
@@ -0,0 +1,7 @@
require 'sinatra/base'

class Application < Sinatra::Base
get '/' do
"Hello, world"
end
end
5 changes: 5 additions & 0 deletions config.ru
@@ -0,0 +1,5 @@
$LOAD_PATH << File.dirname(__FILE__)

require 'application'

run Application
5 changes: 0 additions & 5 deletions web.rb

This file was deleted.

0 comments on commit b9c640a

Please sign in to comment.