diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..b64d43e --- /dev/null +++ b/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 \ No newline at end of file diff --git a/config/deploy.rb b/config/deploy.rb index 1183230..ba1a066 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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" @@ -36,4 +35,3 @@ end end -after "bundle:install"