Correct me if I'm wrong, but can't you avoid compiling in production if you package everything as part of your CI build? Rather than deploy off of a git clone, you compile at the end of CI, vendorize your gems, generate a tarball, and push that up.<p>This minimizes production dependencies (including the need to compile gems live) as long as your CI environment sufficiently resembles prod.