Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes load order issue. #391

Merged
merged 1 commit into from
Jun 15, 2019
Merged

Fixes load order issue. #391

merged 1 commit into from
Jun 15, 2019

Conversation

voltechs
Copy link
Contributor

If Rails is already loaded by the time dotenv is loaded, the
configuration block is executed immediately, prior to the rest of the
Railtie class being finished. Fixes #297

If Rails is already loaded by the time dotenv is loaded, the
configuration block is executed immediately, prior to the rest of the
Railtie class being finished.
@cadwallion
Copy link
Collaborator

Thank you for your contribution! I've popped this into a couple of Rails applications locally and this seems to do the trick without any undesired effects. I'm going to merge this in, and I'll cut a release with it this weekend.

@cadwallion cadwallion merged commit a3d287c into bkeepers:master Jun 15, 2019
@voltechs
Copy link
Contributor Author

How about that release? 😉

@cadwallion
Copy link
Collaborator

Doh! I'll cut that today.

@voltechs
Copy link
Contributor Author

Doh! I'll cut that today.

Bump! 😇🙏🏼

@cadwallion
Copy link
Collaborator

Version 2.7.3 is released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gem Load Error is: undefined local variable or method `dotenv_files'
2 participants