• Douwe Maan's avatar
    Merge branch 'rel-url-fix' into 'master' · 58e247d8
    Douwe Maan authored
    Fix relative URL
    See https://github.com/gitlabhq/gitlabhq/issues/10053
     1. Same configuration way for relative URL like with Omnibus
     2. Loading the relative configuration from Rakefile as Rails do not load initializers for `asset:precompile`
    First point has another positive side effect: no collisions (due to git controlled `application.rb`) any more during the upgrades of source based installations and relative url configuration
     - [x] tests on the source based installation
     - [x] tests on the centos&ubuntu omnibus packages
    Fixes: gitlab-org/gitlab-ce#13730, gitlab-org/gitlab-ce#13727, gitlab-org/omnibus-gitlab#1143 and https://github.com/gitlabhq/gitlabhq/issues/10053
    See merge request !2979