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.4.0 lib/shuttle/deployment/php.rb
shuttle-deploy-0.3.3 lib/shuttle/deployment/php.rb
shuttle-deploy-0.3.2 lib/shuttle/deployment/php.rb
shuttle-deploy-0.3.1 lib/shuttle/deployment/php.rb
shuttle-deploy-0.3.0 lib/shuttle/deployment/php.rb
shuttle-deploy-0.3.0.beta1 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.3 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.2 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.1 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta16 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta15 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta14 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta13 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta12 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta11 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta10 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta9 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta7 lib/shuttle/deployment/php.rb
shuttle-deploy-0.2.0.beta6 lib/shuttle/deployment/php.rb