From: "vo.x (Vit Ondruch) via ruby-core" Date: 2025-11-18T09:27:53+00:00 Subject: [ruby-core:123844] [Ruby Bug#21692] Basic gems like `date` require a compiler Issue #21692 has been updated by vo.x (Vit Ondruch). This might be related to the `--prefer-local` issue: https://github.com/ruby/rubygems/issues/8750 I suspect there is some problem with the arches of the gems. But I might be wrong. ---------------------------------------- Bug #21692: Basic gems like `date` require a compiler https://bugs.ruby-lang.org/issues/21692#change-115243 * Author: getajobmike (Mike Perham) * Status: Open * ruby -v: 3.2.3 * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- I'm trying to use Ruby in a high security environment which does not allow a compiler to be installed. This was easy years ago when all of standard library was included with Ruby itself and I could use `apt install ruby`. But as the standard library has broken off into separate, optional gems it has become impossible to `bundle` a reasonable pure Ruby application without requiring basic gems like `date` which require a compiler to install. Are there any plans to make native extensions optional for gems? With tools like ZJIT it can be better to use pure Ruby for performance; I would like to see Ruby encourage fewer native extensions and/or make them optional. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/