Added environment and app config code back into config/environment.rb.