try to added require dotenv to deploy.rb to see if it works