Skip to content

Instantly share code, notes, and snippets.

@peelman
Forked from cdmwebs/ruby_setup.mkd
Last active October 11, 2015 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peelman/3823164 to your computer and use it in GitHub Desktop.
Save peelman/3823164 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 2.2.0
  5. rbenv global 2.2.0
  6. rbenv rehash
  7. gem install bundler rails

That should do it. You should have a working Ruby 2.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.

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