Aha. Thanks. This is curious. I would actually like to have both 
versions of mongrel_cluster installed at the moment, so I can easily 
switch back if needed. gem is supposed to be capable of this of course.

I'm confused as to why my scirpt in /usr/bin/mongrel_cluster_ctl is 
calling the 1.0.2 version, when I have 1.0.5 installed. When I look at 
the very brief code in /usr/bin/mongrel_cluster_ctl, it looks like it 
should use the latest mongrel_cluster stuff installed. Here's what's in 
/usr/bin/mongrel_cluster, anyone know why this would be using 1.0.2 even 
though I have 1.0.5 installed?

#!/usr/bin/env ruby
#
# This file was generated by RubyGems.
#
# The application 'mongrel_cluster' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'
version = "> 0"
if ARGV.size > 0 && ARGV[0][0]==95 && ARGV[0][-1]==95
  if Gem::Version.correct?(ARGV[0][1..-2])
    version = ARGV[0][1..-2]
    ARGV.shift
  end
end
require_gem 'mongrel_cluster', version
load 'mongrel_cluster_ctl'


Eden Li wrote:
> Your backtrace:
>
>   
>>>> /usr/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.2/lib/
>>>> mongrel_cluster/init.rb
>>>>         
>
> You might try removing stale gems by running `sudo gem uninstall  
> mongrel_cluster` and removing anything that's not mongrel_cluster  
> 1.0.5.  Also make sure your /usr/bin/mongrel_* are pointing to the  
> right version.
>
> On Mar 5, 2008, at 10:15 AM, Jonathan Rochkind wrote:
>
>   
>> What makes you think it looks like I am not?  Because maybe I'm not  
>> even
>> though I intend to be.
>>     
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users@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

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to