Skip to content

Fix segfault by defining the asset_url function in the right context #148

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

botandrose
Copy link

@botandrose botandrose commented May 15, 2020

Hello! I hit a segfault upon upgrading my app to to Sprockets 4.0, and eventually tracked it down to this.

I also think it might be the same issue as this: rails/sprockets#633 (comment)

@botandrose
Copy link
Author

Okay, Travis is green! What do you think?

@HamptonMakes
Copy link
Member

@botandrose is there anyway to test this change? Is this backwards compatible?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants