Skip to content

Instantly share code, notes, and snippets.

@skull-squadron
Last active March 13, 2024 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skull-squadron/36290ab71246232d4b1b2804c9832ba3 to your computer and use it in GitHub Desktop.
Save skull-squadron/36290ab71246232d4b1b2804c9832ba3 to your computer and use it in GitHub Desktop.
How to install curses 1.4.x gem on modern macOS

0. brew install ncurses ruby

1. gem install curses -- --use-system-libraries --with-ncurses-dir="$(brew --prefix ncurses)" --with-cflags='-Wno-error=incompatible-pointer-types'

This is because the Ruby maintainers are hipsters unable to work effectively with reality and Clang/LLVM breaking everyone's shit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment