Skip to content

Commit

Permalink
⚙️ Move gems to bundler.d
Browse files Browse the repository at this point in the history
Prior to this the gems were part of the gemspec which meant Hyku prime
updated to include those sentry gems as dependencies.
  • Loading branch information
jeremyf committed Apr 2, 2024
1 parent cbc6c88 commit a7f7d09
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions bundler.d/example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 0 additions & 3 deletions hyku_knapsack.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a7f7d09

Please sign in to comment.