Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions spec/datadog/core/environment/execution_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,26 +170,12 @@ def test_it_does_something_useful

let(:script) do
<<-'RUBY'
# Under Ruby 3.0 through 3.2 there is a weird error that occurs
# in CI where two copies of psych get loaded in the same process,
# and even more strangely the first version is a newer one from
# gem and the second one is the older one from Ruby standard
# library. Try to work around this situation by forcing psych
# to be loaded from (some) gem.
# We still don't know exactly what is causing the original issue.
gem 'psych'

require 'bundler/inline'

gemfile(true) do
source 'https://rubygems.org'
if RUBY_VERSION >= '3.4'
# Cucumber is broken on Ruby 3.4, requires the fix in
# https://github.com/cucumber/cucumber-ruby/pull/1757
gem 'cucumber', '>= 3', git: 'https://github.com/cucumber/cucumber-ruby'
else
gem 'cucumber', '>= 3'
end

gem 'cucumber', '>= 3', '<= 9.2.1'
end

load Gem.bin_path('cucumber', 'cucumber')
Expand Down
Loading