On 9/13/05, Timothy Hunter <cyclists / nc.rr.com> wrote: > Nicholas Van Weerdenburg wrote: > > On 9/13/05, rmagick / gmail.com <rmagick / gmail.com> wrote: > > > >>Nick, did you run postinstall.rb? > >> > >> > >> > > > > > > Thanks. I just realized that an ran it. > > > > Now I get the following: > > ..warnings snipped... > > c:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.1-mswin32/lib/rmagick.rb:158: > > warning: already initialized constant STR > > ETCH_TYPE_NAMES > > c:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.1-mswin32/lib/rmagick.rb:164: > > warning: already initialized constant STY > > LE_TYPE_NAMES > > NameError: undefined method `assoc' for class `Magick::ImageList' > > from c:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.1-mswin32/lib/rmagick.rb:1002:in > > `undef_method' > > from c:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.1-mswin32/lib/rmagick.rb:1002 > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `require__' > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `require' > > > > Any thoughts here? > > > > Thanks, > > Nick > > These are the kind of messages that I'd expect if you somehow loaded > RMagick.rb twice. Is there any way that could be happening? > > It was loading twice, as I noticed with some debug statements. Turns out I was using require "rmagick" rather then require "RMagick" which seems to work properly. Thanks, Nick