cruisecontrol.rb
cruisecontrol.rb copied to clipboard
Server does not stop using daemon/cruise stop
There are several related issues:
daemon/daemon_helper.rbrequires mongrel to be installed system wide, but then it starts server, which uses Bundler, and there is no mongrel in Gemfile. So Webrick is always being used.mongrel_railsis not able to stop Webrick server for some reason.
To fix the issue, it's necessary to do following:
- Do not load rubygems in
daemon_helper.rb, and do not require mongrel from this file. It will improve startup time, and fix unnecessary requirement on system-wide mongrel gem. - Add mongrel to
Gemfile, soCruiseControl::Initwill use it.
This will fix things in Ruby 1.8, but I have no idea how other versions of Ruby will behave.