require_relative doesn't work as expected in ERB templates

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.
This commit is contained in:
Mike Dalessio
2025-11-28 13:39:47 -05:00
parent a8c4c0fb4b
commit 3286fbb50e
-2
View File
@@ -1,6 +1,4 @@
<%
require_relative "../lib/fizzy"
config_path = if Fizzy.saas?
gem_path = Gem::Specification.find_by_name("fizzy-saas").gem_dir
File.join(gem_path, "config", "storage.yml")