Revert "Move `node_modules` and `ruby gems` to the compilers that use them."

This reverts commit f15e92a7bd68a3ce1ba6edab69b60ff37da73794.