Last active
August 29, 2015 14:07
-
-
Save tonytonyjan/ede3a896700bf48f769a to your computer and use it in GitHub Desktop.
OSX Rails 環境配置懶人包
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
#!/usr/bin/env bash | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install caskroom/cask/brew-cask rbenv ruby-build | |
brew tap caskroom/versions | |
brew cask instal iterm2 sublime-text3 | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
source ~/.bash_profile | |
rbenv install 2.1.3 | |
rbenv global 2.1.3 | |
gem update --system | |
gem install rails | |
rbenv rehash rails |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment