From a7f7d090d4bcad1789d21437062d36b5f9a10c24 Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Tue, 2 Apr 2024 16:01:43 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Move=20gems=20to=20bundler?= =?UTF-8?q?.d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prior to this the gems were part of the gemspec which meant Hyku prime updated to include those sentry gems as dependencies. --- Dockerfile | 1 + bundler.d/example.rb | 4 ++++ hyku_knapsack.gemspec | 3 --- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 54ace04..590e3d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM ghcr.io/samvera/hyku/base:latest as hyku-knap-base # This is specifically NOT $APP_PATH but the parent directory COPY --chown=1001:101 . /app/samvera +COPY --chown=1001:101 bundler.d/ /app/.bundler.d/ ENV BUNDLE_LOCAL__HYKU_KNAPSACK=/app/samvera ENV BUNDLE_DISABLE_LOCAL_BRANCH_CHECK=true diff --git a/bundler.d/example.rb b/bundler.d/example.rb index 6b9acc1..e431fd1 100644 --- a/bundler.d/example.rb +++ b/bundler.d/example.rb @@ -5,3 +5,7 @@ # you can use `gem` to add new gems, `override_gem` to change an existing gem # or `ensure_gem` to make sure a gem is there w/o worrying about if it is an # override or not + +gem "sentry-ruby" +gem "sentry-rails" +gem "sentry-sidekiq" diff --git a/hyku_knapsack.gemspec b/hyku_knapsack.gemspec index 4d272de..ffc994a 100644 --- a/hyku_knapsack.gemspec +++ b/hyku_knapsack.gemspec @@ -25,7 +25,4 @@ Gem::Specification.new do |spec| end spec.add_dependency "rails", ">= 5.2.0" - spec.add_dependency "sentry-ruby" - spec.add_dependency "sentry-rails" - spec.add_dependency "sentry-sidekiq" end