Use dotenv-rails instead of dotenv.

dotenv gem does not requires .env or Rails load.