Hey Gert,

Perhaps you could try:

 dancer2 -a MyApp && cd MyApp

Next

   perl -Ilib bin/app.pl

That is : minus capital 'I' (eye) then lib.

Tell me how it goes?


On Fri, Sep 20, 2013 at 12:59 PM, Gert van Oss <gertvanoss@me.com> wrote:
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@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users