Skip to content

Instantly share code, notes, and snippets.

@geoffgarside
Forked from mislav/gist:13809
Created October 11, 2008 17:14
Show Gist options
  • Save geoffgarside/16297 to your computer and use it in GitHub Desktop.
Save geoffgarside/16297 to your computer and use it in GitHub Desktop.
Xcode
http://developer.apple.com/technology/xcode.html
[OR]
Mac OS X install disc 2
GNU wget
http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
Git
http://code.google.com/p/git-osx-installer/
RubyGems
sudo gem update --system
MySQL
http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg
sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
PostgreSQL
http://www.postgresql.org/download/macosx
export PATH=/Library/PostgreSQL/8.3/bin:$PATH (IMPORTANT -- so apps can find pg_config)
gem install postgres
Sphinx
http://sphinxsearch.com/downloads.html
./configure --with-pgsql
GNU Aspell
http://aspell.net/
gem install raspell
Phusion Passenger (Apache module)
System Preferences -> Sharing -> enable Web Sharing
gem install passenger (follow instructions)
mate /etc/apache2/httpd.conf
http://github.com/alloy/passengerpane/tree/master
sudo apachectl graceful (after adding/changing each application entry)
Essential gems
gem install BlueCloth capistrano haml highline hpricot libxml-ruby mattetti-googlecharts mechanize merb
mislav-hanna mislav-will_paginate mocha mojombo-grit paperclip radiant rails rdoc RedCloth
rspactor rspec-rails ruby-debug ruby-openid schacon-git staticmatic thoughtbot-factory_girl wycats-thor ZenTest
CouchDB
Install Macports to keep your sanity
export PATH=$PATH:/opt/local/bin
export MANPATH=$MANPATH:/opt/local/share/man
export INFOPATH=$INFOPATH:/opt/local/share/info
port install icu erlang spidermonkey
svn co http://svn.eu.apache.org/repos/asf/incubator/couchdb/trunk CouchDB
sudo couchdb -> http://localhost:5984/_utils/
# sample .gemrc: github in sources + don't auto-generate docs
---
:verbose: true
gem: --no-ri --no-rdoc
:update_sources: true
:sources:
- http://gems.rubyforge.org
- http://gems.github.com
:backtrace: false
:bulk_threshold: 1000
:benchmark: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment