author avatar

sujay

Thu Jul 25 2024

To ensure a dependency is installed with the engine during gem install, it must be specified within the Gem::Specification block inside the engine's .gemspec file (e.g., blog.gemspec for an engine named Blog, located at the root)

s.add_dependency "pagy"

#rails #rails-engines