diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 19:19:31 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 23:07:21 +0200 |
commit | 4c6a3c3cf7bc11f5f0ea6b5b1bff477bd8807e81 (patch) | |
tree | 4e7b11743d11470f7126ca5756ffc5dbf7b4cbfb /lib/bundler/shared_helpers.rb | |
parent | e9c83b85622ebffecc645dcf092af8b607f46f10 (diff) | |
download | bundler-4c6a3c3cf7bc11f5f0ea6b5b1bff477bd8807e81.tar.gz |
Enable `Style/UnneededInterpolation` copenable_unneeded_interpolation_cop
Diffstat (limited to 'lib/bundler/shared_helpers.rb')
-rw-r--r-- | lib/bundler/shared_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 80398fa372..00ff541598 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -310,7 +310,7 @@ module Bundler rubyopt = [ENV["RUBYOPT"]].compact setup_require = "-r#{File.expand_path("setup", __dir__)}" return if !rubyopt.empty? && rubyopt.first =~ /#{setup_require}/ - rubyopt.unshift %(#{setup_require}) + rubyopt.unshift setup_require Bundler::SharedHelpers.set_env "RUBYOPT", rubyopt.join(" ") end |