Try to add this in your view:
__PACKAGE__->config({
INCLUDE_PATH => [
MyApp->path_to( 'root', 'src' ),
MyApp->path_to( 'root', 'lib' )
],
On Mon, Jul 20, 2009 at 10:40 AM, Christoph Metz <[email protected]> wrote:
> Hey guys,
>
> i want to deploy my c-app by using the dev-server myapp_server.pl. while
> the development i went into the dir myapp and typed
> script/myapp_server.pl -r -d
> so far, so good, but now i want to start this server via an init.d
> script under open-suse 9.2, so i wrote the script by using the skeleton.
> but now my problem, if i start the dev-server from out of an other path
> like "/" or try to start the server with the abs path
> /var/www/myapp/myapp_server.pl, the server starts, but there a errors on
> much... like template.tt2 could not be found and so on...
>
> so, where do i have to set a "HOME" oder "PATH" var, so that i can run
> the dev server from any fs-point?
>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
--
--Lindolfo "Lorn" Rodrigues
www.slackwarezine.com.br
http://lornlab.org
http://sao-paulo.pm.org
use Catalyst;
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/