-
Notifications
You must be signed in to change notification settings - Fork 489
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
Could you add back set_default? #588
Comments
you can use environment variables to override mina variables: https://github.com/mina-deploy/mina/blob/master/docs/how_mina_works.md#variables |
Just like some Ruby tools do. Am I missing something? In Linux environment variables generally precede command name. Is there any reason not to add And most of all, how do environment variables address the issue? I'd like to store variables in stage files, but don't want to load stage file twice. It doesn't look good. And might actually break sometime. |
Yes, those are linux env variables and they can be before or after.
Oh, i misread your issue, your issue is that so
|
Could you please answer my question? Is there any reason not to add set_default? And in any case, why don't we make set :rails_env, 'production' unless set?(:rails_env) That way |
Now I've got to do as follows:
With
set_default
it could be this way:Is there any reason not to add
set_default
? Or setrails_env
this way:The text was updated successfully, but these errors were encountered: