ddollar/foreman · error · Foreman::Procfile::EmptyFileError
Foreman::Procfile::EmptyFileError
Error message
Foreman::Procfile::EmptyFileError
What it means
Error "Foreman::Procfile::EmptyFileError" thrown in ddollar/foreman.
Source
Thrown at lib/foreman/procfile.rb:67
@entries << [name, command]
end
# Remove a +Procfile+ entry
#
# @param [String] name The name of the +Procfile+ entry to remove
#
def delete(name)
@entries.reject! { |n,c| name == n }
end
# Load a Procfile from a file
#
# @param [String] filename The filename of the +Procfile+ to load
#
def load(filename)
parse_data = parse(filename)
raise EmptyFileError if parse_data.empty?
@entries.replace parse_data
end
# Save a Procfile to a file
#
# @param [String] filename Save the +Procfile+ to this file
#
def save(filename)
File.open(filename, 'w') do |file|
file.puts self.to_s
end
end
# Get the +Procfile+ as a +String+
#
def to_s
@entries.map do |name, command|View on GitHub (pinned to f65ddba839)
When it happens
Trigger: Thrown at lib/foreman/procfile.rb:67 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ddollar/foreman@f65ddba839 (2026-08-21).
Data as JSON: /api/errors/3c86e551bd03cdd2.
Report an issue: GitHub.