Work around lazy config initialisation issues in Rails
Merge pull request #396 from hudmol/rails-init-bugfix

Work around lazy config initialisation issues in Rails