Do It Yerself, Rube
summary
Finds 29 configuration gems and shows that picking one costs more time than writing a tiny Ruby solution that reads a single file for one app one config, merges environment vars, supports on‑change reload via inotify, and optionally signs/encrypts the file so executable ruby configs fail verification. Demonstrates using plain Ruby modules/classes, Pathname and nested OpenStructs instead of a gem, explains why abstractions leak, and reports the local solution works and is easier to audit.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:57Rube Goldberg machines
- 3:05Configuration gems proliferation
- 7:39Abstractions and leaky layers
- 12:12General vs specific solutions
- 16:42Why write your own code
- 21:32Ruby’s powerful tools
- 22:36Q&A session
- 26:02Configuration file validation
- 27:28Executable configuration files
- 28:50Hash sugar and extensions
- 29:37Environment variable merging
- 30:41Pathname and OpenStruct








