You cannot do this with a classic installation.
You need to download the sources and install Gitlab manually in order to modify the Gemfile.
Otherwise, as Leo said, gitlab-ctl reconfigure override your changes.
This command uses the configuration /etc/gitlab/gitlab.rb and overrides everything.
gdurelle
source share