For the next person who wants to get cruise control to work with bundler (in a hurry) here's what I did to solve my issue:
a) modified my the project to use the shell command (project/cruise_config.rb) project.build_command = '../build_my_app.sh' b) created a project/build_my_app.sh with the contents bundle install ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/Users/tsedano/cruisecontrol-1.4.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear" Chad, I thank you for your help and I was very tempted to call, but didn't want to interrupt your day. Thanks for the pointer to the Bundler website. All our projects have followed the directions on this page: http://gembundler.com/rails23.html -- I'm sure there is a way to force bundle install to run everytime that rails is started up, but I didn't want to slow down the development teams. Here is the reason I think I need to call bundle install before the cruise control rake file gets started, I see the error message: ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/Users/tsedano/cruisecontrol-1.4.0/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run; ARGV.clear" rake aborted! Bundler couldn't find some gems.Did you run `bundle install`? The way I read this error, I think it means that the default cruise control rake is failing and needs bundler to run before it even gets to my rake task for the project. I am not a cruise control developer. so I could be wrong. There could be a more elegant way to solve this. I was hoping that modifying cruisecontrol-1.4.0/tasks/cc_build.rake, but it didn't work for me.
_______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
