Skip to content

Commit

Permalink
Added config.ru for Passenger
Browse files Browse the repository at this point in the history
  • Loading branch information
arunsark committed Aug 3, 2011
1 parent a76356b commit a9e95bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 11 additions & 0 deletions config.ru
@@ -0,0 +1,11 @@
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__))
require 'rubygems'
require 'sinatra'

Sinatra::Application.default_options.merge!(
:run => false,
:env => :production
)

require 'main'
run Sinatra.application
2 changes: 0 additions & 2 deletions config/deploy.rb
Expand Up @@ -19,7 +19,6 @@

role :web, "localhost" # Your HTTP server, Apache/etc
role :app, "localhost" # This may be the same as your `Web` server
role :db, "localhost", :primary => true # This is where Rails migrations will run
set :port, 2200
#role :db, "your slave db-server here"

Expand All @@ -36,4 +35,3 @@
end
end

after "bundle:install"

0 comments on commit a9e95bd

Please sign in to comment.