Closed myxoh closed 9 months ago
@myxoh the README in main
is for 3.0, which is currently released as beta (#476) which removes the need to install dotenv-rails
separately. Select the tag for the version you are using to view the relevant README.
Glad I found this! I just spent an hour trying to figure out why dotenv didn't load my .env vars.
I think having a temporary note highlighting the name change / version required in the README could be useful to other people too.
Same, scratching my head why dotenv not working fresh rails 7 app.
3.0 is officially out.
Steps to reproduce
README currently starts by talking about the
dotenv
gem:And later when talking about Rails
Rails
Dotenv will automatically load when your Rails app boots. See Customizing Rails to change which files are loaded and when.
In no way is it making it clear that the bundle should refer the other gem (which is not mentioned in the readme at all)
dotenv-rails
Minor change but, unless I'm missing something, would save dumbos like me a few minutes 😅