(apologies for double-posting this. I just realised that the original
had the digest title, and thus broke the thread.)
Thanks for the help Sean. I managed to get the install fixed, but I’m
still having problems. When I do mongrel_rails start, the process just
gets stuck and never completes. If I interrupt it I get the
following…
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
/usr/lib/ruby/1.8/rubygems/source_index.rb:186:in search': Interrupt from /usr/lib/ruby/1.8/rubygems/source_index.rb:185:in
each’
from /usr/lib/ruby/1.8/rubygems/source_index.rb:185:in search' from /usr/lib/ruby/1.8/rubygems/source_index.rb:165:in
find_name’
from /usr/lib/ruby/1.8/rubygems.rb:195:in activate' from /usr/lib/ruby/1.8/rubygems.rb:65:in
active_gem_with_options’
from /usr/lib/ruby/1.8/rubygems.rb:49:in gem' from /var/lib/gems/1.8/gems/mongrel-1.1.1/bin/../lib/mongrel/gems.rb:12:in
require’
from
/var/lib/gems/1.8/gems/mongrel-1.1.1/bin/…/lib/mongrel.rb:13
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
require’
from /var/lib/gems/1.8/gems/mongrel-1.1.1/bin/mongrel_rails:11
from /usr/bin/mongrel_rails:16:in `load’
from /usr/bin/mongrel_rails:16
… which indicates it is getting stuck in the block of this search
method:
def search(gem_pattern,
version_requirement=Version::Requirement.new(">= 0"))
#FIXME - remove duplication between this and
RemoteInstaller.search
gem_pattern = /^#{ gem_pattern }$/i if String === gem_pattern
version_requirement =
Gem::Version::Requirement.create(version_requirement)
result = []
@gems.each do |full_spec_name, spec|
next unless spec.name =~ gem_pattern
result << spec if
version_requirement.satisfied_by?(spec.version)
end
result = result.sort
result
end
Any ideas why?
Thanks,
Rob.