Actions
Bug #21692
openBasic gems like `date` require a compiler
Bug #21692:
Basic gems like `date` require a compiler
Description
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.
Actions