- Mac OS X 10.7.2
- Homebrew 0.8.1
- Apple Command Line Tools
- ZSH
- Git 1.7.5.4
- RVM 1.10.1
- Ruby 1.9.3
- Passenger 3.0.11
- MySQL 5.5.15
- ImageMagick 6.7.1-1
curl https://raw.github.com/gist/606100 > ~/.profile
curl https://raw.github.com/gist/606087 > ~/.bashrc
curl https://raw.github.com/gist/606102 > ~/.bash_profile
curl https://raw.github.com/gist/606107 > ~/.gitignore
curl https://raw.github.com/gist/606105 > ~/.rvmrc
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
Download Apple's Command Line Tools
Login here
Search for "Command Line Tools"
my /usr/share/terminfo dir was somehow corrupted, throwing this
error "Error opening terminal: xterm-256color" when I opened the terminal
Replacing the current terminfo dir with this repo fixed it.
You'll have to do it a few times to get back up to speed.
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
curl https://raw.github.com/gist/1618992 > ~/.zshrc
brew install git
brew update
brew upgrade
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
rvm install 1.9.3
rvm 1.9.3 --default
ruby -v
rvm gemset use global
gem install passenger
passenger-install-apache2-module
sudo apachectl restart
brew install mysql
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
__This will start MYSQL on boot__
cp /usr/local/Cellar/mysql/#{whatever-version}/com.mysql.mysqld.plist /Library/LaunchDaemons
launchctl load /Library/LaunchDaemons/com.mysql.mysqld.plist
launchctl list | grep mysql
mysql.server start
brew install imagemagick