diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 19:19:31 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:30:00 +0900 |
commit | 267a72be800da0ec47f441d7d8210dc6aec137af (patch) | |
tree | 800fc3da598bbe32a9a5644193134e4a2355a036 /lib/bundler/shared_helpers.rb | |
parent | e84e63230bd024b652451cb7d1a44b9d9e0449ae (diff) |
[bundler/bundler] Enable `Style/UnneededInterpolation` cop
https://github.com/bundler/bundler/commit/4c6a3c3cf7
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 94eb866f2b..b7e2af29c4 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -309,7 +309,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 |