mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
patch.py located files/ruby/ relative to its own __file__. That holds in the repo, where the script sits next to the fragments, but the image copies the script to /tmp/patch.py and the fragments to /tmp/ruby/, so parent.parent resolved to / and the build died with FileNotFoundError: /ruby/omniauth_provider.rb on every retry. DECIDIM_PATCH_RUBY_DOCKER already decides where the COPY puts the fragments. Reading it in the script makes that variable the only place the location is stated, so the layout can change without a second place silently disagreeing. Missing variable raises instead of guessing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>