make sure error method exists. fixes #104
This commit is contained in:
1 parent
7ee2edcc60
commit
e0d84a56d7
2 files changed
+5
-6
No files matched your search
@@ -134,11 +134,6 @@ private ######################################################################
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def error(message)
|
|
||||||
puts "ERROR: #{message}"
|
|
||||||
exit 1
|
|
||||||
end
|
|
||||||
|
|
||||||
def longest_process_name
|
def longest_process_name
|
||||||
@longest_process_name ||= begin
|
@longest_process_name ||= begin
|
||||||
longest = procfile.process_names.map { |name| name.length }.sort.last
|
longest = procfile.process_names.map { |name| name.length }.sort.last
|
||||||
@@ -217,6 +212,11 @@ private ######################################################################
|
|||||||
def apply_environment!
|
def apply_environment!
|
||||||
@environment.each { |k,v| ENV[k] = v }
|
@environment.each { |k,v| ENV[k] = v }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def error(message)
|
||||||
|
puts "ERROR: #{message}"
|
||||||
|
exit 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
include Env
|
include Env
|
||||||
|
|||||||
Reference in new issue
Block a user