aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/bundler/cli_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/bundler/cli_spec.rb')
-rw-r--r--spec/bundler/bundler/cli_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/bundler/cli_spec.rb b/spec/bundler/bundler/cli_spec.rb
index dc7d4a50aa..ccf957d6df 100644
--- a/spec/bundler/bundler/cli_spec.rb
+++ b/spec/bundler/bundler/cli_spec.rb
@@ -7,10 +7,10 @@ using Module.new {
# non-tty.
refine Spec::Helpers do
def out
- super.gsub(/.[\b]/, '')
+ super.gsub(/.[\b]/, "")
end
end
-}
+} if RUBY_VERSION >= "2.4"
RSpec.describe "bundle executable" do
it "returns non-zero exit status when passed unrecognized options" do