Macbook rebuild part four

ImageMagick now works fine thanks to the instructions noted in part three. Hurrah. I just added all of the export statements to my .bash_profile file, and all was well. If you don’t have a .bash_profile file, then create one, but be sure to have it start with the ‘.’ or it won’t work. That’s a relief.

MySQL was a non-event. It’s now so trivial. This is a big relief. It’s even easier than described by Paul Sturgess in his blog post on doing Rails and MySQL on a Mac. Now all you need to do is grab the dmg file from MySQL for MySQL 5.1.x and all works as it should. Nothing hung, or didn’t work. What a joy. Then open up the .bash_profile file, and the path to the bin direcrtory for mysql and you’re done. 

So now my complete .bash_profile file looks like this:

export PATH=”$PATH:/usr/local/mysql/bin”

export MAGICK_HOME=”/Applications/ImageMagick-6.4.8″

export PATH=”$PATH:$MAGICK_HOME/bin”

export DYLD_LIBRARY_PATH=”$MAGICK_HOME/lib”

So that covers the main things for Rails development. Onto Java in the next one.

Leave a Reply

Your email address will not be published. Required fields are marked *