Last active
August 29, 2015 14:08
-
-
Save shimoju/74947a3e306256785271 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
#!/bin/bash | |
# /usr/localをPATHに追加 | |
echo 'export PATH="/usr/local/bin:/usr/local/sbin:$PATH"' >> ~/.bash_profile | |
source ~/.bash_profile | |
# Command line toolsをインストール | |
xcode-select --install | |
# Homebrewをインストール | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
# HomebrewでRubyをインストール | |
brew update && brew upgrade && brew cleanup | |
brew install ruby readline openssl libyaml | |
# ドキュメントをインストールしない | |
echo -e 'install: --no-document\nupdate: --no-document' > ~/.gemrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment