make sure error method exists. fixes #104

This commit is contained in:
David Dollar
2012-01-22 21:55:55 -05:00
parent 7ee2edcc60
commit e0d84a56d7
2 changed files with 5 additions and 6 deletions
-1
View File
@@ -1 +0,0 @@
FOO=bar
+5 -5
View File
@@ -134,11 +134,6 @@ private ######################################################################
end
end
def error(message)
puts "ERROR: #{message}"
exit 1
end
def longest_process_name
@longest_process_name ||= begin
longest = procfile.process_names.map { |name| name.length }.sort.last
@@ -217,6 +212,11 @@ private ######################################################################
def apply_environment!
@environment.each { |k,v| ENV[k] = v }
end
def error(message)
puts "ERROR: #{message}"
exit 1
end
end
include Env