Ensure `gem install` is performed with embedded environment