diff --git a/Gemfile b/Gemfile index 253766551..47b6549de 100644 --- a/Gemfile +++ b/Gemfile @@ -15,6 +15,7 @@ gem 'psych', '1.2.2' gem 'soap4r', :git => 'git://github.com/rbjarnason/soap4r.git' gem 'ruby-saml', :git => 'git://github.com/rbjarnason/ruby-saml.git', :ref => "6be3170ba2a5c7eac12d5255e32a62e6fadd1cc2" gem 'memcachier' +gem "passenger" # Gems used only for assets and not required # in production environments by default. diff --git a/Gemfile.lock b/Gemfile.lock index 9defd600f..cff518f3a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,6 +59,7 @@ GEM sshkit (>= 0.0.23) childprocess (0.3.9) ffi (~> 1.0, >= 1.0.11) + daemon_controller (1.1.8) dalli (2.6.4) erubis (2.7.0) execjs (2.0.2) @@ -97,6 +98,10 @@ GEM paper_trail (2.7.2) activerecord (~> 3.0) railties (~> 3.0) + passenger (4.0.37) + daemon_controller (>= 1.1.0) + rack + rake (>= 0.8.1) polyglot (0.3.3) psych (1.2.2) rack (1.4.5) @@ -185,6 +190,7 @@ DEPENDENCIES memcachier mysql2 nokogiri + passenger psych (= 1.2.2) rails (= 3.2.16) ruby-saml! diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..daa276da5 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: bundle exec passenger start -p $PORT --max-pool-size 1