I'm using Ubuntu 16.10 and was updating my Gitlab from 6.8 to 7 and everything went wrong. Now I have removed it and is trying to install a new version but ran into a problem with Ruby.
When I try install it
$ sudo apt install gitlab
Could not find gem 'rails (>= 188.8.131.52, ~> 4.2.7)' in any of the gem sources
listed in your Gemfile.
$ sudo gem install rails
ERROR: Error installing rails:
activesupport requires Ruby version >= 2.2.2.
Could not find gem 'pg (~> 0.18.2)' in any of the gem sources listed in your Gemfile.
$ sudo gem install pg
Successfully installed pg-0.20.0
I gave up! I reinstalled the Linux server with the Linux LTS version and used the Omnibus package installation..