Skip to content

Instantly share code, notes, and snippets.

@daviddarnes
Last active May 28, 2017 19:35
Show Gist options
  • Save daviddarnes/5e1a1bcc45096b5fafd6 to your computer and use it in GitHub Desktop.
Save daviddarnes/5e1a1bcc45096b5fafd6 to your computer and use it in GitHub Desktop.
Command line setup for new machine
  1. Install oh my zsh

  2. Install brew

  3. Install with brew install rbenv

  4. Setup rbenv

  • touch ~/.zshrc
  • open ~/.zshrc
export RBENV_ROOT=/usr/local/var/rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
source $ZSH/oh-my-zsh.sh
  1. Install a desired version of ruby rbenv install 2.4.0 for example

  2. rbenv rehash

  3. Check path with which ruby and which gems

  4. Setup git

@daviddarnes
Copy link
Author

  1. should probably say which gem ?

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