diff options
author | Tim Smith <tsmith@chef.io> | 2019-02-28 14:53:35 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-02-28 14:53:35 -0800 |
commit | 4083228670c0520cde6772ec4017968b19b30759 (patch) | |
tree | eac3e2c58349fd01654c5e1e04789b66701aeb85 /omnibus | |
parent | ef02957edd5fb851356a30a69bcc049e80ff3277 (diff) | |
download | chef-4083228670c0520cde6772ec4017968b19b30759.tar.gz |
Allow using a Gemfile.local for omnibus
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'omnibus')
-rw-r--r-- | omnibus/.gitignore | 3 | ||||
-rw-r--r-- | omnibus/Gemfile | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/omnibus/.gitignore b/omnibus/.gitignore index a959250f6e..91d2b32b21 100644 --- a/omnibus/.gitignore +++ b/omnibus/.gitignore @@ -1,3 +1,5 @@ +binstubs +.bundle vendor/bundle pkg/* kitchen.local.yml @@ -9,3 +11,4 @@ vendor/cookbooks build_timestamp ldd.out Berksfile.lock +Gemfile.local diff --git a/omnibus/Gemfile b/omnibus/Gemfile index c02cb35c92..99dc856a4d 100644 --- a/omnibus/Gemfile +++ b/omnibus/Gemfile @@ -21,3 +21,9 @@ group :development do gem "kitchen-vagrant", ">= 1.3.1" gem "winrm-fs", "~> 1.0" end + +instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"] + +# If you want to load debugging tools into the bundle exec sandbox, +# add these additional dependencies into Gemfile.local +eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local") |