diff --git a/sentry-ruby/spec/spec_helper.rb b/sentry-ruby/spec/spec_helper.rb index 084c0c304..c53ad34f6 100644 --- a/sentry-ruby/spec/spec_helper.rb +++ b/sentry-ruby/spec/spec_helper.rb @@ -10,7 +10,8 @@ require "rspec/retry" require "redis" require "stackprof" unless RUBY_PLATFORM == "java" -require "vernier" unless RUBY_PLATFORM == "java" || RUBY_VERSION < "3.2" +# XXX: vernier does not currently compile on Ruby head (4.1) +require "vernier" unless RUBY_PLATFORM == "java" || RUBY_VERSION < "3.2" || RUBY_VERSION.start_with?("4.1") SimpleCov.start do project_name "sentry-ruby"