If you can live with only image resizing and thumbnailing, I highly recommend ditching any of the *magick libraries and suggest going with ImageScience. Far less suck than any of its predecessors.
http://seattlerb.rubyforge.org/ImageScience.html On Oct 2, 2008, at 2:59 PM, Rob Kaufman wrote: > Hi Kris, > The only (and I really mean only) way I've ever gotten consitant > success to via Macports. I do the following: > > sudo port selfupdate > sudo port install ruby > sudo port install rb-rubygems > sudo port install graphicsmagick # like imagemagick, but newer and > with less suck > > #Gems via Ruby gems > sudo gem install rmagick > > > Note that if you move to macports Ruby from the OS X distrubuted > Ruby, you get to reinstall all your gems... but frankly I feel like > its worth it. > > Best of Luck, > Rob > > On Thu, Oct 2, 2008 at 1:25 PM, kris <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm working on setting up a local dev environment for a rails app that > uses ImageMagick & the RMagick ruby gem. The rails app was originally > developed on a windows machine, but I'm using Mac OS X 10.5 > (Leopard). Now, I'm sort of a rookie when it comes to programming (I > focus primarily on layout, i.e. CSS & HTML), but I'm pretty sure the > problem is that ImageMagick isn't installed properly and/or RMagick > isn't installed/compiling properly. > > Judging from what I've found online, lots of people have had to > wrestle w/ the same issue. I've tried following instructions from > http://rmagick.rubyforge.org/install-faq.html and I've also tried > installing everything using MacPorts. Thus far all I've got to show > for it is a bloody patch on the wall where I've been banging my head > against it for the past few days. > > Have any of you had problems getting ImageMagick & RMagick to run on > Mac OS X? If so, any chance you can point me in the right direction? > > Here's the error that I get whenever I call a part of the app that > uses Rmagick: > > Failed to load /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.7.0/lib/ > RMagick2.bundle > > /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.7.0/lib/RMagick2.bundle > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:509:in `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:354:in `new_constants_in' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:509:in `require' > /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.7.0/lib/RMagick.rb:11 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `gem_original_require' > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:509:in `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:354:in `new_constants_in' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/ > active_support/dependencies.rb:509:in `require' > app/controllers/quiz_controller.rb:1 > > > > > > > --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
