heres a summary of the hassles i ran into when upgrading to 1.0.1, in case they 
occur to anyone else:

(first try)
gem update mongrel (1) Y (2) y y y  (or thereabouts)

..everything appears to go fine. but mongy is giving _weird_ errors like this:
Mon Jan 22 21:45:36 -0500 2007: ERROR: undefined method `request_uri' for 
#<URI::Generic:0x157000da1da0 URL:/>
Mon Jan 22 21:50:11 -0500 2007: ERROR: undefined method `request_uri' for 
#<URI::Generic:0x15cae16dced4 URL:/favicon.ico>

apparently "you might have downloaded a broken copy from a partially updated 
mirror", so

(second try)
/usr/lib64/ruby/site_ruby/1.8/rubygems.rb:196:in `activate': can't activate 
mongrel (= 1.0), already activated mongrel-1.0.1] (Gem::Exception)

apparently "you sometimes get weird errors because of the compiled gems"

so uninstall all versions of mongrel

(third try)

same as previous 'activate' error, only this time with fastthread

(fourth try)

everything appears to go ok, but then this error:

 /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require': no such file to load -- http11 (MissingSourceFile)

(fifth try)

trying again to inspect the logs closer. then notice this:

make: /bin/install: Command not found
make: *** [/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/http11.so] Error 127

run 'eq b install', which searches gentoo's file metadata looking for anything 
that owns it. theres only a /usr/bin/install, and not wanting to figure out why 
gems thinks /bin/install should exist, i just symlink it in

(sixth try)

omg, it works.

for each of the 6 tries above, the following inconconvenience also existed:

it asked me what platform im on, twice. once for fastthread and once for 
mongrel. and the integers for the platform were differnet for both

so i chose ruby (even tho its really posix/linux/bsd vs win32, you get offered 
a ruby option and a win32 option for the gem even tho the ruby one isnt pure 
ruby, its ruby+C, so maybe it shouldnt be named that?),

 so it seems rubygems not only can't do this:

   require "rbconfig"
   include Config
   if %w{darwin bsd linux mingw}.include? CONFIG["arch"] 
       (select ruby option),

it doesnt cache my choices..


thanks for wasting 35 of my minutes rubygems!

i'd submit a patch, but now that mongrel is perfect, i can't imagine neednig 
rubygems again for anything..

cheers, and thanks again for a great web server

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

Reply via email to