Changes for Heroku
This commit is contained in:
parent
e6682bc0f8
commit
30dcf9d4ac
1
Gemfile
1
Gemfile
|
@ -26,7 +26,6 @@ group :development, :production do
|
||||||
end
|
end
|
||||||
|
|
||||||
group :production do
|
group :production do
|
||||||
gem 'therubyracer', :platforms => :ruby
|
|
||||||
gem 'thin'
|
gem 'thin'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
GIT
|
GIT
|
||||||
remote: git://github.com/sferik/rails_admin.git
|
remote: git://github.com/sferik/rails_admin.git
|
||||||
revision: c458f1424d1c44514e2ace7fd4bc342f04f614e6
|
revision: 138912bd754f76b65da2272dfdc505520095ec82
|
||||||
specs:
|
specs:
|
||||||
rails_admin (0.0.1)
|
rails_admin (0.0.1)
|
||||||
builder (~> 3.0.0)
|
builder (~> 3.0.0)
|
||||||
|
@ -63,7 +63,6 @@ GEM
|
||||||
i18n (0.6.0)
|
i18n (0.6.0)
|
||||||
jruby-openssl (0.7.4)
|
jruby-openssl (0.7.4)
|
||||||
bouncy-castle-java
|
bouncy-castle-java
|
||||||
libv8 (3.3.10.2)
|
|
||||||
mail (2.3.0)
|
mail (2.3.0)
|
||||||
i18n (>= 0.4.0)
|
i18n (>= 0.4.0)
|
||||||
mime-types (~> 1.16)
|
mime-types (~> 1.16)
|
||||||
|
@ -107,8 +106,6 @@ GEM
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
tilt (!= 1.3.0, ~> 1.1)
|
tilt (!= 1.3.0, ~> 1.1)
|
||||||
sqlite3 (1.3.4)
|
sqlite3 (1.3.4)
|
||||||
therubyracer (0.9.4)
|
|
||||||
libv8 (~> 3.3.10)
|
|
||||||
therubyrhino (1.72.8)
|
therubyrhino (1.72.8)
|
||||||
thin (1.2.11)
|
thin (1.2.11)
|
||||||
daemons (>= 1.0.9)
|
daemons (>= 1.0.9)
|
||||||
|
@ -145,7 +142,6 @@ DEPENDENCIES
|
||||||
rails_admin!
|
rails_admin!
|
||||||
simplecov
|
simplecov
|
||||||
sqlite3
|
sqlite3
|
||||||
therubyracer
|
|
||||||
therubyrhino
|
therubyrhino
|
||||||
thin
|
thin
|
||||||
uglifier
|
uglifier
|
||||||
|
|
|
@ -16,7 +16,7 @@ AdoptAHydrant::Application.configure do
|
||||||
|
|
||||||
# Specifies the header that your server uses for sending files
|
# Specifies the header that your server uses for sending files
|
||||||
# (comment out if your front-end server doesn't support this)
|
# (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.
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||||
# config.force_ssl = true
|
# config.force_ssl = true
|
||||||
|
|
Loading…
Reference in New Issue