I'm using cruisecontrol.rb for continuous integration, and have the following settings in cruise_config.rb.
Project.configure do |project|
...
project.build_command = 'my_build_script.sh'
...
end
I've tried to follow this blog post.
However, I can't get 'my_build_script.sh' to run. It kicks off by running 'bundle install'. Any ideas?
Cruise allows you disable the automatic
bundle install, viaproject.use_bundler = false.See the feature announcement.
It's a shame that the default is true, making
bundle installbehave strangely with rvm gemsets. They should've made the feature opt-in instead of automatic, seeing that a lot of people use rvm gemsets.Apparently cruise will use the same
GEM_HOMEas the parent cruise process is using. If you're running cruise under Phusion Passenger, it'll use theGEM_HOMEwhere the passenger gem is installed (I'm not sure if this is still a problem with passenger 4 though).