[dancer-users] deploy dancer via heroku - error while loading /app/app.psgi

Gert van Oss gertlist at mac.com
Wed Dec 11 23:21:40 GMT 2013


As an experiment that should bring me on the path to use dancer I tried to deploy an app via Heroku (with my regular hosting I have no luck).

For Dancer (meaning 1) I found a blog that wrote positive about this (http://damog.nl/blog/deploying-a-dancer-app-on-heroku.html) and I found a gist.github (https://gist.github.com/ysasaki/3149659). 

As I tried to take the same steps as mentioned on these pages I wasn’t getting to the expected result

-1- create app `dancer -a Foobar`
-2- `cd Foobar`
-0- ln -s ./bin/app.pl app.psgi (with or without ?)
-3- git init
-4- git add
-5- git commit
-6- heroku create --stack cedar --buildpack 
    http://github.com/miyagawa/heroku-buildpack-perl.git
-7- .... everything gets installed.. Successfully!
-8- Visiting the link as provided by heroku should now work?
or am I missing something? 

`heroku logs` mentions: 

Starting process with command `perl -Mlib=$PWD/local/lib/perl5 ./local/bin/starman --preload-app --port 57400`
2013-12-11T23:03:52.119529+00:00 heroku[web.1]: Starting process with command `perl -Mlib=$PWD/local/lib/perl5 ./local/bin/starman --preload-app --port 32316`
2013-12-11T23:03:53.102716+00:00 app[web.1]: Error while loading /app/app.psgi: No such file or directory at (eval 10) line 4.
2013-12-11T23:03:53.510234+00:00 app[web.1]: Error while loading /app/app.psgi: No such file or directory at (eval 10) line 4.

Maybe someone has a clue and after a hint then I might get to the level of being able to write something about this.

Thanks,
Gert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20131212/4634c9c6/attachment.html>


More information about the dancer-users mailing list