2014 mac重灌

2014 mac重灌 for ruby , rails 環境部份

  • osx update

  • xcode

  • xcode command line tool

    type " xcode-select —install” in console

  • oh-my-zsh

    curl -L github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

    .zshrc (ZSH_THEME="gallois")
    PROMPT='%m %{$fg[cyan]%}[%~% ]%(?.%{$fg[green]%}.%{$fg[red]%})%B$%b ‘

  • install Homebrew

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

  • brew install git

  • brew install wget

  • brew install imagemagick

  • brew install mysql (密碼設定要照後續畫面上的指示做)

  • brew install postgres redis imagemagick pkg-config

  • rvm

    curl -L https://get.rvm.io | bash -s stable

  • rvm install ruby-2.1.1

  • rvm rubygems current

  • echo "gem:--no-ri --no-rdoc" >> ~/.gemrc

  • curl get.pow.cx | sh

  • gem install powder

  • github ssh key 設定

    cd ~/.ssh (沒有這個目錄的話自己建)
    ssh-keygen -t rsa -C "[email protected]"
    會在~/.ssh下產生一個id_rsa.pub的檔案,內容就是ssh key了

  • vim

其它軟體部份

  • firefox (plugin :pocket, :firebug)
  • chrome (plugin :postman)
  • iwork 09’
  • evernote
  • open office
  • flowdock
  • line
  • Skype
  • sublime

基本上這樣就能工作了!

你可能感兴趣的:(2014 mac重灌)