4 ms·
I was really curious to see the pull request, so I hunted it down: https://github.com/sstephenson/sprockets/issues/506 https://github.com/sstephenson/sprockets/
by nthj 13y ago
I was really curious to see the pull request, so I hunted it down: https://github.com/sstephenson/sprockets/issues/506 https://github.com/sstephenson/sprockets/issues/506
Edit: if you just want to install a gem and skip the why, the parent has this blog post: https://www.coffeepowered.net/2014/02/09/faster-pathname/ https://www.coffeepowered.net/2014/02/09/faster-pathname/
- cheald 13y agoIt's worth noting that I don't really like faster_pathname as a solution. It's a cudgel that monkeypatches the stdlib Pathname. A proper solution would be a Pathname subclass that Sprockets uses directly, allowing for customized behavior without potential side-effects in other systems.