Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
c2c17811
Commit
c2c17811
authored
Mar 02, 2017
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instructions for installing google-protobuf from source
parent
ca667992
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
doc/install/google-protobuf.md
doc/install/google-protobuf.md
+26
-0
doc/install/installation.md
doc/install/installation.md
+6
-0
No files found.
doc/install/google-protobuf.md
0 → 100644
View file @
c2c17811
# Installing a locally compiled google-protobuf gem
First we must find the exact version of google-protobuf that your
GitLab 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-protobuf
Below we use
`3.2.0`
as an example. Replace it with the version number
you found above.
cd /home/git/gitlab
sudo -u git -H gem install google-protobuf --version 3.2.0 --platform ruby
Finally, you can test whether google-protobuf loads correctly. The
following 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 developer
tools. On Debian:
`apt-get install build-essential libgmp-dev`
, on
Centos/RedHat
`yum groupinstall 'Development Tools'`
.
doc/install/installation.md
View file @
c2c17811
...
...
@@ -658,6 +658,12 @@ misconfigured gitlab-workhorse instance. Double-check that you've
[
installed Go
](
#3-go
)
,
[
installed gitlab-workhorse
](
#install-gitlab-workhorse
)
,
and correctly
[
configured Nginx
](
#site-configuration
)
.
### google-protobuf "LoadError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found"
This can happen on some platforms for some versions of the
google-protobuf gem. The workaround is to
[
install a source-only
version of this gem
](
google-protobuf.md
)
.
[
RVM
]:
https://rvm.io/
"RVM Homepage"
[
rbenv
]:
https://github.com/sstephenson/rbenv
"rbenv on GitHub"
[
chruby
]:
https://github.com/postmodern/chruby
"chruby on GitHub"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment