Permalink
Browse files

updated mojo_full script

  • Loading branch information...
jberger committed Jul 13, 2014
1 parent 6f9f795 commit c6a0cdee25556a3c39cd380082daa59c805acfff
Showing with 2 additions and 5 deletions.
  1. +2 −5 script/mojo_full
View
@@ -8,14 +8,11 @@ use lib join '/', File::Spec->splitdir(dirname(__FILE__)), 'lib';
use lib join '/', File::Spec->splitdir(dirname(__FILE__)), '..', 'lib';
# Check if Mojolicious is installed;
die <<EOF unless eval 'use Mojolicious::Commands; 1';
die <<EOF unless eval { require Mojolicious::Commands; 1 };
It looks like you don't have the Mojolicious framework installed.
Please visit http://mojolicio.us for detailed installation instructions.
EOF
# Application
$ENV{MOJO_APP} ||= 'MojoFull';
# Start commands
Mojolicious::Commands->start;
Mojolicious::Commands->start_app('MojoFull');

0 comments on commit c6a0cde

Please sign in to comment.