Skip to content

Commit

Permalink
Merge pull request #4156 from DataDog/psych-fix-real
Browse files Browse the repository at this point in the history
psych fix attempt #3
  • Loading branch information
TonyCTHsu committed Nov 28, 2024
1 parent 7924a1e commit aa995e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/datadog/core/environment/execution_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,15 @@ 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
Expand Down

0 comments on commit aa995e5

Please sign in to comment.