diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-05-07 07:56:00 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-05-07 07:56:00 +0900 |
commit | 9a1b99eb01eab3de4ab5c357058da0ecc38e434b (patch) | |
tree | fcda178127f8ccdfd3c7917b5f2f8b947f6dc7cc /railties/lib/rails | |
parent | 1c70756e1afc11d3f50e9f735ef60119a7e9da5f (diff) | |
download | rails-9a1b99eb01eab3de4ab5c357058da0ecc38e434b.tar.gz rails-9a1b99eb01eab3de4ab5c357058da0ecc38e434b.tar.bz2 rails-9a1b99eb01eab3de4ab5c357058da0ecc38e434b.zip |
Skip `bootsnap` contents in `app:update` task if `bootsnap` is not used
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/app_updater.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/app_updater.rb b/railties/lib/rails/app_updater.rb index a076d082d5..5e2ea93c5e 100644 --- a/railties/lib/rails/app_updater.rb +++ b/railties/lib/rails/app_updater.rb @@ -27,6 +27,7 @@ module Rails options[:skip_action_cable] = !defined?(ActionCable::Engine) options[:skip_sprockets] = !defined?(Sprockets::Railtie) options[:skip_puma] = !defined?(Puma) + options[:skip_bootsnap] = !defined?(Bootsnap) options end end |