1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

active_storage:install may halt chain if its already been run

This commit is contained in:
David Heinemeier Hansson 2018-09-27 16:44:57 -07:00
parent b25948bd50
commit 4f0d6c87b1

View file

@ -5,7 +5,7 @@ namespace :action_mailroom do
Rake::Task["install:migrations"].clear_comments
desc "Copy over the migration"
task install: %w( environment active_storage:install copy_migration )
task install: %w( environment copy_migration active_storage:install )
task :copy_migration do
if Rake::Task.task_defined?("action_mailroom:install:migrations")