Skip to content

Instantly share code, notes, and snippets.

@LuckOfWise
Created October 5, 2012 07:24
Show Gist options
  • Save LuckOfWise/3838542 to your computer and use it in GitHub Desktop.
Save LuckOfWise/3838542 to your computer and use it in GitHub Desktop.
会社に新しいMBAが届いたので開発環境構築メモ ref: http://qiita.com/items/e8eb14e3a3ee71b4f3c0
sudo mkdir /usr/local
sudo chown -R (ログインユーザー) /usr/local
cd /usr/local
ln -s /usr/local/homebrew/bin/brew /usr/local/bin/brew
cd .
vi .bash_profile
export PATH=/usr/local/bin:$PATH
export PS1="¥u ¥W $ "
brew update
brew doctor
brew install imagemagick
brew install qt
brew install postgresql
initdb --encoding=UTF8 --no-locale /usr/local/var/postgres
vi ~/.bash_profile
PATH=$HOME/.rvm/bin:/usr/local/bin:$PATH
pg_ctl -D /usr/local/var/postgres -l logfile start
pg_ctl -D /usr/local/var/postgres -l logfile stop
rvm install-1.9.2-p290
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment