module Overminder::Helper
Public Instance Methods
overmind_present?()
click to toggle source
# File lib/overminder/helper.rb, line 13 def overmind_present? File.exist?(`which overmind`.strip) end
with_procfile() { || ... }
click to toggle source
# File lib/overminder/helper.rb, line 3 def with_procfile abort("rake aborted!\nMissing `overmind` executable.") unless overmind_present? if File.exist?("Procfile.dev") yield else abort("rake aborted!\nMissing `Procfile.dev`.") end end