Created
November 16, 2010 10:03
-
-
Save csshsh/701647 to your computer and use it in GitHub Desktop.
This file contains 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
# Install XCode | |
# Install Homebrew | |
ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)" | |
brew install git | |
brew update | |
brew upgrade | |
# RVM | |
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile | |
# Close Terminal window. | |
rvm install 1.8.7 | |
rvm install 1.9.2 | |
rvm 1.8.7 --default | |
# Passenger | |
gem install passenger | |
rvmsudo passenger-install-apache2-module | |
# Follow instructions. | |
# Replace "PassengerRuby" line with "PassengerRuby /Users/[user]/.rvm/bin/passenger_ruby". | |
rvm 1.8.7 --passenger | |
sudo apachectl restart | |
# MySQL | |
brew install mysql | |
mysql_install_db | |
cp /usr/local/Cellar/mysql/5.1.49/com.mysql.mysqld.plist ~/Library/LaunchAgents | |
mysql.server start | |
mysql_secure_installation | |
# Follow instructions. | |
# SSH Key | |
ssh-keygen -t rsa -C "tekkub@gmail.com" | |
# Passenger PrefPane | |
https://github.com/alloy/passengerpane | |
gem install bundler | |
brew install imagemagick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment