Skip to content

Commit

Permalink
Don't try to compile profiler on Ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Aug 17, 2023
1 parent b8555a0 commit cd7069a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ namespace :spec do
' spec/**/{auto_instrument,opentelemetry}_spec.rb'
t.rspec_opts = args.to_a.join(' ')
end
if RUBY_ENGINE == 'ruby' && OS.linux? && Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
if RUBY_ENGINE == 'ruby' && OS.linux? && Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0') \
&& Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.3.0')
# "bundle exec rake compile" currently only works on MRI Ruby on Linux
Rake::Task[:main].enhance([:clean])
Rake::Task[:main].enhance([:compile])
Expand Down

0 comments on commit cd7069a

Please sign in to comment.