Skip to content

Instantly share code, notes, and snippets.

@rr1000
Created December 21, 2021 18:03
Show Gist options
  • Save rr1000/b2118f086eb36d2de82b62cb3f8f9f51 to your computer and use it in GitHub Desktop.
Save rr1000/b2118f086eb36d2de82b62cb3f8f9f51 to your computer and use it in GitHub Desktop.
ryanrich@rrich-2 ~ % /bin/bash -c "$(curl -fsSL https://rails.new/✨)"
β–ˆβ–„β–„β€ƒβ–ˆβ–‘β–ˆβ€ƒβ–ˆβ–‘β–‘β€ƒβ–ˆβ–‘β–‘β€ƒβ–ˆβ–€β–€β€ƒβ–€β–ˆβ–€β€ƒ β€ƒβ–€β–ˆβ–€β€ƒβ–ˆβ–€β–ˆβ€ƒβ–„β–€β–ˆβ€ƒβ–ˆβ€ƒβ–ˆβ–„β–‘β–ˆ
β–ˆβ–„β–ˆβ€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–ˆβ–„β€ƒβ–‘β–ˆβ–‘β€ƒ β€ƒβ–‘β–ˆβ–‘β€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ€ƒβ–ˆβ–‘β–€β–ˆ
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–€β€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–„β–‘β–ˆβ€ƒβ–€β–ˆβ–€β€ƒβ–ˆβ–€
β–ˆβ–€β–€β€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–ˆβ–„β€ƒβ–„β–ˆβ€ƒβ–ˆβ–ˆβ–„β€ƒβ–ˆβ–‘β–€β–ˆβ€ƒβ–‘β–ˆβ–‘β€ƒβ–„β–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•—β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•”β•β•β•β•β•β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•—β–‘β–‘β–ˆβ–ˆβ•‘
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–‘β–‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–‘β–‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β–‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–‘β–‘β–‘β–‘β•šβ•β•β•β–ˆβ–ˆβ•—β–‘β–‘β–‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ•‘β–‘
β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–‘β–‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–‘β•šβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–‘β–‘β•šβ–ˆβ–ˆβ•”β•β–‘β•šβ–ˆβ–ˆβ•”β•β–‘
β•šβ•β•β–‘β–‘β•šβ•β•β•šβ•β•β–‘β–‘β•šβ•β•β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β–‘β•šβ•β•β•šβ•β•β–‘β–‘β•šβ•β•β•β•šβ•β•β•β•β•β•β•β–‘β–‘β–‘β•šβ•β•β–‘β–‘β–‘β•šβ•β•β–‘β–‘
πŸ’¬
Welcome to our getting started script for Ruby on Rails on macOS!
πŸ’¬
The following tools and dependencies will be installed if you don't have them
already installed:
1. Homebrew + Xcode Command Line Tools
2. Git
3. rbenv
4. nvm
5. Node.js
6. Yarn
7. Redis
8. PostgreSQL
9. Ruby
10. Ruby on Rails
❓
Ready to begin?
Hit 'y' to continue, or any other key to quit.
β–ˆβ–‘β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–„β–€β–ˆβ€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–‘β–ˆβ–‘β–ˆβ€ƒ β€ƒβ–„β–ˆβ–„β€ƒ β€ƒβ–€β–„β–€β€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–€β–€β€ƒ β€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–‘β–‘β€ƒβ–ˆ
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–‘β–€β–‘β–ˆβ€ƒβ–ˆβ–ˆβ–„β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–ˆβ–„β€ƒβ–€β–„β–€β–„β–€β€ƒ  ░▀░  β€ƒβ–ˆβ–‘β–ˆβ€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–„β–€β€ƒβ–ˆβ–ˆβ–„β€ƒ β€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–„β–„β€ƒβ–ˆ
πŸ€–
Checking if Homebrew is already installed.
πŸ€–
Homebrew is already installed!
β–ˆβ–€β–€β€ƒβ–ˆβ€ƒβ–€β–ˆβ–€
β–ˆβ–„β–ˆβ€ƒβ–ˆβ€ƒβ–‘β–ˆβ–‘
πŸ€–
Checking if Git is installed.
πŸ€–
Installing Git.
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
solargraph
==> Updated Formulae
Updated 109 formulae.
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.21
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:6e2c829031949c0cbd758d0701ed62c191387736e76a98a046c06199076322
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6e2c829031949c0cbd758d0701ed62c191387736e76a98a
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.39
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/d04cf1b7feb00f01719e307014af7b7e0bdd32565eb226a2782f259934e3fe9b--pcre2-10.39.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:f0633818b37d8d3ce88c882e048ada77e58f1f445a41e35b028d23e8866fc5ab
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/ffdc5d23f3013e54dd464f4ff9a6878db96727d2ce0bb87542cc0efc86df77c1--pcre2--10.39.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.34.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:c38f49b57fb3dd4f50c193dc0a483aab96fb9a8fdaa2d4e378e647403846b217
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:c38f49b57fb3dd4f50c193dc0a483aab96fb9a8fdaa2d4e
######################################################################## 100.0%
==> Installing dependencies for git: gettext and pcre2
==> Installing git dependency: gettext
==> Pouring gettext--0.21.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/gettext/0.21: 1,953 files, 20.6MB
==> Installing git dependency: pcre2
==> Pouring pcre2--10.39.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/pcre2/10.39: 230 files, 6.0MB
==> Installing git
==> Pouring git--2.34.1.arm64_monterey.bottle.tar.gz
==> Caveats
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.
zsh completions and functions have been installed to:
/opt/homebrew/share/zsh/site-functions
Emacs Lisp files have been installed to:
/opt/homebrew/share/emacs/site-lisp/git
==> Summary
🍺 /opt/homebrew/Cellar/git/2.34.1: 1,513 files, 43.2MB
==> Running `brew cleanup git`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Caveats
==> git
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
Subversion interoperability (git-svn) is now in the `git-svn` formula.
zsh completions and functions have been installed to:
/opt/homebrew/share/zsh/site-functions
Emacs Lisp files have been installed to:
/opt/homebrew/share/emacs/site-lisp/git
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–„β–‘β–ˆβ€ƒβ–ˆβ–‘β–ˆ
β–ˆβ–€β–„β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–ˆβ–„β€ƒβ–ˆβ–‘β–€β–ˆβ€ƒβ–€β–„β–€
πŸ€–
Checking if rbenv is already installed.
πŸ€–
Installing rbenv.
==> Downloading https://ghcr.io/v2/homebrew/core/m4/manifests/1.4.19
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/5b2a7f715487b7377e409e8ca58569040cd89f33859f691210c58d94410fd33b--m4-1.4.19.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/m4/blobs/sha256:8e9fa0d7d946f7c38e1a6f596aab3169d2440fccd34ec321b9a032d903ec951c
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:8e9fa0d7d946f7c38e1a6f596aab3169d2440fccd34ec32
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/manifests/2.71
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/057cde2b686872aeeff2e91dc36d037807d7342dd50929fbdfea8bcc572fbed0--autoconf-2.71.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/autoconf/blobs/sha256:a3d366c98b0da7a0a4f352eef49af9d612ac7aea4ffe420d49ff12bd90007
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a3d366c98b0da7a0a4f352eef49af9d612ac7aea4ffe420
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/manifests/0.29.2_3
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pkg-config/blobs/sha256:2af9bceb60b70a259f236f1d46d2bb24c4d0a4af8cd63d974dde4d76313
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:2af9bceb60b70a259f236f1d46d2bb24c4d0a4af8cd63d9
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.1.1
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/11817fbc41986210e339d9491c3e8026783c4b58c01d37c8f297bb06898f0ecf--readline-8.1.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:3b5aa5bdfee4d377f6b5d571fcadcdfa14f9973895bcf5197fcd546424b59
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/71b34c1ac8e79770bbe5d300fb4bc1a5c220d210badf9d646f7d2b665b2d194c--readline--8.1.1.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/manifests/20211203
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/e1a785de9a55a6232f2adbac6bcb308864b1b1a94c3190ea0dd7e0ce715bd0ee--ruby-build-20211203.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/blobs/sha256:6726b1c480b265d787d6ab67880091e6fab5b9e7e63c6220a2d742739e5
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/8f31a5a187c856f8bb2afd94a5c7d333e78be8227542ffd8943eae1554db74ae--ruby-build--20211203.all.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/rbenv/manifests/1.2.0
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/8476c387895a8e3b29021e07d9286d6475b10b19bf561983ee0bf884ee4cd693--rbenv-1.2.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/rbenv/blobs/sha256:dede9454bc8a665ac2b1858a0522fb77d95deebb5db7437918cfb056ff119b16
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/e740255a8046c457b322253143bce13714371585849721b75c73dd0cd49414df--rbenv--1.2.0.arm64_monterey.bottle.tar.gz
==> Installing dependencies for rbenv: m4, autoconf, pkg-config, readline and ruby-build
==> Installing rbenv dependency: m4
==> Pouring m4--1.4.19.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/m4/1.4.19: 13 files, 742.4KB
==> Installing rbenv dependency: autoconf
==> Pouring autoconf--2.71.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/autoconf/2.71: 71 files, 3.2MB
==> Installing rbenv dependency: pkg-config
==> Pouring pkg-config--0.29.2_3.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/pkg-config/0.29.2_3: 11 files, 676.4KB
==> Installing rbenv dependency: readline
==> Pouring readline--8.1.1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/readline/8.1.1: 48 files, 1.7MB
==> Installing rbenv dependency: ruby-build
==> Pouring ruby-build--20211203.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ruby-build/20211203: 551 files, 275.4KB
==> Installing rbenv
==> Pouring rbenv--1.2.0.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/rbenv/1.2.0: 35 files, 125.1KB
==> Running `brew cleanup rbenv`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
# Load rbenv automatically by appending
# the following to your profile:
eval "$(rbenv init - ruby)"
Identity added: /Users/ryanrich/.ssh/id_rsa_3 (rrichrs@gmail.com)
β–ˆβ–„β–‘β–ˆβ€ƒβ–ˆβ–‘β–ˆβ€ƒβ–ˆβ–€β–„β–€β–ˆ
β–ˆβ–‘β–€β–ˆβ€ƒβ–€β–„β–€β€ƒβ–ˆβ–‘β–€β–‘β–ˆ
πŸ€–
Checking if nvm is installed.
πŸ€–
nvm is already installed.
β–ˆβ–„β–‘β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–€β–€β€ƒβ–‘β€ƒβ–‘β–‘β–ˆβ€ƒβ–ˆβ–€
β–ˆβ–‘β–€β–ˆβ€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–„β–€β€ƒβ–ˆβ–ˆβ–„β€ƒβ–„β€ƒβ–ˆβ–„β–ˆβ€ƒβ–„β–ˆ
πŸ€–
Checking if Node.js is installed.
πŸ€–
Node.js is already installed!
β–ˆβ–„β–ˆβ€ƒβ–„β–€β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–„β–‘β–ˆ
β–‘β–ˆβ–‘β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–‘β–€β–ˆ
πŸ€–
Checking if Yarn is already installed.
πŸ€–
Yarn is already installed!
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ€ƒβ–ˆβ–€
β–ˆβ–€β–„β€ƒβ–ˆβ–ˆβ–„β€ƒβ–ˆβ–„β–€β€ƒβ–ˆβ€ƒβ–„β–ˆ
πŸ€–
Checking if Redis is already installed.
πŸ€–
Installing Redis.
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2021-10-26
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/b5cacbc629fba9719e906bfb01b11310bad8b389906e36cf04f3b415b2c61cf3--ca-certificates-2021-10-26.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:1bbd45c16a0b9912174c553a6d7ae1b67b11abbeb3155eaf03109b
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/79ec4ac986e054c3e4138cc32553ebfc2eaf0a502bf9914308a075c02561ea13--ca-certificates--2021-10-26.all.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1m
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:b3a02096abab03b1571f37d8d1f7ff89675a96be649495f434d8817047
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b3a02096abab03b1571f37d8d1f7ff89675a96be649495f
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/redis/manifests/6.2.6
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/b4547a218e7c71041611f342451358aca596cc6a936adfac553cb64a3f458106--redis-6.2.6.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/redis/blobs/sha256:a656500c3b5762c7cfe03d587a4fa08c5df4568783d167555962d850e8cab3c3
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/542649c4c12d4a56b2e3a2b944c45e0ab8795bc26bbadd5d5163a3df795ab10b--redis--6.2.6.arm64_monterey.bottle.tar.gz
==> Installing dependencies for redis: ca-certificates and openssl@1.1
==> Installing redis dependency: ca-certificates
==> Pouring ca-certificates--2021-10-26.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺 /opt/homebrew/Cellar/ca-certificates/2021-10-26: 3 files, 208.5KB
==> Installing redis dependency: openssl@1.1
==> Pouring openssl@1.1--1.1.1m.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/openssl@1.1/1.1.1m: 8,081 files, 18MB
==> Installing redis
==> Pouring redis--6.2.6.arm64_monterey.bottle.tar.gz
==> Caveats
To restart redis after an upgrade:
brew services restart redis
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/redis/bin/redis-server /opt/homebrew/etc/redis.conf
==> Summary
🍺 /opt/homebrew/Cellar/redis/6.2.6: 14 files, 2MB
==> Running `brew cleanup redis`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Caveats
==> redis
To restart redis after an upgrade:
brew services restart redis
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/redis/bin/redis-server /opt/homebrew/etc/redis.conf
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β€ƒβ–€β–ˆβ–€β€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–€β–€β€ƒβ–ˆβ–€β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–‘β–‘
β–ˆβ–€β–€β€ƒβ–ˆβ–„β–ˆβ€ƒβ–„β–ˆβ€ƒβ–‘β–ˆβ–‘β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–ˆβ–„β€ƒβ–„β–ˆβ€ƒβ–€β–€β–ˆβ€ƒβ–ˆβ–„β–„
πŸ€–
Checking if PostgreSQL is already installed.
πŸ€–
Installing PostgreSQL.
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/manifests/69.1
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/319330d53dab436f7e6bbe478539f29d41abb6be79788b06615f28006a82b30c--icu4c-69.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/blobs/sha256:3771949f179992723acc5bf1457bb5bab960e1f6887913b9e7378023dba6394c
Already downloaded: /Users/ryanrich/Library/Caches/Homebrew/downloads/a4c1b592b2fc5e6a2e5b8ffb9ca580afeffbe52fec5942a4af950e1becea6263--icu4c--69.1.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/krb5/manifests/1.19.2
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/krb5/blobs/sha256:0dd1072480422dc447c27e560e6e09afc095d93f5edb0ca2b46183a972f8cab0
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:0dd1072480422dc447c27e560e6e09afc095d93f5edb0ca
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/manifests/14.1_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/blobs/sha256:6e6f3099ad1e64fbdc9dff2152c33a2f01743d2010330bcb34cefe13052
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6e6f3099ad1e64fbdc9dff2152c33a2f01743d2010330bc
######################################################################## 100.0%
==> Installing dependencies for postgresql: icu4c and krb5
==> Installing postgresql dependency: icu4c
==> Pouring icu4c--69.1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/icu4c/69.1: 259 files, 73.3MB
==> Installing postgresql dependency: krb5
==> Pouring krb5--1.19.2.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/krb5/1.19.2: 162 files, 5.6MB
==> Installing postgresql
==> Pouring postgresql--14.1_1.arm64_monterey.bottle.tar.gz
==> /opt/homebrew/Cellar/postgresql/14.1_1/bin/initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres
==> Caveats
To migrate existing data from a previous major version of PostgreSQL run:
brew postgresql-upgrade-database
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres
For more details, read:
https://www.postgresql.org/docs/14/app-initdb.html
To restart postgresql after an upgrade:
brew services restart postgresql
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/postgresql/bin/postgres -D /opt/homebrew/var/postgres
==> Summary
🍺 /opt/homebrew/Cellar/postgresql/14.1_1: 3,304 files, 44.5MB
==> Running `brew cleanup postgresql`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Caveats
==> postgresql
To migrate existing data from a previous major version of PostgreSQL run:
brew postgresql-upgrade-database
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres
For more details, read:
https://www.postgresql.org/docs/14/app-initdb.html
To restart postgresql after an upgrade:
brew services restart postgresql
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/postgresql/bin/postgres -D /opt/homebrew/var/postgres
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/13/manifests/13.5_1-1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/13/blobs/sha256:a84101063f387e69e80296c938f34407a5502eb29281a5684da0ea6d
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a84101063f387e69e80296c938f34407a5502eb29281a56
######################################################################## 100.0%
==> Pouring postgresql@13--13.5_1.arm64_monterey.bottle.1.tar.gz
==> /opt/homebrew/Cellar/postgresql@13/13.5_1/bin/initdb --locale=C -E UTF-8 /opt/homebrew/var/postgresql@13
==> Caveats
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /opt/homebrew/var/postgresql@13
For more details, read:
https://www.postgresql.org/docs/13/app-initdb.html
postgresql@13 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.
If you need to have postgresql@13 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/postgresql@13/bin:$PATH"' >> ~/.zshrc
For compilers to find postgresql@13 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/postgresql@13/lib"
export CPPFLAGS="-I/opt/homebrew/opt/postgresql@13/include"
For pkg-config to find postgresql@13 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/postgresql@13/lib/pkgconfig"
To restart postgresql@13 after an upgrade:
brew services restart postgresql@13
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/postgresql@13/bin/postgres -D /opt/homebrew/var/postgresql@13
==> Summary
🍺 /opt/homebrew/Cellar/postgresql@13/13.5_1: 3,233 files, 42.3MB
==> Running `brew cleanup postgresql@13`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Unlinking /opt/homebrew/Cellar/postgresql/14.1_1... 398 symlinks removed.
Linking /opt/homebrew/Cellar/postgresql@13/13.5_1... 378 symlinks created.
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/opt/homebrew/opt/postgresql@13/bin:$PATH"' >> ~/.zshrc
==> Tapping homebrew/services
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-services'...
remote: Enumerating objects: 1644, done.
remote: Counting objects: 100% (523/523), done.
remote: Compressing objects: 100% (380/380), done.
remote: Total 1644 (delta 222), reused 354 (delta 130), pack-reused 1121
Receiving objects: 100% (1644/1644), 477.16 KiB | 6.45 MiB/s, done.
Resolving deltas: 100% (699/699), done.
Tapped 1 command (44 files, 611.7KB).
Warning: Service `postgresql` is not started.
Stopping `postgresql@13`... (might take a while)
==> Successfully stopped `postgresql@13` (label: homebrew.mxcl.postgresql@13)
==> Successfully started `postgresql@13` (label: homebrew.mxcl.postgresql@13)
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–‘β–ˆβ€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–„β–ˆ
β–ˆβ–€β–„β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–„β–ˆβ€ƒβ–‘β–ˆβ–‘
πŸ€–
The latest available Ruby is version 3.0.3.
πŸ€–
Checking if Ruby 3.0.3 is already installed.
πŸ€–
Ruby 3.0.3 is already installed!
πŸ€–
Checking that the global Ruby is coming from rbenv.
β–ˆβ–€β–ˆβ€ƒβ–ˆβ–‘β–ˆβ€ƒβ–ˆβ–„β–„β€ƒβ–ˆβ–„β–ˆβ€ƒ β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ–„β–‘β–ˆβ€ƒ β€ƒβ–ˆβ–€β–ˆβ€ƒβ–„β–€β–ˆβ€ƒβ–ˆβ€ƒβ–ˆβ–‘β–‘β€ƒβ–ˆβ–€
β–ˆβ–€β–„β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–„β–ˆβ€ƒβ–‘β–ˆβ–‘β€ƒ β€ƒβ–ˆβ–„β–ˆβ€ƒβ–ˆβ–‘β–€β–ˆβ€ƒ β€ƒβ–ˆβ–€β–„β€ƒβ–ˆβ–€β–ˆβ€ƒβ–ˆβ€ƒβ–ˆβ–„β–„β€ƒβ–„β–ˆ
πŸ€–
Checking if Rails is installed.
πŸ€–
Installing Rails.
Identity added: /Users/ryanrich/.ssh/id_rsa_3 (rrichrs@gmail.com)
/Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Traceback (most recent call last):
14: from /Users/ryanrich/.rbenv/versions/2.7.0/bin/gem:21:in `<main>'
13: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/gem_runner.rb:44:in `run'
12: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/gem_runner.rb:79:in `do_configuration'
11: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/gem_runner.rb:79:in `new'
10: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/config_file.rb:182:in `initialize'
9: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/config_file.rb:332:in `load_file'
8: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems.rb:710:in `load_yaml'
7: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
6: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
5: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/yaml.rb:4:in `<top (required)>'
4: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
3: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
2: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/psych.rb:13:in `<top (required)>'
1: from /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
/Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': dlopen(/Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/x86_64-darwin19/psych.bundle, 0x0009): Library not loaded: /usr/local/opt/libyaml/lib/libyaml-0.2.dylib (LoadError)
Referenced from: /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/x86_64-darwin19/psych.bundle
Reason: tried: '/usr/local/opt/libyaml/lib/libyaml-0.2.dylib' (no such file), '/usr/local/lib/libyaml-0.2.dylib' (no such file), '/usr/lib/libyaml-0.2.dylib' (no such file) - /Users/ryanrich/.rbenv/versions/2.7.0/lib/ruby/2.7.0/x86_64-darwin19/psych.bundle
== Command ["echo '. ~/.zshrc && gem install rails' | zsh"] failed ==
ryanrich@rrich-2 ~ %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment