travisjeffery / timecop

A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
MIT License
3.37k stars 226 forks source link

remove ruby 21 and 22 from matrix #403

Closed joshuacronemeyer closed 1 year ago

joshuacronemeyer commented 1 year ago
Installing Bundler
  Bundler 2 requires Ruby 2.3+, using Bundler 1 on Ruby <= 2.2
  /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v ~> 1.0
  ERROR:  While executing gem ... (RuntimeError)
      Marshal.load reentered at marshal_load
  Took   0.33 seconds
Error: The process '/opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem' failed with exit code 1

Our CI builds are failing because we would need to maintain different versions of bundler for these ancient rubies. 2.2 was EOL on (31 Mar 2018)... I'm just going to stop testing our code there. According to this https://github.com/ruby/setup-ruby/issues/496 there is no workaround.