Skip to content

Commit

Permalink
Merge pull request #2141 from samvera/knapsack_inject_gems_v2
Browse files Browse the repository at this point in the history
override gems from knapsack
  • Loading branch information
jeremyf authored Feb 2, 2024
2 parents 4096fe9 + b532305 commit 16734c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ public/uploads
docker-compose.override.yml
*~undo-tree~
.DS_Store
/bundler.d/
9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# frozen_string_literal: true

# for knapsack overrides of gems. See https://github.com/ManageIQ/bundler-inject
# set BUNDLE_BUNDLER_INJECT__GEM_PATH in your knapsack to point at the knapsack override file.
plugin 'bundler-inject'
begin
require File.join(Bundler::Plugin.index.load_paths("bundler-inject")[0], "bundler-inject")
rescue
nil
end

# rubocop:disable Layout/LineLength
source 'https://rubygems.org'

Expand Down
Empty file added bundler.d/.gitkeep
Empty file.

0 comments on commit 16734c1

Please sign in to comment.