Color is not a module /usr/lib/ruby/gems/1.8/gems/color-1.4.0/lib/color.rb:19
Gems installed in application: pdf-writer 1.1.8 + color 1.4.0 + color-tools 1.3.0 can happen to any pdf-writer version and in any OS (tested on XP/ Ubuntu/Debian/FreeBSD) I have two models: require 'pdf/writer' require 'pdf/writer/graphics' require 'pdf/simpletable' class ModelA < ActiveRecord::Base end In this model i generate pdf's. AND: require 'RMagick' include Magick require 'rvg/rvg' class ModelB < ActiveRecord::Base end And in this model i generate images's. Problem are raised when i added ModelB rmagick support. I was unable to use pdf generator(ModelA) as well as ModelB. After some research i found that if i remove requires from ONE OF model, other model is working well .... Temporary i removed ModelB requirements (generating images from another place). Looking for solution .. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

