diff options
author | Hsing-Hui Hsu <hsing-hui@carezone.com> | 2016-02-09 22:39:51 -0800 |
---|---|---|
committer | Hsing-Hui Hsu <hsing-hui@carezone.com> | 2016-02-09 22:39:51 -0800 |
commit | 1ae00675cf27ce8853b6a439e115863045977e92 (patch) | |
tree | 7a33123b637f1b296af54208a9b43921451c9835 | |
parent | e37927b30ed3677447ada1c53725b15db866f12a (diff) | |
download | bundler-1ae00675cf27ce8853b6a439e115863045977e92.tar.gz |
Remove space betweeen -I and dir name for 1.8.7
The way Ruby 1.8.7 parses RUBYOPT differs from later rubies in that it
does not recognize spaces between the dir name and the -I option. This
addresses
https://github.com/bundler/bundler/pull/4268#discussion_r52240485
-rw-r--r-- | spec/runtime/setup_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index 65a310e769..cb6d237af7 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -120,7 +120,7 @@ describe "Bundler.setup" do gem "rack" G - ENV["RUBYOPT"] = "-I dash_i_dir" + ENV["RUBYOPT"] = "-Idash_i_dir" ENV["RUBYLIB"] = "rubylib_dir" ruby <<-RUBY |