class Object

Constants

BUNDLE_WITHOUT
RAILS_ENV

Public Instance Methods

run(cmd) click to toggle source
# File lib/git_deploy/templates/before_restart.rb, line 4
def run(cmd)
  exit($?.exitstatus) unless system "umask 002 && #{cmd}"
end