Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap template generator code in an after_bundle block #3110

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

marlo-longley
Copy link
Contributor

Thanks to @jcoyne for finding this solution! I am just writing it up.

We were encountering the issues recorded here: #3031, where config/importmap.rb was not being created when installing Blacklight from the template as described in the Quickstart guide "easy way" (generate blacklight:install itself worked correctly, but when invoked from the template, the rails install process was not executing in full).

Wrapping the code in this after_bundle block fixes the issue. See the commit message from Rails here: rails/rails@83e69c2#diff-4521b0667f0d930737cfa0a1ced7dd5c00a15909503123cf3752a6c6ebfcca04

@jcoyne jcoyne merged commit aafbc6d into projectblacklight:main Dec 5, 2023
15 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