Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Server does not stop using daemon/cruise stop #50

Open
kpumuk opened this issue Jun 18, 2011 · 0 comments
Open

Server does not stop using daemon/cruise stop #50

kpumuk opened this issue Jun 18, 2011 · 0 comments
Labels

Comments

@kpumuk
Copy link
Contributor

kpumuk commented Jun 18, 2011

There are several related issues:

  1. daemon/daemon_helper.rb requires 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.
  2. mongrel_rails is not able to stop Webrick server for some reason.

To fix the issue, it's necessary to do following:

  1. 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.
  2. Add mongrel to Gemfile, so CruiseControl::Init will use it.

This will fix things in Ruby 1.8, but I have no idea how other versions of Ruby will behave.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant