Open ttilberg opened 1 week ago
I see that a commit from last year removed this require statement: https://github.com/thekompanee/chamber/commit/fe82e96d78e9a6ce0910bcaf6beb67645d13ca76
It was labeled as Chore: Autofix (Safe) 'Lint/RedundantRequireStatement', however it seems to not have been safe afterall.
Running
chamber show
executesPP.pp(...)
. The constant PP is not found. Instead the user receives an uninitialized constant error.At first I thought this may be related to recent changes to Ruby's standard lib/default gems, but I've tried running
chamber show
from a variety of older ruby versions across a variety of OSs. I've tested using macos with the following ruby versions:and Ubuntu 24.04 with Ruby 3.0.3.
I don't think this is related to recent changes related to default gems. It is currently a default gem and hasn't moved recently from what I can tell. https://stdgems.org/pp/
Adding
require 'pp'
to the top of the show file fixes the constant lookup.