Installation/Mac OS/Snow Leopard

From diaspora* project wiki
Jump to: navigation, search
»» Out of date
This page's accuracy may be compromised due to out-of-date information.
Please help improve the page by updating it. There may be additional information on the talk page.

»» Note
This guide still needs to be rewritten for the new installation guides form


These instructions are for Mac OS X 10.6 (Snow Leopard), and will need quite a few corrections for the "bottles" the latest brew downloads on 10.8 Mountain Lion.

Package Management

Install Homebrew and then come back here.

Build Tools

To install build tools, you need to download and install Xcode. It's a large download; it also comes on your OS X DVD.


To install MySQL, run the following:

brew install mysql

Set it up to run as your user:

unset TMPDIR
sudo mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp

Add it to launchctl so it will start automatically:

mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/mysql/5.6.15/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

Now mysql is running, and you have a user named root with no password.


To install ImageMagick, run the following:

brew install imagemagick


To install Git, run the following:

brew install git


To install Redis, run the following:

brew install redis


RubyGems comes preinstalled. However, you might need to update it for use with the latest Bundler. To update RubyGems, run

sudo gem update --system


To install Bundler, run the following:

sudo gem install bundler

Congrats! You have all your dependencies installed. Go back to Notes On Installing and Running Diaspora.