Omnibus package new install: Can't detect gem 'underscore-rails'
This happens on a clean load of Ubuntu x64 16.10, following the instructions here: https://about.gitlab.com/downloads/#ubuntu1604 to use the script that sets up the repositiroy that lets me "sudo apt-get install gitlab".
The package configuration fails because it can not find the gem 'underscore-rails'.
I am able to confirm that the apt-get package 'ruby-underscore-rails' is installed, but it appears that the omnibus installer can't detect it.
I can install the gem using "sudo gem install underscore-rails" and then try to re-initiate the installation via "sudo apt-get install -f", but this generates a new and different error:
Running final rake tasks and tweaks... Creating secrets.yml... Initializing database... Missing Rails.application.secrets.secret_key_base for production environment. The secret will be generated and stored in config/secrets.yml. Missing Rails.application.secrets.otp_key_base for production environment. The secret will be generated and stored in config/secrets.yml. rake aborted! Errno::EACCES: Permission denied @ rb_sysopen - /usr/share/gitlab/config/secrets.yml /usr/share/gitlab/config/initializers/secret_token.rb:84:in 'write' /usr/share/gitlab/config/initializers/secret_token.rb:84:in 'write_secrets_yml' /usr/share/gitlab/config/initializers/secret_token.rb:31:in 'create_tokens' /usr/share/gitlab/config/initializers/secret_token.rb:87:in '<top (required)>' /usr/share/gitlab/config/environment.rb:5:in '<top (required)>' Tasks: TOP => db:schema:load => environment (See full trace by running task with --trace) dpkg: error processing package gitlab (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: gitlab
This is about as clean and fresh of an install of Ubuntu as one can get. I am installed from the minimal net-based image, not selecting any packages to pre-load at installation and the only software I installed prior to following the Omnibus installer instructions is open-vm-tools, etckeeper, vim, bash-completion, and ssh.