-
Notifications
You must be signed in to change notification settings - Fork 2
SSM not applying ENV in rails console #13
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
Comments
I'm having trouble replicating this:
It might be an issue with require order. I am testing using the sample app in https://github.com/atomaka/psenv/tree/master/spec/rails which does not explicitly load the |
@christianbradley Any chance you're using the spring application preloader? I have seen this issue with the spring gem:
|
rails/spring#420 and rails/spring#490 appear to be relevant but unresolved issues. Can you try using |
Feel free to pop a comment in here if the suggested fix doesn't fix anything for you! |
Running latest Rails (6.x)
If I run
rails console
, the ENV vars are not applied from SSM. Seems to load OK when runningrails server
.Here's my
application.rb
(first lines)The text was updated successfully, but these errors were encountered: