Sha256: 3c289b9d460853ee13ec8229d025a445eb1ad9a3b66838ea8b53631207242f29

Contents?: true

Size: 251 Bytes

Versions: 24

Compression:

Stored size: 251 Bytes

Contents

module Shuttle
  class Php < Shuttle::Strategy
    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

24 entries across 24 versions & 1 rubygems

Version Path
shuttle-deploy-0.2.0.beta5 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta4 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta3 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta2 lib/shuttle/deployment/php.rb