Rob -
Do you have the gem "cgi_multipart_eof_fix" installed? Try the
following and see what is returned:
gem list --local | grep cgi_multipart
Did you install rubygems from apt or did you use something else?
- sob
On Dec 12, 2007, at 6:46 AM, rob lucas wrote:
> (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.
>
>
>
>
>> Date: Tue, 11 Dec 2007 09:31:34 -0800
>> From: "Sean O'Brien" <[EMAIL PROTECTED]>
>> Subject: Re: [Mongrel] Mongrel install problem
>> To: [email protected]
>> Message-ID: <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>>
>> I had the same issue on Etch, try adding '/var/lib/gems/1.8/bin/' to
>> your path - see if that works.
>>
>> - sob
>>
>> On Dec 11, 2007, at 7:27 AM, rob lucas wrote:
>>
>>> Hi,
>>>
>>> I'm having difficulties getting mongrel running on my Debian Etch
>>> machine. It seems to install and is listed with my other gems, but
>>> things like...
>>> "mongrel_rails start ..."
>>> ... are not recognised.
>>>
>>> Perhaps this is something to do with the file "lib" not being
>>> found in
>>> the install process:
>>>
>>> ruby extconf.rb install mongrel --include-dependencies
>>> checking for main() in -lc... no
>>> creating Makefile
>>>
>>> make
>>>
>>> make install
>>>
>>> make clean
>>> Successfully installed mongrel-1.1.1
>>> Successfully installed fastthread-1.0.1
>>> Installing ri documentation for mongrel-1.1.1...
>>> Installing ri documentation for fastthread-1.0.1...
>>> File not found: lib
>>>
>>> I've done the usual Googling for solutions to this, but no luck so
>>> far. Any help would be appreciated.
>>>
>>> Thanks,
>>>
>>> Rob.
> _______________________________________________
> Mongrel-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users