[Rt-commit] rt branch, 5.0/update-perl-docs, created. rt-5.0.0alpha1-109-g93af0eaf61

Jim Brandt jbrandt at bestpractical.com
Thu Apr 23 13:31:18 EDT 2020


The branch, 5.0/update-perl-docs has been created
        at  93af0eaf617fde2c819fead3ae8f3c9e8235421c (commit)

- Log -----------------------------------------------------------------
commit 93af0eaf617fde2c819fead3ae8f3c9e8235421c
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Apr 23 13:31:12 2020 -0400

    Add example of adding dot for module installs

diff --git a/docs/rt_perl.pod b/docs/rt_perl.pod
index e624091813..acdd7dff7a 100644
--- a/docs/rt_perl.pod
+++ b/docs/rt_perl.pod
@@ -160,4 +160,10 @@ have RT use C<cpanm> to install modules:
 
 Then run C<make fixdeps> and let RT install all of its dependencies.
 
+Modern versions of Perl no longer have C<.> (dot) in C<@INC> by default and this
+can cause issues when installing modules. If you're not running as root, you
+might also need to use sudo. You can do both of these with your C<cpanm> line:
+
+    export RT_FIX_DEPS_CMD="PERL5LIB='.' /opt/perl/bin/cpanm --sudo"
+
 =cut

-----------------------------------------------------------------------


More information about the rt-commit mailing list