You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because carton internally uses cpanm's -L which could in theory create a non-deterministic tree depending on what you have in site_perl in the local machine, bundle exec on the other machine might fail if one of the modules bundled have an implicit dependency to the modules that happen to be in site_perl.
This is rare, but could happen, and running carton exec, because it uses lib::core::only, would blow up. Turning off lib::core::only might be efficient in such cases, but it will just hide the problem than actually fixing it.
The text was updated successfully, but these errors were encountered:
…PERL5LIB. Re: #82#70#60
PERL5LIB isn't perfect since it doesn't eliminate site_perl from @inc
in the child process, which means carton exec could accidentally load
modules from site_perl even when they are not available in the
carton.lock.
We'll address this by either implementing a check-like logic in the
exec (which would add an overhead), or add some additional @inc hooks
in the development, which can detect such errors, a la App::FatPacker
because carton internally uses cpanm's -L which could in theory create a non-deterministic tree depending on what you have in site_perl in the local machine, bundle exec on the other machine might fail if one of the modules bundled have an implicit dependency to the modules that happen to be in site_perl.
This is rare, but could happen, and running
carton exec
, because it uses lib::core::only, would blow up. Turning off lib::core::only might be efficient in such cases, but it will just hide the problem than actually fixing it.The text was updated successfully, but these errors were encountered: