Skip to content

Fix capistrano task for first deploys#259

Merged
mperham merged 2 commits intosidekiq:masterfrom
fuJiin:capistrano-fix
Jun 20, 2012
Merged

Fix capistrano task for first deploys#259
mperham merged 2 commits intosidekiq:masterfrom
fuJiin:capistrano-fix

Conversation

@fuJiin
Copy link
Contributor

@fuJiin fuJiin commented Jun 20, 2012

The Capistrano hooks will currently error out on fresh project deploys because the current folder hasn't been created through symlink yet. This patch puts in a check for current_path before running the cmds for sidekiq:quiet and sidekiq:stop.

@ezkl
Copy link
Contributor

ezkl commented Jun 20, 2012

I ran into this issue earlier today. This looks good. I just used this branch for a fresh deploy and it worked as expected.

mperham added a commit that referenced this pull request Jun 20, 2012
Fix capistrano task for first deploys
@mperham mperham merged commit 66d3bf3 into sidekiq:master Jun 20, 2012
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.

3 participants