Using a fresh install of Ubuntu Xenial 64bits (as LXD container). After the installation failed, I followed the recommended steps here, but `bundler` failed with: "An error occurred while installing eventmachine (1.2.1), and Bundler cannot continue."
I installed the following packages and `bundler` finished without errors (probably the *-dev packages are not required): apt install ruby-dev zlib1g-dev liblzma-dev build-essential patch pkg- config After that, gitlab was able to continue the installation, but it fails again with this error: fatal: Not a git repository (or any of the parent directories): .git rake aborted! ExecJS::RuntimeError: (execjs):1 /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/uglifier_compressor.rb:52:in `call' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/uglifier_compressor.rb:28:in `call' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/processor_utils.rb:75:in `call_processor' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/processor_utils.rb:57:in `block in call_processors' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/processor_utils.rb:56:in `reverse_each' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/processor_utils.rb:56:in `call_processors' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/loader.rb:134:in `load_from_unloaded' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/loader.rb:60:in `block in load' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/loader.rb:318:in `fetch_asset_from_dependency_cache' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/loader.rb:44:in `load' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/cached_environment.rb:20:in `block in initialize' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/cached_environment.rb:47:in `load' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/base.rb:66:in `find_asset' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/base.rb:73:in `find_all_linked_assets' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/manifest.rb:138:in `block in find' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/path_utils.rb:223:in `block in stat_tree' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/path_utils.rb:207:in `block in stat_directory' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/path_utils.rb:204:in `each' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/path_utils.rb:204:in `stat_directory' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/path_utils.rb:222:in `stat_tree' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/legacy.rb:105:in `each' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/legacy.rb:105:in `block in logical_paths' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/legacy.rb:104:in `each' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/legacy.rb:104:in `logical_paths' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/manifest.rb:136:in `find' /var/lib/gems/2.3.0/gems/sprockets-3.3.5/lib/sprockets/manifest.rb:162:in `compile' /var/lib/gems/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' Tasks: TOP => assets:precompile (See full trace by running task with --trace) dpkg: error processing package gitlab (--configure): subprocess installed post-installation script returned error exit status 1 I'm giving up on this one (for now). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574349 Title: gitlab install fails on missing gem file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gitlab/+bug/1574349/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs