|
|
|
|
|
by enko
4730 days ago
|
|
Sounds like an awful lot of work for no good reason I can think of. You'll need a compiler, anyway, once you start trying to use any number of libraries requiring compiled C extensions. "No compilers on production!" might be true elsewhere but I can't see any reason it applies for ruby deployments. |
|
Perfectly reproducible deploys and shutting down attack vectors are both very good reasons.
> You'll need a compiler, anyway, once you start trying to use any number of libraries requiring compiled C extensions.
Only if you're doing `gem install` in production. Guess what? That's not a particularly good idea either.
> "No compilers on production!" might be true elsewhere but I can't see any reason it applies for ruby deployments.
Ruby isn't special, or magic. It doesn't get a free pass "just because." If you've got reasons it should be exempt from the best practices that have been learnt elsewhere, let's hear them.