diff options
author | Go MAEDA <maeda@farend.jp> | 2019-10-24 02:15:09 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-10-24 02:15:09 +0000 |
commit | 87306bb735662afdd3d35c20b1bd2f977bc7ff08 (patch) | |
tree | a9ce8073d03f7aeaab170fc2d692dd00c5dde776 /config/application.rb | |
parent | 329184bd9670935142edde43fd9c0f2bd75076d0 (diff) | |
download | redmine-87306bb735662afdd3d35c20b1bd2f977bc7ff08.tar.gz redmine-87306bb735662afdd3d35c20b1bd2f977bc7ff08.zip |
Disable sprockets to avoid Sprockets::Railtie::ManifestNeededError raised by sprockets 4.0.0 (#32223).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18859 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/config/application.rb b/config/application.rb index 1fb40aeb6..a06ee4dba 100644 --- a/config/application.rb +++ b/config/application.rb @@ -2,7 +2,18 @@ require File.expand_path('../boot', __FILE__) -require 'rails/all' +require 'rails' +# Pick the frameworks you want: +require 'active_model/railtie' +require 'active_job/railtie' +require 'active_record/railtie' +require 'active_storage/engine' +require 'action_controller/railtie' +require 'action_mailer/railtie' +require 'action_view/railtie' +require 'action_cable/engine' +# require 'sprockets/railtie' +require 'rails/test_unit/railtie' Bundler.require(*Rails.groups) @@ -40,12 +51,6 @@ module RedmineApp # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] - # Enable the asset pipeline - config.assets.enabled = false - - # Version of your assets, change this if you want to expire all your assets - config.assets.version = '1.0' - config.action_mailer.perform_deliveries = false # Do not include all helpers |