Skip to content

Instantly share code, notes, and snippets.

@jsmestad
Forked from atmos/init.sh
Created May 21, 2010 05:41
Show Gist options
  • Save jsmestad/408506 to your computer and use it in GitHub Desktop.
Save jsmestad/408506 to your computer and use it in GitHub Desktop.
% curl http://gist.github.com/raw/323731/25f99360c7de3f72027d8fd07cb369b1c8756ea6/install_homebrew.rb > install_homebrew.rb
% ruby install_homebrew.rb
% rm install_homebrew.rb
% echo "PATH=/usr/local/bin:\$PATH" >> ~/.profile
% source ~/.profile
% echo $PATH
% brew update
% brew install git
% brew search mysql
% brew install mysql
% cp /usr/local/Cellar/mysql/5.1.45/com.mysql.mysqld.plist ~/Library/LaunchAgents
% launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
% /usr/local/Cellar/mysql/5.1.45/bin/mysql_install_db
% ps auwwx | grep my
% brew install postgresql
% initdb /usr/local/var/postgres
% launchctl load -w /usr/local/Cellar/postgresql/8.4.3/org.postgresql.postgres.plist
% ps auwwx | grep post
% brew install node
% brew install kiwi
% brew install ack
% brew install sqlite
% brew install hub
% sudo gem install rvm
% rvm-install
% echo "if [[ -s /Users/atmos/.rvm/scripts/rvm ]] ; then source /Users/atmos/.rvm/scripts/rvm ; fi" >> ~/.profile
% source ~/.profile
% rvm install 1.8.6-p287
% vim /Users/atmos/.rvm/src/ruby-1.8.6-p287/ext/openssl/openssl_missing.h # fixup compilation errors on lines 122 and 123
% rvm install 1.8.6-p287
% rvm use 1.8.6-p287
% echo "rvm use 1.8.6-p287" >> ~/.profile
% which gem
% gem install bundler
% git clone git://github.com/atmos/hancock.git
% cd hancock/
% bundle install
% bundle exec rake
% wget http://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment