Upgraded my ruby environment today to Mountain Lion.
Quick checklist:
References:
https://github.com/mroth/lolcommits/issues/65
Here is a quick checklist that I went through to get everything working. The largest change was having to reinstall XCode and command line tools, and also download XQuarts in order to reinstall ImageMagick successfully. Without it, I was getting errors building RMagick of the following shape:
ld: file not found: /usr/lib/libltdl.7.dylib for architecture x86_64clang:
error: linker command failed with exit code 1
(use -v to see invocation)make: *** [RMagick2.bundle] Error 1
error: linker command failed with exit code 1
(use -v to see invocation)make: *** [RMagick2.bundle] Error 1
Quick checklist:
- Install Mountain Lion
- Install XCode 4.4
- Install command line tools from XCode 4.4 Preferences dialog
- Install XQuartz
- In terminal run
- brew update
- brew uninstall imagemagick
- brew install --fresh imagemagick
- wipe out your ~/.rvm folder
- reinstall RVM and install the latest ruby 1.9.3-p-194
- run "bundle" in the project folder
- run "rake" and rejoice
References:
https://github.com/mroth/lolcommits/issues/65
Comments
brew install libtool --universal
brew link libtool --force
As it might save you a few mins...