PREFIX enviroment variable pollutes gem search path
José G. Juanino
jjuanino at gmail.com
Tue Jan 3 19:23:07 UTC 2017
El martes 03 de enero a las 16:20:07 CET, Steve Wills escribió:
>
>This was added in r210636 (nearly 8 years ago) to "allow modules to be
>installed into separate PREFIX and/or under user privilegies" (sic) and
>so far I believe this is the first issue I've seen with it.
>
>Can you explain in more detail what existing code this breaks and how
>specifically it breaks? It may not be necessary and I actually
>considered removing it when adding 2.4 recently but I need to understand
>it in more detail first (which is why I didn't remove it already). While
>this may break things for some, I can imagine others relying on it.
Hi Steve,
it breaks some custom code; no port is affected, I think. But if you run
*any* ruby dependent port polluted with PREFIX environment variable, and
that port requires some other gem, it will fails at the moment it
'requires' the gem, sure. To diagnose and debug is very tricky, I
certify :P.
Regards
--
José G. Juanino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ruby/attachments/20170103/1301421f/attachment.sig>
More information about the freebsd-ruby
mailing list