Created
November 13, 2008 22:59
-
-
Save javan/24675 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo port install ruby | |
| # Install rubygems 1.2.0 because the memcached gem requires it (macport installs 1.3.0) | |
| curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-1.2.0.tgz | |
| tar xzvf rubygems-1.2.0.tgz | |
| cd rubygems-1.2.0 | |
| sudo ruby setup.rb | |
| #memcached | |
| wget http://www.danga.com/memcached/dist/memcached-1.2.6.tar.gz | |
| tar xvfz memcach* | |
| cd memcach* | |
| ./configure | |
| make | |
| make install | |
| # 37signals memcache plugin | |
| wget http://download.tangent.org/libmemcached-0.22.tar.gz | |
| tar xvfz libmem* | |
| cd libmem* | |
| ./configure | |
| make | |
| make install | |
| # Install native mysql gem. These flags worked for me on my iMac 10.5.5 | |
| sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql config=/usr/local/mysql/bin/mysql_config | |
| # Install all the other gems you need | |
| sudo gem install rails hpricot --no-rdoc --no-ri | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment