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

abtin
page 20: … protoc command… I had to additionally run the following go get commands in order to be able to compile protobuf code using go...
New
johnp
Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’. In particula...
New
herminiotorres
Hi @Margaret , On page VII the book tells us the example and snippets will be all using Elixir version 1.11 But on page 3 almost the en...
New
HarryDeveloper
Hi @venkats, It has been mentioned in the description of ‘Supervisory Job’ title that 2 things as mentioned below result in the same eff...
New
Henrai
Hi, I’m working on the Chapter 8 of the book. After I add add the point_offset, I’m still able to see acne: In the image above, I re...
New
a.zampa
@mfazio23 I’m following the indications of the book and arriver ad chapter 10, but the app cannot be compiled due to an error in the Bas...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
New
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New
roadbike
From page 13: On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New
xiji2646-netizen
Woke up to this today: Claude Code’s complete source code exposed via npm source map. Not a snippet. All 512,000 lines. 1,900 TypeScript ...
New

Sub Categories: