Repository navigation
Support Pathnames in $LOAD_PATH - #32
Conversation
|
Your suggestion is reasonable but we should use |
|
We can't call This would be fine if That said, I can still change this if you'd like me to. |
|
In your use case, I agree with using But gettext gem is a library that is used by more users. They may put a path object that responds to Because of the above reason, I prefer to use It is better that using If you agree with my opinion, could you use |
|
That's a really good point! I hadn't thought of that. Here's the change. |
Support Pathnames in $LOAD_PATH Patch by Ben Carlsson. Thanks!!!
|
Thanks!!! |
This allows
$LOAD_PATHto contain Pathname objects in addition to strings. Previously Pathnames would break any attempt to precompile assets because of an undefinedmatchmethod.