Skip to content

Commit 2239753

Browse files
committed
Allow running from older Rubies with warning
1 parent 61b96f6 commit 2239753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mspec/utils/script.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def self.get(key)
3939

4040
def initialize
4141
ruby_version_is ""..."2.5" do
42-
abort "MSpec needs Ruby 2.5 or more recent"
42+
warn "MSpec is supported for Ruby 2.5 and above only"
4343
end
4444

4545
config[:formatter] = nil

0 commit comments

Comments
 (0)