Skip to content

Conversation

@mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Feb 14, 2025

Summary

The sandbox wants to install Solidus and migrate before running the install generator. That's bad, because migrating requires the app to boot, and booting fails because Sprockets fails with an error if the manifest.js file is not present.

Since the file is quite simple, we can just pass it into a heredoc. This is needed for Rails 8, where the install generator won't create the file for us.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

The sandbox wants to install Solidus and migrate before running the
install generator. That's bad, because migrating requires the app to
boot, and booting fails because Sprockets fails with an error if the
`manifest.js` file is not present.

Since the file is quite simple, we can just pass it into a heredoc. This
is needed for Rails 8, where the install generator won't create the file
for us.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@tvdeyen tvdeyen merged commit 82014ca into solidusio:use-github-actions Feb 14, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants