We had run a bunch of deployments on Friday and Saturday and everything was
We come back today and run some new deployments, and they start failing.
Always, the issue is bundle install fails because compiling gem extension
fails for json gem (I don’t think this is related to that gem, it just
happens to be the first on the list requiring a native extension).
This is the error trace:
Installing json (1.7.7)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
sh: make: command not found
I do not understand the
make: command not found part. For one, gem
install and even bundle install works fine when I run it manually(Our temp
workaround is actually to comment out our bundle install commands in the
recipe and run it manually after deployment). How can make suddenly
disappear from Chef’s path? We are on Chef 10.24.0. This issue suddenly
appeared across ALL our deployments: remote AWS instances, local CENTOS
development servers and even newly spinned off AWS instances. We’re
honestly buggered. Hope someone knows what’s going on!