I have a project which uses rake and dynamically generates a set of targets based on the existence of JSON or YAML configuration files.
At the moment, my tests for this project just checks the validity of these configuration files.
I also use Bundler (to manage ruby dependencies).
Here’s the problem - in Circle-CI, bundler appears to be installed in the repo, and the install includes a JSON file. This file then becomes a target for my rakefile, which tries to validate it and fails. Obviously I can change my rakefile to exclude this file, but I would prefer it if I could get bundler to be installed outside of the test directoty. Is this possible?
I’ve been banging my head against the wall trying to get bundler to install elsewhere via the circle.yml via the dependencies->override->bundler config with no joy.