Changes for Heroku

This commit is contained in:
Erik Michaels-Ober 2011-09-03 12:33:28 -07:00
parent e6682bc0f8
commit 30dcf9d4ac
3 changed files with 2 additions and 7 deletions

View File

@ -26,7 +26,6 @@ group :development, :production do
end
group :production do
gem 'therubyracer', :platforms => :ruby
gem 'thin'
end

View File

@ -1,6 +1,6 @@
GIT
remote: git://github.com/sferik/rails_admin.git
revision: c458f1424d1c44514e2ace7fd4bc342f04f614e6
revision: 138912bd754f76b65da2272dfdc505520095ec82
specs:
rails_admin (0.0.1)
builder (~> 3.0.0)
@ -63,7 +63,6 @@ GEM
i18n (0.6.0)
jruby-openssl (0.7.4)
bouncy-castle-java
libv8 (3.3.10.2)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@ -107,8 +106,6 @@ GEM
rack (~> 1.0)
tilt (!= 1.3.0, ~> 1.1)
sqlite3 (1.3.4)
therubyracer (0.9.4)
libv8 (~> 3.3.10)
therubyrhino (1.72.8)
thin (1.2.11)
daemons (>= 1.0.9)
@ -145,7 +142,6 @@ DEPENDENCIES
rails_admin!
simplecov
sqlite3
therubyracer
therubyrhino
thin
uglifier

View File

@ -16,7 +16,7 @@ AdoptAHydrant::Application.configure do
# Specifies the header that your server uses for sending files
# (comment out if your front-end server doesn't support this)
config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
config.action_dispatch.x_sendfile_header = nil # Use 'X-Accel-Redirect' for nginx
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true