From 3d267ca9a3ef289314577eadee7ba5d1236eab30 Mon Sep 17 00:00:00 2001 From: Toshiyuki Ogura Date: Sat, 9 Mar 2013 13:35:09 +0900 Subject: [PATCH] remove quotes on RUBYOPT on Windows --- lib/bundler/runtime.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index 6ae2f1cdc85..d1d0f8cf978 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -224,11 +224,7 @@ def setup_environment rubyopt = [ENV["RUBYOPT"]].compact if rubyopt.empty? || rubyopt.first !~ /-rbundler\/setup/ rubyopt.unshift %|-rbundler/setup| - if Bundler::WINDOWS - rubyopt.unshift %|"-I#{File.expand_path('../..', __FILE__)}"| - else - rubyopt.unshift %|-I#{File.expand_path('../..', __FILE__)}| - end + rubyopt.unshift %|-I#{File.expand_path('../..', __FILE__)}| ENV["RUBYOPT"] = rubyopt.join(' ') end end