vendor/cache/ruby/2.3.0/gems/capistrano-2.9.0/lib/capistrano/recipes/deploy/strategy/base.rb
# Performs a check on the remote hosts to determine whether everything
# is setup such that a deploy could succeed.
Performs a check on the remote hosts to determine whether everything
is setup such that a deploy could succeed.
Performs a check on the remote hosts to determine whether everything is setup such that a deploy could succeed .
def check!
          Dependencies.new(configuration) do |d|
            d.remote.directory(configuration[:releases_path]).or("`#{configuration[:releases_path]}' does not exist. Please run `cap deploy:setup'.")
            d.remote.writable(configuration[:deploy_to]).or("You do not have permissions to write to `#{configuration[:deploy_to]}'.")
            d.remote.writable(configuration[:releases_path]).or("You do not have permissions to write to `#{configuration[:releases_path]}'.")
          end
        end
def check! Dependencies . new ( configuration ) do | d | d . remote . directory ( configuration [ :releases_path ] ) . or ( "`#{configuration[:releases_path]}' does not exist. Please run `cap deploy:setup'." ) d . remote . writable ( configuration [ :deploy_to ] ) . or ( "You do not have permissions to write to `#{configuration[:deploy_to]}'." ) d . remote . writable ( configuration [ :releases_path ] ) . or ( "You do not have permissions to write to `#{configuration[:releases_path]}'." ) end end
Performs a check on the remote hosts to determine whether everything
is setup such that a deploy could succeed.
Performs a check on the remote hosts to determine whether everything is setup such that a deploy could succeed .