Skip to content

Instantly share code, notes, and snippets.

@solnic
Created March 29, 2012 12:33
Show Gist options
  • Select an option

  • Save solnic/2237029 to your computer and use it in GitHub Desktop.

Select an option

Save solnic/2237029 to your computer and use it in GitHub Desktop.

Revisions

  1. solnic revised this gist Mar 29, 2012. No changes.
  2. solnic revised this gist Mar 29, 2012. No changes.
  3. solnic revised this gist Mar 29, 2012. 1 changed file with 3 additions and 4 deletions.
    7 changes: 3 additions & 4 deletions osx_rails_env_setup_in_6_steps.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    6 steps to set up a rails development environment on OS X:

    * install gcc pkg[1] from https://github.com/kennethreitz/osx-gcc-installer
    * install homebrew[2]:
    * install [Apple Command Line Tools](https://developer.apple.com/downloads/index.action)
    * install homebrew[1]:
    `/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"`
    * install rvm:
    `bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)`
    @@ -12,5 +12,4 @@
    * start a project
    `rails new myproject`

    [1] You only need that if you don't have XCode installed
    [2] Use `brew` command to install whatever database engine you need, ie `brew install sqlite`
    [1] Use `brew` command to install whatever database engine you need, ie `brew install sqlite`
  4. solnic revised this gist Mar 29, 2012. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions osx_rails_env_setup_in_6_steps.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    6 steps to set up a rails development environment on OS X:

    * install gcc pkg from https://github.com/kennethreitz/osx-gcc-installer
    * install homebrew[1]:
    * install gcc pkg[1] from https://github.com/kennethreitz/osx-gcc-installer
    * install homebrew[2]:
    `/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"`
    * install rvm:
    `bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)`
    @@ -12,4 +12,5 @@
    * start a project
    `rails new myproject`

    [1] Use `brew` command to install whatever database engine you need, ie `brew install sqlite`
    [1] You only need that if you don't have XCode installed
    [2] Use `brew` command to install whatever database engine you need, ie `brew install sqlite`
  5. solnic revised this gist Mar 29, 2012. 1 changed file with 10 additions and 5 deletions.
    15 changes: 10 additions & 5 deletions osx_rails_env_setup_in_6_steps.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,15 @@
    6 steps to set up a rails development environment on OS X:

    * install gcc pkg from https://github.com/kennethreitz/osx-gcc-installer
    * install homebrew[1]: `/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"`
    * install rvm `bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)`
    * install ruby `rvm install 1.9.3`
    * install rails `gem i rails`
    * start a project `rails new myproject`
    * install homebrew[1]:
    `/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"`
    * install rvm:
    `bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)`
    * install ruby
    `rvm install 1.9.3`
    * install rails
    `gem i rails`
    * start a project
    `rails new myproject`

    [1] Use `brew` command to install whatever database engine you need, ie `brew install sqlite`
  6. solnic created this gist Mar 29, 2012.
    10 changes: 10 additions & 0 deletions osx_rails_env_setup_in_6_steps.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    6 steps to set up a rails development environment on OS X:

    * install gcc pkg from https://github.com/kennethreitz/osx-gcc-installer
    * install homebrew[1]: `/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"`
    * install rvm `bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)`
    * install ruby `rvm install 1.9.3`
    * install rails `gem i rails`
    * start a project `rails new myproject`

    [1] Use `brew` command to install whatever database engine you need, ie `brew install sqlite`