mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Guard < Ruby 3.0 for the repositories of default gems.
This commit is contained in:
parent
7e44ade565
commit
f14aaa2b12
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module EnvUtil
|
|||
@original_internal_encoding = Encoding.default_internal
|
||||
@original_external_encoding = Encoding.default_external
|
||||
@original_verbose = $VERBOSE
|
||||
@original_warning = %i[deprecated experimental].to_h {|i| [i, Warning[i]]}
|
||||
@original_warning = %i[deprecated experimental].to_h {|i| [i, Warning[i]]} if RUBY_VERSION > "2.7"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue