Build failing because of missing rake gem after previously passing


Our builds are currently failing because of a missing rake gem. During build, we see the following error:

#!/bin/bash -eo pipefail
xvfb-run -a \
  ./bin/rspec --profile 10 \
    --format RspecJunitFormatter \
    --out ./test-results/rspec.xml \
    --format progress \
    $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
Could not find rake-12.1.0 in any of the sources
Run `bundle install` to install missing gems.
Exited with code 1

This problem is occurring on master which was passing 1 week ago and has not had any changes pushed to it since.


Same issue. Updating gems that dependent to rake resolves it, but same issue with another gem occurs.


We were able to solve this issue.

The problem was with the spring gem.

More information here:

Using that branch for spring solved the problem, i.e:

gem "spring", github: "mattbrictson/spring", branch: "honor-bundle-app-config"


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.