Skip to content
Browse files

move config variable to test environment

  • Loading branch information...
1 parent 73e791b commit a0d6b9f49b7f6d5230e6e61738473ed8284c508a @szabgab committed May 14, 2011
Showing with 3 additions and 4 deletions.
  1. +0 −3 config.yml
  2. +3 −0 environments/test.yml
  3. +0 −1 public/dispatch.fcgi
View
3 config.yml
@@ -13,6 +13,3 @@ engines:
#plack_middlewares:
# -
# - Runtime
-digger:
- cpan: /var/www/cpan/cpan
- dbfile: /home/gabor/work/digger/digger.db
View
3 environments/test.yml
@@ -6,3 +6,6 @@ show_errors: 1
# you should enable it by yourself if you want it
# Module::Refresh is needed
auto_reload: 0
+digger:
+ cpan: /var/www/cpan/cpan
+ dbfile: /home/gabor/work/digger/digger.db
View
1 public/dispatch.fcgi
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
BEGIN {
-$ENV{CPAN_DIGGER_DBFILE} = '/home/gabor/work/digger/digger.db';
# in the production environment
use lib '/home/gabor/perl5/local/lib/perl5';
use lib '/home/gabor/perl5/local/lib/perl5/x86_64-linux-gnu-thread-multi';

0 comments on commit a0d6b9f

Please sign in to comment.
Something went wrong with that request. Please try again.