bkeepers / dotenv

A Ruby gem to load environment variables from `.env`.
MIT License
6.61k stars 505 forks source link

Require version file so VERSION is available #495

Closed javierjulio closed 9 months ago

javierjulio commented 9 months ago

I've been updating various apps with latest Dotenv and noticed after that running Dotenv::VERSION in a console, it would fail.

irb(main):002> Dotenv::VERSION
(irb):2:in `<main>': uninitialized constant Dotenv::VERSION (NameError)
Did you mean?  VersionGem

I wasn't sure if it was missed or intentional to leave out requiring the version file so figured I'd contribute this in case. Thanks!

bkeepers commented 9 months ago

Thanks @javierjulio. This is just a 12 year old oversight. 😆