-
Notifications
You must be signed in to change notification settings - Fork 118
ec2:status command with capistrano-rbenv acutally runs command on each server #14
Comments
what's the issue here? |
it is running "/usr/bin/env [ ! -d /home/.rbenv/versions/2.0.0-p247 ] " on each server. ec2:status command should not run any thing on server. |
My configuration has more then 200 instances. ec2:status is painfully slow. |
The https://github.com/capistrano/rbenv/blob/master/lib/capistrano/tasks/rbenv.rake#L28-L31 is a pattern I've seen in other capistrano v3 plugins. It's used to hook in to each stage, arbitrarily, by default. As such by running I think if you set your |
Here's the source of this capistrano-rbenv feature: capistrano/capistrano#795 |
Since this is a feature from another project, I'm going to close this issue. |
me@ip-10-11-11-10:/home/user/work$ bundle exec cap production ec2:status
DEBUG [48cf88d9] Running /usr/bin/env [ ! -d /home/.rbenv/versions/2.0.0-p247 ] on ec2-11-11-219-24.compute-1.amazonaws.com
DEBUG [48cf88d9] Command: [ ! -d /home/.rbenv/versions/2.0.0-p247 ]
DEBUG [f93db4ad] Running /usr/bin/env [ ! -d /home/.rbenv/versions/2.0.0-p247 ] on ec2-11-11-67-29.compute-1.amazonaws.com
The text was updated successfully, but these errors were encountered: