Skip to content

Instantly share code, notes, and snippets.

@cdmwebs
Created February 7, 2012 21:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cdmwebs/1762126 to your computer and use it in GitHub Desktop.
Save cdmwebs/1762126 to your computer and use it in GitHub Desktop.

Ruby Global Setup

  1. Install homebrew.
  2. brew install rbenv ruby-build
  3. echo 'eval "$(rbenv init -)"' >> $HOME/.bash_profile
  4. rbenv install 1.9.2-p290
  5. rbenv global 1.9.2-p290
  6. rbenv rehash
  7. gem install bundler rails

That should do it. You should have a working Ruby 1.9.2 with latest bundler and rails gems installed.

Rails Quickstart

rails new my-new-app
cd my-new-app
rails server

Congratulations! You have a new, empty app using SQLite. No more pushing to test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment