From ea7f90696ff7d2b59428c0666a2bdf64907799d8 Mon Sep 17 00:00:00 2001 From: Kartik Null Cating-Subramanian Date: Thu, 17 Sep 2015 18:28:04 -0400 Subject: [PATCH] Typo RUBY_OPT -> RUBYOPT --- lib/kitchen/driver/vagrant.rb | 4 ++-- spec/kitchen/driver/vagrant_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/kitchen/driver/vagrant.rb b/lib/kitchen/driver/vagrant.rb index 6bf1e257..a60f9167 100644 --- a/lib/kitchen/driver/vagrant.rb +++ b/lib/kitchen/driver/vagrant.rb @@ -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"] diff --git a/spec/kitchen/driver/vagrant_spec.rb b/spec/kitchen/driver/vagrant_spec.rb index fb6f591e..390c85ae 100644 --- a/spec/kitchen/driver/vagrant_spec.rb +++ b/spec/kitchen/driver/vagrant_spec.rb @@ -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