iberianpig/fusuma · error · NotFoundError
#{expand_custom_path} is NOT FOUND
Error message
#{expand_custom_path} is NOT FOUND What it means
Error "#{expand_custom_path} is NOT FOUND" thrown in iberianpig/fusuma.
Source
Thrown at lib/fusuma/config.rb:155
return @cache_execute_keys[cache_key] if @cache_execute_keys.has_key?(cache_key)
@cache_execute_keys[cache_key] =
@execute_keys.find do |execute_key|
new_index = Config::Index.new(index.keys | [execute_key])
search(new_index)
end
end
private
#: () -> String
def find_config_filepath
filename = "fusuma/config.yml"
if custom_path
return expand_custom_path if File.exist?(expand_custom_path)
raise NotFoundError, "#{expand_custom_path} is NOT FOUND"
elsif File.exist?(expand_config_path(filename))
expand_config_path(filename)
else
MultiLogger.warn "config file: #{expand_config_path(filename)} is NOT FOUND"
expand_default_path(filename)
end
end
#: () -> String
def expand_custom_path
File.expand_path(custom_path)
end
#: (String) -> String
def expand_config_path(filename)
File.expand_path "~/.config/#{filename}"
end
View on GitHub (pinned to 43a7eb04fe)
Solutions
- Create the config file at the path shown in the error, or correct the path passed via the -c/--config option.
- Check for typos, missing directories, or a wrong home-directory prefix in the custom config path.
- Remove the custom path option to fall back to the default location under ~/.config/fusuma/config.yml.
When it happens
Trigger: Thrown at lib/fusuma/config.rb:155 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of iberianpig/fusuma@43a7eb04fe (2026-08-23).
Data as JSON: /api/errors/2ad4efb9a1ad5888.
Report an issue: GitHub.