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
this command, receiving back:
Failed to find share dir for dist 'Dancer2' at lib/Dancer2/CLI/Command/gen.pm line 62.
which I guess is to be expected seen that I haven't installed the 'Dancer2' dist from CPAN
and File::ShareDir::dist_dir('Dancer2')
will fail.
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?!
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?
Thanks.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|