Forum: Rails deployment problem altering mongrel_cluster_ctl

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
419c9cc258895bed66c89892721c2971?d=identicon&s=25 Elliott Blatt (eblatt)
on 2009-01-22 20:27
I've hit snag and was hoping someone might be able to give me some
clues.

I'm trying to implement the changes to the mongrel_cluster_ctl  script
as put forth in the following post.  I'm using Ubuntu.

http://blog.carlmercier.com/ 2007/09/07/a-better-approach-
to-restarting-a-mongrel- cluster/#content

This post suggests that I replace  'mongrel_cluster_ctl' with the
version that he has hacked.  This seems easy enough....but....

There are two locations that seem likely candidates for installing this
new file:

1. /usr/bin/
2. /usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/bin/

In both of these directories, there exists: 'mongrel_cluster_ctl'.

I've replaced the contents of this file in *both* of these locations
with the new, hacked version of 'mongrel_cluster_ctl'.

Now, when I  do a 'mongrel_rails cluster::restart', it seems that the
old (supposedly changed) file is still being executed.   There don't
seem to be any other places where this could be.  Is the file compiled
into the gem or something strange like that?  I've used 'find' to find
other places where this file might exist, but only the two places listed
above are found.

Do I need to reboot to have these changes picked up?

Any clues would be sincerely appreciated.
This topic is locked and can not be replied to.