Skip to content

Instantly share code, notes, and snippets.

@dendisuhubdy
Forked from mcls/osx_setup.md
Created August 9, 2018 04:06
Show Gist options
  • Select an option

  • Save dendisuhubdy/03cec2d32a0762af6042d8f3306b2a43 to your computer and use it in GitHub Desktop.

Select an option

Save dendisuhubdy/03cec2d32a0762af6042d8f3306b2a43 to your computer and use it in GitHub Desktop.

Revisions

  1. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -59,6 +59,16 @@ Alfred is an award-winning productivity application for Mac OS X, which aims to

    http://www.alfredapp.com/

    ### Dash

    Awesome documentation browser.

    > Dash gives your Mac instant offline access to 150+ API documentation sets.
    https://itunes.apple.com/us/app/dash-docs-snippets/id458034879?mt=12

    http://kapeli.com/dash


    ### iTerm2

  2. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@ https://github.com/sstephenson/rbenv

    For faster gem install tell rubygems to ignore `ri` and `rdoc` creating a `~/.gemrc` with:

    install: --no-ri --no
    install: --no-ri --no-rdoc
    update: --no-ri --no-rdoc


  3. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -27,6 +27,8 @@ Install common tools:

    ### rbenv and ruby-build

    https://github.com/sstephenson/rbenv

    brew update
    brew install rbenv rbenv-gem-rehash ruby-build

  4. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    # Setup new Mac from scratch

    ## Install Xcode
    ### Install Xcode

    Installing Xcode and the command line tools need to be done first because it installs `gcc`.
    https://developer.apple.com/xcode/features/

    ## Homebrew
    ### Homebrew

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    @@ -21,11 +21,11 @@ Install common tools:
    brew install git vim tmux postgresql mysql tree


    ## Set shell to ZSH and install oh-my-zsh
    ### Set shell to ZSH and install oh-my-zsh

    curl -L http://install.ohmyz.sh | sh

    ## rbenv and ruby-build
    ### rbenv and ruby-build

    brew update
    brew install rbenv rbenv-gem-rehash ruby-build
    @@ -40,7 +40,7 @@ Install common tools:
    gem update --system
    gem install bundler rails --no-ri --no-rdoc

    ## Faster gem installs
    ### Faster gem installs

    For faster gem install tell rubygems to ignore `ri` and `rdoc` creating a `~/.gemrc` with:

  5. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 10 additions and 7 deletions.
    17 changes: 10 additions & 7 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -47,13 +47,6 @@ For faster gem install tell rubygems to ignore `ri` and `rdoc` creating a `~/.ge
    install: --no-ri --no
    update: --no-ri --no-rdoc

    ## Pow

    curl get.pow.cx | sh

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    http://pow.cx/


    ## Apps
    @@ -79,6 +72,16 @@ A nice color scheme.
    http://ethanschoonover.com/solarized


    ### Pow

    Pow is a zero-config Rack server for Mac OS X.

    curl get.pow.cx | sh

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    http://pow.cx/

    ### VLC

    VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.
  6. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 8 additions and 16 deletions.
    24 changes: 8 additions & 16 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -5,27 +5,25 @@
    Installing Xcode and the command line tools need to be done first because it installs `gcc`.
    https://developer.apple.com/xcode/features/




    ## Homebrew

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    Note that Xcode is a pre-req for Homebrew.

    http://brew.sh/
    https://github.com/Homebrew/homebrew/wiki/Installation

    https://github.com/Homebrew/homebrew/wiki/Installation

    ## Set shell to ZSH and install oh-my-zsh
    Install common tools:

    curl -L http://install.ohmyz.sh | sh
    brew update
    brew install git vim tmux postgresql mysql tree

    ## Git

    brew install git
    ## Set shell to ZSH and install oh-my-zsh

    Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.
    curl -L http://install.ohmyz.sh | sh

    ## rbenv and ruby-build

    @@ -39,6 +37,7 @@ Copy over your SSH Keys from your existing machine if you have them and want to

    echo 'eval "$(rbenv init -)"' >> ~/.zshrc
    source ~/.zshrc
    gem update --system
    gem install bundler rails --no-ri --no-rdoc

    ## Faster gem installs
    @@ -48,13 +47,6 @@ For faster gem install tell rubygems to ignore `ri` and `rdoc` creating a `~/.ge
    install: --no-ri --no
    update: --no-ri --no-rdoc



    ## Databases

    brew install postgresql mysql


    ## Pow

    curl get.pow.cx | sh
  7. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 31 additions and 14 deletions.
    45 changes: 31 additions & 14 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -5,13 +5,7 @@
    Installing Xcode and the command line tools need to be done first because it installs `gcc`.
    https://developer.apple.com/xcode/features/

    ## iTerm2
    A nice alternative to `Terminal.app`.
    http://www.iterm2.com/

    ## Solarized color scheme
    A nice color scheme.
    http://ethanschoonover.com/solarized


    ## Homebrew
    @@ -54,24 +48,47 @@ For faster gem install tell rubygems to ignore `ri` and `rdoc` creating a `~/.ge
    install: --no-ri --no
    update: --no-ri --no-rdoc



    ## Databases

    brew install postgresql mysql


    ## Pow

    curl get.pow.cx | sh

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    ## Databases
    http://pow.cx/

    brew install postgresql mysql

    ## Apps

    ### VLC
    VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.

    http://www.videolan.org/vlc/index.html

    ### Alfred

    Alfred is an award-winning productivity application for Mac OS X, which aims to save you time in searching your local computer and the web.

    http://www.alfredapp.com/
    http://www.alfredapp.com/


    ### iTerm2

    A nice alternative to `Terminal.app`.

    http://www.iterm2.com/


    ### Solarized color scheme

    A nice color scheme.

    http://ethanschoonover.com/solarized


    ### VLC

    VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.

    http://www.videolan.org/vlc/index.html
  8. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Setup new Mac with Mavericks from scratch
    # Setup new Mac from scratch

    ## Install Xcode

  9. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -38,12 +38,10 @@ Copy over your SSH Keys from your existing machine if you have them and want to
    brew update
    brew install rbenv rbenv-gem-rehash ruby-build


    # Install ruby 2.1.2
    rbenv install 2.1.2
    rbenv global 2.1.2
    rbenv rehash


    echo 'eval "$(rbenv init -)"' >> ~/.zshrc
    source ~/.zshrc
  10. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 18 additions and 5 deletions.
    23 changes: 18 additions & 5 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -20,13 +20,15 @@ http://ethanschoonover.com/solarized

    Note that Xcode is a pre-req for Homebrew.
    http://brew.sh/
    https://github.com/Homebrew/homebrew/wiki/Installation


    ## Set shell to ZSH and install oh-my-zsh
    brew install wget
    wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
    restart iTerm2

    curl -L http://install.ohmyz.sh | sh

    ## Git

    brew install git

    Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.
    @@ -35,16 +37,27 @@ Copy over your SSH Keys from your existing machine if you have them and want to

    brew update
    brew install rbenv rbenv-gem-rehash ruby-build


    # Install ruby 2.1.2
    rbenv install 2.1.2
    rbenv global 2.1.2
    rbenv rehash

    ## .zshrc


    echo 'eval "$(rbenv init -)"' >> ~/.zshrc
    source ~/.zshrc
    gem install bundler rails --no-ri --no-rdoc

    ## Faster gem installs

    For faster gem install tell rubygems to ignore `ri` and `rdoc` creating a `~/.gemrc` with:

    install: --no-ri --no
    update: --no-ri --no-rdoc

    ## Pow

    curl get.pow.cx | sh

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache
  11. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ http://ethanschoonover.com/solarized

    ## Homebrew

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

    Note that Xcode is a pre-req for Homebrew.
    http://brew.sh/
  12. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,8 @@ http://ethanschoonover.com/solarized

    ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

    Note that Xcode is a pre-req for Homebrew
    http://mxcl.github.com/homebrew/
    Note that Xcode is a pre-req for Homebrew.
    http://brew.sh/

    ## Set shell to ZSH and install oh-my-zsh
    brew install wget
  13. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 8 additions and 4 deletions.
    12 changes: 8 additions & 4 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -5,17 +5,21 @@
    Installing Xcode and the command line tools need to be done first because it installs `gcc`.
    https://developer.apple.com/xcode/features/

    ## iTerm2 http://www.iterm2.com/
    ## iTerm2
    A nice alternative to `Terminal.app`.
    http://www.iterm2.com/

    ## Solarized color scheme http://ethanschoonover.com/solarized
    I feel there is an advantage in setting all your dev apps to use a consistent color scheme, especially your terminal and text editor/dev environment.
    ## Solarized color scheme
    A nice color scheme.
    http://ethanschoonover.com/solarized


    ## Homebrew http://mxcl.github.com/homebrew/
    ## Homebrew

    ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

    Note that Xcode is a pre-req for Homebrew
    http://mxcl.github.com/homebrew/

    ## Set shell to ZSH and install oh-my-zsh
    brew install wget
  14. @mcls mcls revised this gist Sep 14, 2014. 1 changed file with 15 additions and 31 deletions.
    46 changes: 15 additions & 31 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,12 @@
    # Setup new Mac with Mountain Lion from scratch
    # Setup new Mac with Mavericks from scratch

    These commands are good as of 2011-07-27.
    ## Install Xcode


    ## Install xcode 4
    App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12)
    The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
    Installing Xcode and the command line tools need to be done first because it installs `gcc`.
    https://developer.apple.com/xcode/features/

    ## iTerm2 http://www.iterm2.com/
    Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.
    A nice alternative to `Terminal.app`.

    ## Solarized color scheme http://ethanschoonover.com/solarized
    I feel there is an advantage in setting all your dev apps to use a consistent color scheme, especially your terminal and text editor/dev environment.
    @@ -26,44 +24,30 @@ restart iTerm2

    ## Git
    brew install git
    http://help.github.com/mac-set-up-git/

    Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.

    ## RVM: https://rvm.io/rvm/install/

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

    If you're having problems compiling ruby on Mountain Lion then check [this gist](https://gist.github.com/zenkay/3237860).
    Summary = run the following command before the command above:
    ## rbenv and ruby-build

    brew tap homebrew/dupes
    brew install apple-gcc42
    brew update
    brew install rbenv rbenv-gem-rehash ruby-build
    # Install ruby 2.1.2
    rbenv install 2.1.2
    rbenv global 2.1.2
    rbenv rehash

    ## .zshrc
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
    Start new shell session

    ## Install ruby
    rvm install 1.9.3
    rvm notes
    See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
    Create a .gemrc file and add the line
    gem: --no-ri --no-rdoc

    rvm --default 1.9.3
    rvmsudo gem install bundler
    rvmsudo gem install rails
    echo 'eval "$(rbenv init -)"' >> ~/.zshrc

    ## Pow
    curl get.pow.cx | sh

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    ## MySQL
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/
    ## Databases

    Or use `brew install mysql`
    brew install postgresql mysql

    ## Apps

  15. @mcls mcls revised this gist Feb 14, 2013. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -33,6 +33,12 @@ Copy over your SSH Keys from your existing machine if you have them and want to
    ## RVM: https://rvm.io/rvm/install/

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

    If you're having problems compiling ruby on Mountain Lion then check [this gist](https://gist.github.com/zenkay/3237860).
    Summary = run the following command before the command above:

    brew tap homebrew/dupes
    brew install apple-gcc42

    ## .zshrc
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
  16. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -67,5 +67,6 @@ VLC is a free and open source cross-platform multimedia player and framework tha
    http://www.videolan.org/vlc/index.html

    ### Alfred
    Alfred is an award-winning productivity application for Mac OS X, which aims to save you time in searching your local computer and the web.

    http://www.alfredapp.com/
  17. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -54,7 +54,7 @@ Create a .gemrc file and add the line

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    ## mysql
    ## MySQL
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/

    Or use `brew install mysql`
  18. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -59,7 +59,13 @@ Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mys

    Or use `brew install mysql`

    ## VLC
    ## Apps

    ### VLC
    VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.

    http://www.videolan.org/vlc/index.html
    http://www.videolan.org/vlc/index.html

    ### Alfred

    http://www.alfredapp.com/
  19. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -54,10 +54,12 @@ Create a .gemrc file and add the line

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    ### mysql
    ## mysql
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/

    ### VLC
    Or use `brew install mysql`

    ## VLC
    VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.

    http://www.videolan.org/vlc/index.html
  20. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 7 additions and 4 deletions.
    11 changes: 7 additions & 4 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -31,13 +31,14 @@ http://help.github.com/mac-set-up-git/
    Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.

    ## RVM: https://rvm.io/rvm/install/
    \curl -L https://get.rvm.io | bash -s stable --ruby

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

    ### .zshrc
    ## .zshrc
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
    Start new shell session

    ### Install ruby
    ## Install ruby
    rvm install 1.9.3
    rvm notes
    See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
    @@ -48,9 +49,11 @@ Create a .gemrc file and add the line
    rvmsudo gem install bundler
    rvmsudo gem install rails

    ### Pow
    ## Pow
    curl get.pow.cx | sh

    To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

    ### mysql
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/

  21. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -24,8 +24,7 @@ Note that Xcode is a pre-req for Homebrew
    wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
    restart iTerm2

    ## SCM
    ### Git
    ## Git
    brew install git
    http://help.github.com/mac-set-up-git/

  22. @mcls mcls revised this gist Oct 25, 2012. 1 changed file with 9 additions and 4 deletions.
    13 changes: 9 additions & 4 deletions osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -38,7 +38,7 @@ Copy over your SSH Keys from your existing machine if you have them and want to
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
    Start new shell session

    #### Install ruby
    ### Install ruby
    rvm install 1.9.3
    rvm notes
    See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
    @@ -49,8 +49,13 @@ Create a .gemrc file and add the line
    rvmsudo gem install bundler
    rvmsudo gem install rails

    #### Pow
    ### Pow
    curl get.pow.cx | sh

    #### mysql
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/
    ### mysql
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/

    ### VLC
    VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.

    http://www.videolan.org/vlc/index.html
  23. @mcls mcls revised this gist Oct 11, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ I feel there is an advantage in setting all your dev apps to use a consistent co

    ## Homebrew http://mxcl.github.com/homebrew/

    /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
    ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
    Note that Xcode is a pre-req for Homebrew

    ## Set shell to ZSH and install oh-my-zsh
  24. @mcls mcls renamed this gist Oct 11, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions osx_lion_rail_setup.md → osx_setup.md
    Original file line number Diff line number Diff line change
    @@ -31,8 +31,8 @@ http://help.github.com/mac-set-up-git/

    Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.

    ## RVM: http://rvm.beginrescueend.com/rvm/install/
    bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
    ## RVM: https://rvm.io/rvm/install/
    \curl -L https://get.rvm.io | bash -s stable --ruby

    ### .zshrc
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
  25. @mcls mcls revised this gist Oct 11, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_lion_rail_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Setup new Mac with OSX Lion from scratch
    # Setup new Mac with Mountain Lion from scratch

    These commands are good as of 2011-07-27.

  26. @mcls mcls revised this gist Oct 11, 2012. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions osx_lion_rail_setup.md
    Original file line number Diff line number Diff line change
    @@ -40,13 +40,12 @@ Start new shell session

    #### Install ruby
    rvm install 1.9.3
    rvm install 1.8.7
    rvm notes
    See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
    Create a .gemrc file and add the line
    gem: --no-ri --no-rdoc

    rvm --default 1.8.7
    rvm --default 1.9.3
    rvmsudo gem install bundler
    rvmsudo gem install rails

  27. @mcls mcls revised this gist Jul 15, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion osx_lion_rail_setup.md
    Original file line number Diff line number Diff line change
    @@ -39,7 +39,7 @@ Copy over your SSH Keys from your existing machine if you have them and want to
    Start new shell session

    #### Install ruby
    rvm install 1.9.2
    rvm install 1.9.3
    rvm install 1.8.7
    rvm notes
    See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
  28. @mcls mcls revised this gist Jul 15, 2012. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions osx_lion_rail_setup.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,8 @@ I feel there is an advantage in setting all your dev apps to use a consistent co


    ## Homebrew http://mxcl.github.com/homebrew/
    ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

    /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
    Note that Xcode is a pre-req for Homebrew

    ## Set shell to ZSH and install oh-my-zsh
    @@ -53,4 +54,4 @@ Create a .gemrc file and add the line
    curl get.pow.cx | sh

    #### mysql
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/
  29. @jpantuso jpantuso created this gist Jul 27, 2011.
    56 changes: 56 additions & 0 deletions osx_lion_rail_setup.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@
    # Setup new Mac with OSX Lion from scratch

    These commands are good as of 2011-07-27.


    ## Install xcode 4
    App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12)
    The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.

    ## iTerm2 http://www.iterm2.com/
    Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.

    ## Solarized color scheme http://ethanschoonover.com/solarized
    I feel there is an advantage in setting all your dev apps to use a consistent color scheme, especially your terminal and text editor/dev environment.


    ## Homebrew http://mxcl.github.com/homebrew/
    ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
    Note that Xcode is a pre-req for Homebrew

    ## Set shell to ZSH and install oh-my-zsh
    brew install wget
    wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
    restart iTerm2

    ## SCM
    ### Git
    brew install git
    http://help.github.com/mac-set-up-git/

    Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.

    ## RVM: http://rvm.beginrescueend.com/rvm/install/
    bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

    ### .zshrc
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
    Start new shell session

    #### Install ruby
    rvm install 1.9.2
    rvm install 1.8.7
    rvm notes
    See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
    Create a .gemrc file and add the line
    gem: --no-ri --no-rdoc

    rvm --default 1.8.7
    rvmsudo gem install bundler
    rvmsudo gem install rails

    #### Pow
    curl get.pow.cx | sh

    #### mysql
    Get a DMG based and pre-compiled install from http://www.mysql.com/downloads/mysql/