The easiest way to install RMagick is to download the script from:
http://onrails.org/2009/09/04/rmagick-from-source-on-snow-leopard.html
and to execute it by entering into terminal
1 |
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:
1 2 |
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
1 |
sudo gem install rmagick |
<hr />
To install MySql from source you need to follow these instructions:
1 |
<a href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/" target="_blank">http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/</a> |
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:
1 |
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:
1 |
Servername: localhost |
1 |
Username: root |
1 |
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:
1 |
mysqladmin -u root -p'mypassword' password "mynewpassword" |
Note: there is no space between the -p and ‘mypassword‘