Could not find 'bundler' (>= 0.a)

We started getting this error on all our builds. Is this a circleci issue?

Hey,

There is some more information and some workarounds in this other thread: Bundler fails to find appropriate version, despite installing appropriate version earlier in the build

Hope that helps!

That thread appears to be about a completely different issue (a custom version of bundler). In our case Circle did not install any version of Bundler, so I just ended up adding that as a build step in my circle.yml file.

dependencies:
  pre:
    - gem install bundler

Notably, I had to do this in one repository, but not another one. I’m not sure what Circle found different in them.

2 Likes