mxcl/homebrew — Issue #8213: Rmagick works with RVM 1.8.7, but Not with RVM 1.9.2 under Lion
Author: vjavier
Created: 2011-10-21 02:52:47+00:00
State: open

Just setting up the development environment for new Macbook with Lion 10.7. I needed to make rmagick work with Rails 2 and ruby 1.8.7.

1. Install homebrew
2. Install ghostscript
3. install imagemagick
4. Install rvm
5. install 1.8.7 via rvm
6. install 1.9.2 via rvm

When using 1.9.2 and install rmagick, the gem is installed successfully, but when using 1.8.7, it does not work.

https://gist.github.com/1302988

After doing some googling, I found the article saying ruby 1.8.7 requires special version of imagemagick, so I tried to reinstall imagemagick using the

brew install https://github.com/adamv/homebrew-alt/raw/master/versions/imagemagick-ruby186.rb

but again, it failed.

https://gist.github.com/1302994

i have tried reinstalling homebrew and rvm many times, but consistently getting the same result.