Skip to content

Commit

Permalink
Merge pull request #197 from ksubrama/bundler
Browse files Browse the repository at this point in the history
Fix typo: change RUBY_OPT -> RUBYOPT
  • Loading branch information
tyler-ball committed Sep 18, 2015
2 parents cf89394 + ea7f906 commit 72b9c84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/kitchen/driver/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ def run_command(cmd, options = {})
# "A Hard Problem"(TM), we simply blow away all known bundler
# related changes.
env = merged[:environment]
%w[BUNDLE_BIN_PATH BUNDLE_GEMFILE GEM_HOME GEM_PATH GEM_ROOT RUBY_LIB
RUBY_OPT _ORIGINAL_GEM_PATH].each do |var|
%w[BUNDLE_BIN_PATH BUNDLE_GEMFILE GEM_HOME GEM_PATH GEM_ROOT RUBYLIB
RUBYOPT _ORIGINAL_GEM_PATH].each do |var|
env[var] = nil
end
gem_home = ENV["GEM_HOME"]
Expand Down
4 changes: 2 additions & 2 deletions spec/kitchen/driver/vagrant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def run_command(_cmd, options = {})
"GEM_HOME" => "gem_home",
"GEM_PATH" => "gem_path",
"GEM_ROOT" => "gem_root",
"RUBY_LIB" => "ruby_lib",
"RUBY_OPT" => "ruby_opt",
"RUBYLIB" => "ruby_lib",
"RUBYOPT" => "ruby_opt",
"_ORIGINAL_GEM_PATH" => "original_gem_path"
}
end
Expand Down

0 comments on commit 72b9c84

Please sign in to comment.