act-psgi / act-starter-debian

A set of procedures to get from an Act checkout to a developer installation
Other
1 stars 3 forks source link

The procedures won't install CPAN modules into a user-local library #3

Open HaraldJoerg opened 5 years ago

HaraldJoerg commented 5 years ago

This was another finding from the Act hackathon at the French Perl Workshop 2019: The developer installation is targeted at dedicated VMs (with or without vagrant). The necessary CPAN modules are installed with cpanm under sudo, so they end up in system Perl. A setup where a developer wants to use a dedicated user id for testing, and install CPAN modules in this user's home directory, is not yet supported.

glauschwuffel commented 4 years ago

Something along those lines perhaps? This would even allow for installation of modules when working on specific tickets.

$ sudo apt-get install liblocal-lib-perl cpanminus
$ eval `perl -Mlocal::lib=/home/the-user/perl5/the-ticket-you-work-on`
$ cpanm Test::Class::Moose