Skip to content

Copy a default configuration file on build step

Marek Szuba requested to merge github/fork/arbenina/make_file into master

Created by: arbenina

Affected from 'release/82' branch.

I tried to run on my VM side vagrant@precise64:~/src/ensembl-rest$ perl script/ensembl_rest_server.pl (over plack and other ways to run application I got the same result)

You must configure a default store type unless you use exactly one store plugin. at /usr/local/share/perl/5.14.2/Catalyst/Plugin/ConfigLoader.pm line 101. Compilation failed in require at /usr/local/share/perl/5.14.2/Catalyst/ScriptRunner.pm line 50.

Looks like, application can't find a correct configuration file. It's caused after using a default configuration file 'ensembl_rest.conf.default' instead of 'ensembl_rest.conf'.

If user want to solve such issue user should create an own configuration file. I suggest to copy a default configuration file into correct one on build step(Or maybe make sense to improve documentation).

Merge request reports