-
Notifications
You must be signed in to change notification settings - Fork 67
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
Depend on deploy:set_rails_env
for unicorn:start
(or load:defaults
)
#16
Comments
+1 @eLod solution is works. |
+1 I didn’t notice before as I always set it manually.
|
Same problem here, I tried @eLod's solution and it worked. |
This won't be needed after capistrano-rails 1.1.2 is released as it adds these lines to it's task definitions:
This causes Rails env variables to be added at the beginning of each stage. |
Hi, For me, whatever I do, it ends up with |
That's correct. |
That's strange, setting |
I'm not sure if I missed something but if I run
bundle exec cap production unicorn:start
it fails becauserails_env
is not set. Withbundle exec cap production deploy:set_rails_env unicorn:start
it works as expected.The text was updated successfully, but these errors were encountered: