diff --git a/core/lib/generators/solidus/install/install_generator.rb b/core/lib/generators/solidus/install/install_generator.rb index fc315a68b3a..19a0aa2323c 100644 --- a/core/lib/generators/solidus/install/install_generator.rb +++ b/core/lib/generators/solidus/install/install_generator.rb @@ -96,7 +96,7 @@ def install_file_attachment rake 'active_storage:install' else say_status :assets, "Paperclip", :green - gsub_file 'config/initializers/spree.rb', "::ActiveStorageAttachment", "::PaperclipAttachment" + rake "solidus:paperclip_adapter:install" end end