-
Notifications
You must be signed in to change notification settings - Fork 336
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
Fix incompatibility with bootsnap #158
Fix incompatibility with bootsnap #158
Conversation
When using bootsnap in production it tries to compile the migration files, but fails because the files are actually erb and thus not a valid ruby file.
What specific error did you run into and under what configuration? I have not seen where bootstrap is trying to compile these files. |
The error was that files were named |
I was asking for the actual error message as I can not reproduce your issue. Those files are never required by ruby and therefore should never be touched by bootsnap. A backtrace from the error would also be helpful. |
Sorry you are right, at Huginn we have been running on a fork that uses this commit: dsander@55535e2 I kind of forgot about that change and without it (and the latest master branch) it works without issues. Kind of unrelated question, we conditionally need to modify the Would you accept a PR that adds a Thanks for your recent work on this gem! |
I am reasonable sure |
Thank you for pointing out the |
Thanks that seems to work. 👍 |
We are only using the old lock strategy on mysql. Here is the original issue and reproduction: huginn/huginn#977 (comment). I believe we tested it against Postgres as well and did not have any issues with the optimized strategy. |
Thank you for digging that up. |
When using bootsnap in production it tries to compile the migration
files, but fails because the files are actually erb and thus not a
valid ruby file.