Sha256: 2061a43de9a0f4ef8398e2d8d383336279972b8451c2b4e9317c2e51f484b5cf

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

module Shuttle
  class Php < Shuttle::Deploy
    def setup
      unless php_installed?
        error "Please install PHP first"
      end

      super
    end

    private

    def php_installed?
      ssh.run("which php").success?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shuttle-deploy-0.2.0.beta1 lib/shuttle/deployment/php.rb