diff --git a/Gemfile b/Gemfile index 0fa52674454..e233079a9f1 100644 --- a/Gemfile +++ b/Gemfile @@ -101,4 +101,5 @@ gem 'ffi', '~> 1.16.3', require: false # Ruby 3.4 should be supported by strscan v3.1.1. However, the latest release of strscan is v3.1.0. # # TODO: Remove this once v3.1.1 is released. -gem 'strscan', git: 'https://github.com/ruby/strscan' if RUBY_VERSION.start_with?('3.4.') +gem 'strscan', git: 'https://github.com/ruby/strscan', + ref:'041b15df4ccc067deabd85fd489b2c15961d0e2f'if RUBY_VERSION.start_with?('3.4.')