Using attachment_fu and ''Rmagick'' as processor I have the
following
error
Problems loading RmagickProcessor: no such file to load -- RMagick
( the code is
begin
processor_mod
Technoweenie::AttachmentFu::Processors.const_get("#{attachment_options
[:processor].to_s.classify}Processor")
include processor_mod unless included_modules.include?
(processor_mod)
rescue Object, Exception
raise unless load_related_exception?($!)
logger.debug("Problems loading #{options[:processor]}
Processor: #{$!}")
end
)
while no error if I try the following from the console:
Loading development environment (Rails 2.2.2)>>
Technoweenie::AttachmentFu::Processors.const_get("RmagickProcessor")
=>
Technoweenie::AttachmentFu::Processors::RmagickProcessor>>
Anyone have an idead of the root cause of this problem?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Have you installed RMagick? -e On Dec 17, 9:51 am, mi <mauriziosime...-whZMOeQn8C0@public.gmane.org> wrote:> Using attachment_fu and ''Rmagick'' as processor I have the following > error > > Problems loading RmagickProcessor: no such file to load -- RMagick > > ( the code is > begin > processor_mod > Technoweenie::AttachmentFu::Processors.const_get("#{attachment_options > [:processor].to_s.classify}Processor") > include processor_mod unless included_modules.include? > (processor_mod) > rescue Object, Exception > raise unless load_related_exception?($!) > logger.debug("Problems loading #{options[:processor]} > Processor: #{$!}") > end > ) > > while no error if I try the following from the console: > > Loading development environment (Rails 2.2.2)>> Technoweenie::AttachmentFu::Processors.const_get("RmagickProcessor") > > => Technoweenie::AttachmentFu::Processors::RmagickProcessor > > > > Anyone have an idead of the root cause of this problem?--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yes, I installed the rmagick gem. The strange thing is the from the console it works. Any idea? On Dec 17, 9:22 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have you installed RMagick? > > -e > > On Dec 17, 9:51 am, mi <mauriziosime...-whZMOeQn8C0@public.gmane.org> wrote: > > > Using attachment_fu and ''Rmagick'' as processor I have the following > > error > > > Problems loading RmagickProcessor: no such file to load -- RMagick > > > ( the code is > > begin > > processor_mod > > Technoweenie::AttachmentFu::Processors.const_get("#{attachment_options > > [:processor].to_s.classify}Processor") > > include processor_mod unless included_modules.include? > > (processor_mod) > > rescue Object, Exception > > raise unless load_related_exception?($!) > > logger.debug("Problems loading #{options[:processor]} > > Processor: #{$!}") > > end > > ) > > > while no error if I try the following from the console: > > > Loading development environment (Rails 2.2.2)>> Technoweenie::AttachmentFu::Processors.const_get("RmagickProcessor") > > > => Technoweenie::AttachmentFu::Processors::RmagickProcessor > > > Anyone have an idead of the root cause of this problem?--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try using mini_magick.. see if it helps. Ramon Tayag On Thu, Dec 18, 2008 at 4:45 PM, mi <mauriziosimeoni-whZMOeQn8C0@public.gmane.org> wrote:> > Yes, I installed the rmagick gem. > > The strange thing is the from the console it works. > > Any idea? > > On Dec 17, 9:22 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Have you installed RMagick? >> >> -e >> >> On Dec 17, 9:51 am, mi <mauriziosime...-whZMOeQn8C0@public.gmane.org> wrote: >> >> > Using attachment_fu and ''Rmagick'' as processor I have the following >> > error >> >> > Problems loading RmagickProcessor: no such file to load -- RMagick >> >> > ( the code is >> > begin >> > processor_mod >> > Technoweenie::AttachmentFu::Processors.const_get("#{attachment_options >> > [:processor].to_s.classify}Processor") >> > include processor_mod unless included_modules.include? >> > (processor_mod) >> > rescue Object, Exception >> > raise unless load_related_exception?($!) >> > logger.debug("Problems loading #{options[:processor]} >> > Processor: #{$!}") >> > end >> > ) >> >> > while no error if I try the following from the console: >> >> > Loading development environment (Rails 2.2.2)>> Technoweenie::AttachmentFu::Processors.const_get("RmagickProcessor") >> >> > => Technoweenie::AttachmentFu::Processors::RmagickProcessor >> >> > Anyone have an idead of the root cause of this problem? > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---