Support including custom gems into the bundle
This is fairly similar to #821 (closed), but I hope rephrasing it might make it seem little easier to swallow. For me, I'd like to add additional omniauth strategies. I've also noticed that removing the New Relic (https://gitlab.com/gitlab-org/gitlab-ce/issues/12860) has caused some issues. It seems like it would be opportune to add support to help with at least these use cases.
Therotically, omnibus users can work around this limitation anyways with the following (untested) example:
# in /etc/gitlab/gitlab.rb
gitlab_rails['env'] = {
'BUNDLE_GEMFILE' => '/etc/gitlab.gemfile.rb'
}
# in /etc/gitlab.gemfile.rb
eval File.read('/opt/gitlab/embedded/service/gitlab-rails/Gemfile'), nil, '/opt/gitlab/embedded/service/gitlab-rails/Gemfile'
group :custom do
gem "rpm"
gem "omniauth-steam"
end