Build fails due to Ruby version trouble

Hi folks,

I have a static blog built with Jekyll. I’ve just discovered that builds for it have been failing for a long time because of version issues.

Tl;dr

  • The running version of bundler is throwing a warning:
    6:06:39 PM: Warning: the running version of Bundler (2.0.1) is older than the version that created the lockfile (2.0.2). We suggest you upgrade to the latest version of Bundler by runninggem install bundler.
  • There are incompatible gem versions:
    6:06:43 PM: rubyzip-2.0.0 requires ruby version >= 2.4, which is incompatible with the 6:06:43 PM: current version, ruby 2.3.6p384

What’s the right approach here? Can I update these gems myself in the netlify environment?
Should I downgrade the gems in my project and hope that they work, what if that breaks my site?

Would be great to see if this is just an issue with my site or if others have this problem!

Cheers

Alex

2 Likes