summaryrefslogtreecommitdiff
path: root/lib/bundler/shared_helpers.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 19:19:31 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 23:07:21 +0200
commit4c6a3c3cf7bc11f5f0ea6b5b1bff477bd8807e81 (patch)
tree4e7b11743d11470f7126ca5756ffc5dbf7b4cbfb /lib/bundler/shared_helpers.rb
parente9c83b85622ebffecc645dcf092af8b607f46f10 (diff)
downloadbundler-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.rb2
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