# Installing a locally compiled google-protobuf gemFirst we must find the exact version of google-protobuf that yourGitLab installation requires. cd /home/git/gitlab # Only one of the following two commands will print something. It # will look like: * google-protobuf (3.2.0) bundle list | grep google-protobuf bundle check | grep google-protobufBelow we use `3.2.0` as an example. Replace it with the version numberyou found above. cd /home/git/gitlab sudo -u git -H gem install google-protobuf --version 3.2.0 --platform rubyFinally, you can test whether google-protobuf loads correctly. Thefollowing should print 'OK'. sudo -u git -H bundle exec ruby -rgoogle/protobuf -e 'puts :OK'If the `gem install` command fails you may need to install developertools. On Debian: `apt-get install build-essential libgmp-dev`, onCentos/RedHat `yum groupinstall 'Development Tools'`.