Hi all, I've added basic support for Bundler in commit 2fe5d1b45105fd6f32a091165cdcb608403ac35b. Although I've tried to adhere to the spirit of cross-platform compatibility, I haven't yet had a chance to test it in Windows, so if you do so please share your experience. Here's how it works:
- If a project is configured with rake_command (or build_command is omitted) and includes a Gemfile in its root, it's assumed that you want to perform a bundle install. - You can explicitly disable this behavior with project.use_bundler = false. - If bundler support is triggered, CC.rb will perform a bundle check followed by a bundle install if the check fails. - Going per Ryan McGeary's advice[1], bundle install defaults to --path=vendor so as to avoid interfering with other gems installed on the system. Open to feedback on this. - The absolute paths to each project's local vendor and Gemfiles are passed as arguments to bundle install. Relevant method is Build#bundle_install. Please take a look. Cheers, Brian [1] "Vendor everything" still applies, http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-applies/ _______________________________________________ Cruisecontrolrb-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers
