move require env to application.rb to fix rails db connectivity issues
open source