perlquestion
markong
Hello,
I've cloned the Dancer2 official git repo and now I'm trying to setup a dev
environment (inside a perlbrew local lib) and I'm stuck at
<a href="https://github.com/PerlDancer/Dancer2/blob/master/GitGuide.md#running-your-modified-version">this</a> command, receiving back:
<blockquote>Failed to find share dir for dist 'Dancer2' at lib/Dancer2/CLI/Command/gen.pm line 62.</blockquote>
which I guess is to be expected seen that I haven't installed the 'Dancer2' dist from CPAN
and <a href="https://github.com/PerlDancer/Dancer2/blob/2acc43c1583ad064077729c5abafa6e9b128d782/lib/Dancer2/CLI/Command/gen.pm#L62">File::ShareDir::dist_dir('Dancer2')</a>
will fail.
<p>
I'm trying to execute the dancer script from the cloned checkout code base, in
order to setup a test dancer2 project, but it seems that it is not something
supported?!</p>
<p>
I'm wondering if anybody has experience with the code base and can suggest something.
Is the Dancer2 distro installation from CPAN mandatory to execute the 'dancer2' script or
else how do you call that 'script/dancer2' bin around that share dir check while
developing?</p>
Thanks.