Closed cohei closed 4 years ago
This looks like a good fix. I'm curious, why did you close it?
I intended internal use but made this pull request by mistake. So I didn't check enough. For example, whether it still works on sprockets 3.
The change is just from #88. You can open a new pull request with the same change by looking that if you want.
However, there is no big reason for closing this. Well, I'll reopen it.
@mattbrictson @brentd Let's get this bugfix in? One-liner that fixes an issue with Sprockets 4 which is getting more and more adoption with Rails 6.0.1 out.
Thanks for the fix!
Would you mind making a release with this bugfix in it? It would be useful to get this for apps running Rails 6. The last release (0.3.2) was almost a year ago.
Unfortunately this PR does not completely provide compatibility with Rails 6 and Sprockets 4. See discussion at https://github.com/brentd/xray-rails/issues/88#issuecomment-573350426 and #105.
The current release of xray-rails (0.3.2) does work with Rails 6, as long as you pin to sprockets ~> 3.5.
calling non-existent method 'pathname' https://github.com/brentd/xray-rails/issues/88