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

ianwillie
Hello Brian, I have some problems with running the code in your book. I like the style of the book very much and I have learnt a lot as...
New
yulkin
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
leonW
I ran this command after installing the sample application: $ cards add do something --owner Brian And got a file not found error: Fil...
New
brunogirin
When I run the coverage example to report on missing lines, I get: pytest --cov=cards --report=term-missing ch7 ERROR: usage: pytest [op...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
akraut
The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. lib/pento_web/live/product_l...
New
NaplesDave
@mfazio23 I am following along and I have gotten up to adding the data binding items. The project has built alright until I added the da...
New
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
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
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Learn from the award-winning programming series that inspired the Elixir language, and go on a step-by-step journey through the most impo...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
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
RobertRichards
Hair Salon Games for Girls Fun Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New

Sub Categories: