Should be use dotenv-rails, not just dotenv.