Closed bkiahstroud closed 1 month ago
We've got a problem in the build regarding what Rails version you're requesting.
We've got a problem in the build regarding what Rails version you're requesting.
@jeremyf you're referring to the local build? Can you add more details?
Story
Working knapsacked bundler-inject setup plus Bulkrax bug fix (Importer form).
Expected Behavior Before Changes
The importer form throws an error.
Expected Behavior After Changes
Gems listed in
bundler.d/injected_gems.rb
are injected into bundler.The importer form doesn't throw an error.
Notes
HykuUP Knapsack's implementation technically works differently than Hyku's; Hyku will load all files in the
bundler.d/
dir automatically and considers these "local" gems. HykuUP Knapsack, on the other hand, copies files in thebundler.d/
dir into the Docker image's/app/.bundler.d/
dir, which gets loaded as "global" gems.The main reason for this difference is due to all the file loading differences between Hyku and a knapsack'ed Hyku. The true app is nested within
hyrax-webapp/
, which the plugin doesn't look at.