class Shuttle::Php

Public Instance Methods

setup() click to toggle source
Calls superclass method Shuttle::Strategy#setup
# File lib/shuttle/deployment/php.rb, line 3
def setup
  unless php_installed?
    error "Please install PHP first"
  end

  super
end

Private Instance Methods

php_installed?() click to toggle source
# File lib/shuttle/deployment/php.rb, line 13
def php_installed?
  ssh.run("which php").success?
end