Intern Track Roadmap

Development environment: macOS

This course sets up a macOS development environment for Ruby on Rails, one tool at a time. It explains what a development environment contains and why the Unix base of macOS matters. You install Homebrew, learn how Zsh and the PATH variable find commands, and install Ruby through rbenv instead of using system Ruby. You run PostgreSQL as a background service and configure VS Code with Ruby LSP. The last lesson creates a Rails app with rails new, sets up its databases and starts it with bin/dev.

What you'll learn

  • ✓Installing and using Homebrew formulae, casks and services
  • ✓How Zsh, PATH and ~/.zshrc control which commands run
  • ✓Managing Ruby versions with rbenv, shims and .ruby-version
  • ✓Running PostgreSQL with brew services and inspecting it with psql
  • ✓Configuring VS Code with Ruby LSP, settings and shortcuts for Rails
  • ✓Creating a Rails app and starting it with bin/setup and bin/dev
Free preview · Lesson 1 7 min read

What is a development environment?

You just got hired as a chef at a new restaurant. Day one, you walk in and the kitchen is completely empty: no stove, no knives, no fridge, no ingredients. You cannot cook a single dish until that kitchen is set up.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...