Skip to content

Instantly share code, notes, and snippets.

@leeky
Created April 18, 2010 23:40
Show Gist options
  • Save leeky/370619 to your computer and use it in GitHub Desktop.
Save leeky/370619 to your computer and use it in GitHub Desktop.
RVM with Snow Leopard
# From: http://afreshcup.com/home/2009/9/2/migrating-to-snow-leopard-for-rails-development-a-definitive.html
sudo gem install rvm
rvm-install
rvm install 1.8.6 -C --enable-shared,--with-readline-dir=/usr/local
rvm install 1.8.7 -C --enable-shared,--with-readline-dir=/usr/local
rvm install 1.9.1 -C --enable-shared,--with-readline-dir=/usr/local
rvm install 1.9.2 -C --enable-shared,--with-readline-dir=/usr/local
rvm 1.8.7 --default
# MySQL gem
env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
# Imagemagick
git clone git://github.com/maddox/magick-installer.git
cd magick-installer/
./magick-installer.sh
# Memcached
wget http://www.monkey.org/~provos/libevent-1.4.12-stable.tar.gz
tar xvzf libevent-1.4.12-stable.tar.gz
cd libevent-1.4.12-stable
./configure
make
make install
wget http://memcached.googlecode.com/files/memcached-1.4.1.tar.gz
tar xvzf memcached-1.4.1.tar.gz
cd memcached-1.4.1
./configure
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment