douglasshuang

douglasshuang

High Performance PostgreSQL for Rails: Suggest installing Postgres.app using Homebrew (page 7)

Hi @andatki,

Happy New Year! Just getting back into the book after a long pause and decided to restart from the beginning.

Postgres.app is available on Homebrew as the cask postgres-unofficial:

❯ brew info --cask postgres-unofficial
==> postgres-unofficial: 2.9.2,13-14-15-16-17-18 (auto_updates)
https://postgresapp.com/
Installed
/opt/homebrew/Caskroom/postgres-unofficial/2.9.2,13-14-15-16-17-18 (2.0GB)
  Installed using the formulae.brew.sh API on 2025-08-07 at 07:38:52
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/p/postgres-unofficial.rb
==> Name
Postgres
==> Description
App wrapper for Postgres
==> Artifacts
Postgres.app (App)
==> Analytics
install: 219 (30 days), 819 (90 days), 4,100 (365 days)

You might simplify the installation instructions a bit by adding it to sh/intro_brew_install_steps.sh.

Thank you!

Doug

First Post!

andatki

andatki

Author of High Performance PostgreSQL for Rails

Hi @douglasshuang That makes sense. I’d probably maintain a Dockerfile and docker-compose installation if I did it over again. However, if you’d like to make a shell script to install those dependencies as a PR, feel free to do so. It may make it easier for someone else to install the app dependencies on their Mac. GitHub - andyatkinson/rideshare: Rails app used in book 📚 "High Performance PostgreSQL for Rails" · GitHub

Thanks for reading the book and providing your feedback!

Where Next?

Popular Pragmatic Bookshelf topics Top

simonpeter
When I try the command to create a pair of migration files I get an error. user=> (create-migration "guestbook") Execution error (Ill...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
AleksandrKudashkin
On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
brian-m-ops
#book-python-testing-with-pytest-second-edition Hi. Thanks for writing the book. I am just learning so this might just of been an issue ...
New
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
New
AufHe
I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113. Iteration A1 - Seeing the list of prod...
New
jonmac
The allprojects block listed on page 245 produces the following error when syncing gradle: “org.gradle.api.GradleScriptException: A prob...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New

Other popular topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New

Sub Categories: