Browse setups Rails

Rails for Mac

Ruby, Node, and local databases for Rails development.

Rails prerequisites

$(...) captures the download in script. && runs Bash only if the download succeeds. Nothing runs while the download is in progress.

The outer parentheses keep that variable out of your current shell. This does not verify the downloaded code; use Download before running to inspect it first.

Copy command Open Terminal Paste Run
  1. Copy command Review, then click Copy.
  2. Open Terminal Command + Space to open Spotlight Type Terminal, then Return
  3. Paste Command + V
  4. Run Return Follow the prompts.
(script="$(curl -fsSL https://maci.sh/install/rails.sh)" && /bin/bash -c "$script")

Included

  • Xcode CLT
  • Homebrew
  • Git
  • mise
  • Ruby 3.3
  • Node 22
  • PostgreSQL 16
  • Redis
  • Chrome
  • VS Code
Download before running

This command downloads the script for inspection. It does not run the installer.

curl -fsSL https://maci.sh/install/rails.sh -o macish-rails.sh

After reviewing the file, run it separately:

bash macish-rails.sh

Sets Ruby and Node as global mise runtimes and starts PostgreSQL and Redis.

This preset installs the prerequisites. The Rails gem is not included.