This post is mostly for myself, but the easiest way to install RMagick is to download the script from:
http://onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard
and to execute it by entering into terminal
sudo sh rmagick-build.sh
If you get errors related to “jpeg” or “jpg” then make sure you don’t have the macports library installed:
sudo port uninstall jpeg
Then run this install script for only installing image magick and all of its dependencies:
http://github.com/masterkain/ImageMagick-sl
After that install RMagick, and you should be good to go
sudo gem install rmagick
<hr />
To install MySql from source you need to follow these instructions:
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
Note: some of the version numbers don’t line up, but that’s an easy fix…just means you can’t copy and paste. Then you’ll probably want mysql admin:
then to get mysql admin to work with OS-X, we need to make sure mysql is running and to set the default configurations in a new terminal window type:
mysqladmin -u root password "mypassword"
Where “mypassword” needs to be replaced with your actual password. Once done you can launch mysqladmin from your application directory and connect to it using these settings:
Servername: localhost
Username: root
Password: mypassword

Now you can then create new tables by going to “catalogs” and selecting the “+” button under schemata. Type in the name of your database and you’re good to go!
You can change your password in terminal any time by typing:
mysqladmin -u root -p'mypassword' password "mynewpassword"
Note: there is no space between the -p and ‘mypassword‘
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.