Closed maxenced closed 10 years ago
We had a similar issue and I fixed it for now by adding 'builder' to the Gemfile - but I would also be interested in a way to do this without adding builder explicitely to the Gemfile (since ci_reporter already has it as dependency and the gem should be present and loaded...)
I currently solve it with something like :
echo "gem 'bundler'" >> Gemfile
bundle install
do my stuff
git reset --hard HEAD
but that's not a good solution.
+1
We are in the process of cleaning out old issues. If this issue still applies to this version, please let us know, otherwise we're going to close this issue to focus on current problems. Thanks for your report!
Of special note, our plan is to deprecate the alternate methods of invoking CI::Reporter. However, we are flexible and willing to keep this behavior, if you can help us understand why you need to run tests in CI for a project you cannot modify. Thanks!
Closing due to inactivity.
I'm in the case described in the readme : "If you don’t have control over the Rakefile or don’t want to modify it".
In fact, I want to test external puppet modules, so this is basically a:
Which triggers RSpec tests. If I want to use your rake task, with :
I get the error :
Because the 'builder' gem can't be loaded in bundle. However, I don't want to modify repo's Gemfile.
Is there a way to solve this dependency (the gem is installed system wide) ?