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.
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 > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
(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" <sobrien at yahoo-inc.com> > Subject: Re: [Mongrel] Mongrel install problem > To: mongrel-users at rubyforge.org > Message-ID: <570BBEFE-51FD-4635-A652-8B1D0FACE930 at yahoo-inc.com> > 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.
>>Ruby version is not up-to-date; loading cgi_multipart_eof_fixIt seems the version of ruby you''re using needs to be updated. If you''re installing from a package, and not from source, you may be at the mercy of the maintainers to update. On Dec 12, 2007 8:46 AM, rob lucas <robjlucas at googlemail.com> 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" <sobrien at yahoo-inc.com> > > Subject: Re: [Mongrel] Mongrel install problem > > To: mongrel-users at rubyforge.org > > Message-ID: <570BBEFE-51FD-4635-A652-8B1D0FACE930 at yahoo-inc.com> > > 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 > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >
rob lucas dijo [Tue, Dec 11, 2007 at 03:27:49PM +0000]:> 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: > (...)Hi, You might be interested in using my (unofficial) apt repository, so you have your Debian installation as clean as possible: deb http://www.iiec.unam.mx/apt/ etch mongrel I''m currently using it in my production server. Greetings, -- Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
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" <sobrien at yahoo-inc.com> >> Subject: Re: [Mongrel] Mongrel install problem >> To: mongrel-users at rubyforge.org >> Message-ID: <570BBEFE-51FD-4635-A652-8B1D0FACE930 at yahoo-inc.com> >> 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 > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
Hi Sean, Its fixed now. I think the main problem was that I just did a bunch of simple installs through apt, and then "gem install whatever" and the versions of different things ended up not tallying properly: the latest Debian ruby package was 1.8.5 and I was trying to run the latest Mongrel and Mongrel Cluster, which weren''t happy. A simple mistake really I guess, though it isn''t always immediately obvious which versions go with which. I now have it working with mongrel (1.0.1) and mongrel_cluster (1.0.2) on ruby 1.8.5 . Also, I didn''t have Make installed at the beginning, which I think the Gem install process needed. Glad its all working now. Thanks for your help. Rob.> Date: Thu, 13 Dec 2007 09:13:32 -0800 > From: "Sean O''Brien" <sobrien at yahoo-inc.com> > Subject: Re: [Mongrel] Mongrel install problem > To: mongrel-users at rubyforge.org > Message-ID: <ED73D62D-11BB-4162-B003-3D3F0A8F7791 at yahoo-inc.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071217/ec233d10/attachment.html
Possibly Parallel Threads
- Mongrel-users Digest, Vol 23, Issue 4
- mongrel on linux error - custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadErro
- script/server vs mongrel_rails start issue
- Installing puppet-dashboard on ubuntu precise
- error when installing on jruby (fastthread dependency)