Skip to content

Commit

Permalink
Merge pull request #196 from scientist-softserv/localize-sentry-for-k…
Browse files Browse the repository at this point in the history
…napsack

⚙️ Move gems to bundler.d
  • Loading branch information
jeremyf authored Apr 2, 2024
2 parents cbc6c88 + a7f7d09 commit 99a97ad
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 99a97ad

Please sign in to comment.