summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/exec_spec.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2023-03-21 18:57:58 +0900
committergit <[email protected]>2023-03-22 21:21:08 +0000
commit348412c7fa0230925c3b1ffc94e64367273da42d (patch)
tree82a48f3ca9f986ddc33c76137810e561a8378e50 /spec/bundler/commands/exec_spec.rb
parent7c307e0379e3c6c07d821b863fefbdfdfc84c4f1 (diff)
[rubygems/rubygems] Use indented heredoc
https://github.com/rubygems/rubygems/commit/085d2776d8
Diffstat (limited to 'spec/bundler/commands/exec_spec.rb')
-rw-r--r--spec/bundler/commands/exec_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb
index 099cdb39fa..95db25b358 100644
--- a/spec/bundler/commands/exec_spec.rb
+++ b/spec/bundler/commands/exec_spec.rb
@@ -697,7 +697,7 @@ RSpec.describe "bundle exec" do
context "`load`ing a ruby file instead of `exec`ing" do
let(:path) { bundled_app("ruby_executable") }
let(:shebang) { "#!/usr/bin/env ruby" }
- let(:executable) { <<-RUBY.gsub(/^ */, "").strip }
+ let(:executable) { <<~RUBY.strip }
#{shebang}
require "rack"