summaryrefslogtreecommitdiff
path: root/spec/commands/exec_spec.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 /spec/commands/exec_spec.rb
parente9c83b85622ebffecc645dcf092af8b607f46f10 (diff)
downloadbundler-enable_unneeded_interpolation_cop.tar.gz
Enable `Style/UnneededInterpolation` copenable_unneeded_interpolation_cop
Diffstat (limited to 'spec/commands/exec_spec.rb')
-rw-r--r--spec/commands/exec_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb
index b01a31fb50..752d213994 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -299,7 +299,7 @@ RSpec.describe "bundle exec" do
G
rubylib = ENV["RUBYLIB"]
- rubylib = "#{rubylib}".split(File::PATH_SEPARATOR).unshift "#{bundler_path}"
+ rubylib = rubylib.to_s.split(File::PATH_SEPARATOR).unshift bundler_path
rubylib = rubylib.uniq.join(File::PATH_SEPARATOR)
bundle "exec 'echo $RUBYLIB'"