Closed mishina2228 closed 1 year ago
@joshuacronemeyer Could you try to see if this works?
Psych 5.0 has been released, but CI on Ruby 2.6+ now fails due to lack of libyaml-dev
.
This issue has been discussed on the psych side, but since psych is a dependent gem of jeweler, the problem should go away if jeweler is removed in #392.
thanks @mishina2228
This PR attempts to fix failing CI with Ruby 2.5. refs: #391
ruby/setup-ruby provides the function to cache
bundle install
, but sometimes this cache seems to corrupt. https://github.com/ruby/setup-ruby#dealing-with-a-corrupted-cacheThe most recent logs show that psych builds are failing, which is exactly the situation. https://github.com/travisjeffery/timecop/actions/runs/3578996103/jobs/6019716355
ArgumentError: wrong number of arguments (given 4, expected 1) /home/runner/work/timecop/timecop/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/lib/psych.rb:322:in
safe_load' /opt/hostedtoolcache/Ruby/2.5.9/x64/lib/ruby/2.5.0/rubygems/safe_yaml.rb:31:in
safe_load' /opt/hostedtoolcache/Ruby/2.5.9/x64/lib/ruby/2.5.0/rubygems/package.rb:496:in `block (2 levels) in read_checksums' ...