[Mongrel] mongrel_cluster, start on boot, stale pids
Jonathan Rochkind
rochkind at jhu.edu
Wed Mar 5 17:31:51 EST 2008
Should I try to patch this to prefer the newest version instead?
If anyone's actually been following along, I filed a patch to fix
resources/mongrel_cluster to pass --clean in.
http://rubyforge.org/tracker/index.php?func=detail&aid=18627&group_id=1306&atid=5147
Jonathan
Eden Li wrote:
> I'm not sure why it prefers the oldest version, but the
> mongrel_cluster_ctl script effectively runs:
>
> require_gem "mongrel_cluster", "> 0"
>
> which seems like it would prefer the oldest. reading the script a tad
> more, it looks like you can specify which version to run by passing in
> _VERSION_ (e.g. _1.0.5_) as the first argument to mongrel_cluster_ctl
>
> On Mar 5, 2008, at 12:29 PM, Jonathan Rochkind wrote:
>
>
>> Okay, you're right. That did work, I didn't do a good job of removing
>> mongrel_cluster-1.0.2 before. The question still remains, why the heck
>> do I need to actually REMOVE 1.0.2 to get mongrel 1.1.4 to use it,
>> when
>> there's a newer mongrel_cluster 1.0.5 installed? This shouldn't
>> actually
>> be, should it? Aren't you supposed to be able to have both
>> installed in
>> gems at once? Anyone have any explanation for why mongrel was
>> preferring the older one when both were installed? [It's this kind of
>> thing that drives me nuts with ruby/rails, especially with deployment
>> issues].
>>
>> Now that I've gotten it to use mongrel_cluster 1.0.5,
>> mongrel_cluster_ctl is indeed properly dealing with the --clean
>> argument, that bug is gone.
>>
>> Very frustrating. Thanks for the help all. Still plan to submit a
>> patch
>> for the resources/mongrel_cluster script to use --clean. Does this
>> make
>> sense? That resource/mongrel_cluster script is mentioned in the
>> mongrel_cluster README still, so it does seem like it's supposed to be
>> still a non-deprecated thing?
>>
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
--
Jonathan Rochkind
Digital Services Software Engineer
The Sheridan Libraries
Johns Hopkins University
410.516.8886
rochkind (at) jhu.edu
More information about the Mongrel-users
mailing list