diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-18 13:39:48 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-18 13:39:48 -0700 |
commit | 0abfa2b98d5a1bf23cef33f73bba29b48a416ba6 (patch) | |
tree | 680d0a6f699265af757001326884d0550bef0f45 | |
parent | 52bae21e8c2e59feade58ca2f89a08ebaf94e37c (diff) | |
download | chef-lcg/integ-fixes.tar.gz |
rvm needs GEM_PATH protectedlcg/integ-fixes
otherwise the rubyopts passes -rbundler/setup which whacks the gem_path
and then without the env var it can't find internal gems like i18n.
-rw-r--r-- | spec/integration/client/client_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/client/client_spec.rb b/spec/integration/client/client_spec.rb index 8bba6b991a..e00664f1e3 100644 --- a/spec/integration/client/client_spec.rb +++ b/spec/integration/client/client_spec.rb @@ -47,7 +47,7 @@ describe "chef-client" do # cf. CHEF-4914 let(:chef_client) { "ruby '#{chef_dir}/chef-client' --minimal-ohai" } - let(:critical_env_vars) { %w(PATH RUBYOPT BUNDLE_GEMFILE).map {|o| "#{o}=#{ENV[o]}"} .join(' ') } + let(:critical_env_vars) { %w(PATH RUBYOPT BUNDLE_GEMFILE GEM_PATH).map {|o| "#{o}=#{ENV[o]}"} .join(' ') } when_the_repository "has a cookbook with a no-op recipe" do before { file 'cookbooks/x/recipes/default.rb', '' } |