It seemed like a simple task, install imageMagick, but the ramifications were far from simple. I’ll be honest, I’m not sure where exactly I went wrong, so bear with me as I walk you threw what happened to me and how I fixed it.
- I installed ImageMagick (it takes forever by the way)
- I went back into my project (a Rails 3 spree site) and it threw a postgres error
- I went into some other projects (all Rails 2.x) and also got prostgres errors
- After some researching I found info that suggested using the postgres-pr gem instead of pg, this fixed the Rails 2.x projects but not my Rails 3 project.
- I took a break from dealing with this issue and decided to make a quick change to one of the Rails 2.x projects, when i went to commit, i got a git error
git dyld: Library not loaded
- A teammate had seen this error before and suggested I update MacPorts
sudo port -d selfupdate
- This again took forever, but once it was done, git was back to working and I was able to get my Rails 3 project up and running using the pg gem!
- After restarting my computer postgresql server wouldn’t start. I had to reset the service that auto starts postgres server
sudo launchctl load -w /Library/LaunchDaemons/org.macports.postgresql83-server.plist
and restart and I was back to good.
Advertisement
