I''m having an odd problem with RMagick. Consider the following script:
############################################################
require ''rubygems''
require ''RMagick''
Magick::ImageList.new(''granite:'').display
############################################################
Under Linux (Debian in particular), this works fine and displays the
builtin granite tile. Under OS X, I get the following error:
RMagick reading ["granite:"]
/sw/lib/site_ruby/gems/gems/rmagick-1.13.0/lib/RMagick.rb:1523:in
`read'': UnableToOpenConfigureFile (Magick::ImageMagickError)
from /sw/lib/site_ruby/gems/gems/rmagick-1.13.0/lib/RMagick.rb:1523:in
`initialize''
from /sw/lib/site_ruby/gems/gems/rmagick-1.13.0/lib/RMagick.rb:1522:in
`initialize''
from /tmp/foo.rb:4
Under both Linux and OS X running "display granite:" on the
commandline
works perfectly.
I have Ruby and ImageMagick installed on OS X using Fink. Does anyone have
any insight into this?
--Greg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---