move dotenv from production to application.rb, because it hasn't bundle install before the production rb get loaded. try again.