mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fix broken check! method
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
0964dc188c
commit
f18fa679ea
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Fix broken check! method for some deployment strategies. [Jamis Buck]
|
||||
|
||||
* deploy:cold should also run migrations before starting the app [Jamis Buck]
|
||||
|
||||
* Make the copy strategy check out to a temporary directory [Jamis Buck]
|
||||
|
|
|
@ -16,8 +16,9 @@ module Capistrano
|
|||
end
|
||||
|
||||
def check!
|
||||
result = super
|
||||
test("type -p #{source.command}", "could not find `#{source.command}'") && result
|
||||
super.check do |d|
|
||||
d.remote.command(source.command)
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
Loading…
Reference in a new issue