[dancer-users] Dancer2 - New App - compilation aborted
Gert van Oss
gertvanoss at me.com
Fri Sep 20 10:57:52 BST 2013
Thanks for you reply,
Guess CPAN is outdated then. You're link that was mentioned there did not work but
git clone git at github.com:PerlDancer/Dancer2.git
Does work.
Though… still messing around with paths
How to create a skeleton app with this cloned dancer (as opposed to the one that is somewhere on my Mac in
/Users/gvo/perl5/perlbrew/perls/dancer_development/bin/perl/dancer2)
If I just do something like:
./script/dancer2 -a TestApp
My Mac starts complaining about.
Can't locate Dancer2/Template/Simple.pm in @INC (@INC contains: /Library/Perl/5.12/
While if I say: `perl -v` it does mention perl v.5.18.1.
These path issues never seem to work the way thought they would work.
: (
Gert
On 20 sep. 2013, at 10:37, Juan José 'Peco' San Martín <jsanmartin at gmail.com> wrote:
> Hello.
>
> This is a known bug (Dancer 2.09) already solved at the repo (but not yet uploaded to CPAN)
>
> You could:
>
> Install Dancer2 from github: git clone git://github.com/perldancer/Dancer2.git
>
> Or
>
> Just try Dancer2.06: cpanm XSAWYER/Dancer2-0.06.tar.gz
>
> Hope this helps.
> Peco
>
>
>
>
> 2013/9/20 Gert van Oss <gertvanoss at me.com>
> Starting to have closer look at using Dancer2 I found the following.
>
> I installed everything as documented (on OS-X with perl v.5.18.1). Then I do:
>
> dancer2 -a MyApp && cd MyApp
>
> Next
>
> perl bin/app.pl
>
> Can't locate MyApp.pm in @INC (you may need to install the MyApp module) (@INC contains: /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/site_perl/5.18.1 /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1/darwin-2level /Users/gvo/perl5/perlbrew/perls/dancer_development/lib/5.18.1 .) at bin/app.pl line 3.
> BEGIN failed--compilation aborted at bin/app.pl line 3.
>
> All this did work for Dancer (number one). Can anybody explain me how to solve this.
>
> Best,
> Gert
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130920/7a5c127e/attachment.html>
More information about the dancer-users
mailing list