Fixed bug causing db only to be initialized in environment "local".
Merge pull request #2 from dmarell/master

Fixed bug causing db only to be initialized in environment "local".