# File lib/capistrano/recipes/deploy/remote_dependency.rb, line 15
      def directory(path, options={})
        @message ||= "`#{path}' is not a directory"
        try("test -d #{path}", options)
        self
      end