diff options
author | Tsukuru Tanimichi <info+git@ttanimichi.com> | 2018-05-07 17:25:01 +0900 |
---|---|---|
committer | Tsukuru Tanimichi <info+git@ttanimichi.com> | 2018-05-13 21:51:10 +0900 |
commit | 8efa112ca625cf8e895ed5af1433dce430929970 (patch) | |
tree | f925fb97db1dd171fa996f219b950045633b1776 /railties/lib | |
parent | 9a1b99eb01eab3de4ab5c357058da0ecc38e434b (diff) | |
download | rails-8efa112ca625cf8e895ed5af1433dce430929970.tar.gz rails-8efa112ca625cf8e895ed5af1433dce430929970.tar.bz2 rails-8efa112ca625cf8e895ed5af1433dce430929970.zip |
Don't generate `config/spring.rb` in `app:update` task when spring isn't loaded
Diffstat (limited to 'railties/lib')
-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 5e2ea93c5e..e37839bf11 100644 --- a/railties/lib/rails/app_updater.rb +++ b/railties/lib/rails/app_updater.rb @@ -28,6 +28,7 @@ module Rails options[:skip_sprockets] = !defined?(Sprockets::Railtie) options[:skip_puma] = !defined?(Puma) options[:skip_bootsnap] = !defined?(Bootsnap) + options[:skip_spring] = !defined?(Spring) options end end |