Skip to content

Commit

Permalink
Explicitly set sprockets as asset pipeline
Browse files Browse the repository at this point in the history
Propshaft is default from Rails 8. See rails/rails#51799
  • Loading branch information
theodorton committed May 27, 2024
1 parent d5f32ee commit 3ae90dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/unit/rails_application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def rails_new
end

def rails_new_command
"bundle exec rails new #{fs.project_directory} --database=#{database.adapter_name} --skip-bundle --skip-javascript --no-rc --skip-bootsnap"
"bundle exec rails new #{fs.project_directory} --database=#{database.adapter_name} --asset-pipeline=sprockets --skip-bundle --skip-javascript --no-rc --skip-bootsnap"
end

def fix_available_locales_warning
Expand Down

0 comments on commit 3ae90dc

Please sign in to comment.