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