Skip to content

Commit bd99849

Browse files
committed
override gems from knapsack with bundler inject
1 parent a72af34 commit bd99849

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ public/uploads
5555
docker-compose.override.yml
5656
*~undo-tree~
5757
.DS_Store
58+
/bundler.d/

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# frozen_string_literal: true
22

3+
# for knapsack overrides of gems. See https://github.com/ManageIQ/bundler-inject
4+
# set BUNDLE_BUNDLER_INJECT__GEM_PATH in your knapsack to point at the knapsack override file.
5+
plugin 'bundler-inject'
6+
require File.join(Bundler::Plugin.index.load_paths("bundler-inject")[0], "bundler-inject") rescue nil
7+
38
# rubocop:disable Layout/LineLength
49
source 'https://rubygems.org'
510

bundler.d/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)