3286fbb50e
e.g., when firing up bin/minio-setup this looks in the parent directory However, we shouldn't need it since `lib` is eager loaded.
10 lines
256 B
YAML
10 lines
256 B
YAML
<%
|
|
config_path = if Fizzy.saas?
|
|
gem_path = Gem::Specification.find_by_name("fizzy-saas").gem_dir
|
|
File.join(gem_path, "config", "storage.yml")
|
|
else
|
|
File.join(__dir__, "storage.oss.yml")
|
|
end
|
|
%>
|
|
<%= ERB.new(File.read(config_path)).result %>
|