[rubygems/rubygems] Add better error when trying to develop RubyGems with an unsupported Ruby version
https://github.com/rubygems/rubygems/commit/9d41c4088a
This commit is contained in:
parent
54b6025887
commit
3ebe249ce1
@ -1,5 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
abort "RubyGems only supports Ruby 3.0 or higher" if RUBY_VERSION < "3.0.0"
|
||||
|
||||
require_relative "path"
|
||||
|
||||
$LOAD_PATH.unshift(Spec::Path.source_lib_dir.to_s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user