Changing the relative url is hard, but the list is application.rb
should be correct:
    # Relative url support
    # Uncomment and customize the last line to run in a non-root path
    # WARNING: We recommend creating a FQDN to host GitLab in a root
path instead of this.
    # Note that following settings need to be changed for this to work.
    # 1) In your application.rb file: config.relative_url_root = "/gitlab"
    # 2) In your gitlab.yml file: relative_url_root: /gitlab
    # 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
    # 4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab";
    # 5) In lib/support/nginx/gitlab : do not use asset gzipping,
remove block starting with "location ~ ^/(assets)/"

Best regards,
Sytse Sijbrandij
CEO GitLab B.V.


On Mon, Sep 22, 2014 at 5:55 PM, Luca Fancellu <luca.fance...@gmail.com> wrote:
> Thank you!
>
> I was trying to change the relative url settings but information in file
> application.rb maybe are old because it doesn't work.
>
> Il giorno lunedì 22 settembre 2014 13:04:24 UTC+2, sytse ha scritto:
>>
>> With the packages you have to involve rake in a different way:
>>
>> https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#invoking-rake-tasks
>>
>> Best regards,
>> Sytse Sijbrandij
>> CEO GitLab B.V.
>>
>>
>> On Mon, Sep 22, 2014 at 12:11 PM, Luca Fancellu <luca.f...@gmail.com>
>> wrote:
>> > Hi,
>> > I have setup latest gitlab on my virtual machine with CentOS 6.5
>> > following
>> > all the instruction, but when i try to do this command:
>> > "sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production"
>> >
>> > it fails with this:
>> > "sudo: bundle: command not found"
>> >
>> > but bundle is in my PATH: "/opt/gitlab/embedded/bin"
>> >
>> > I have to do something?
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "GitLab" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to gitlabhq+u...@googlegroups.com.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/gitlabhq/9fcc9b5d-1cf6-4d55-a9f0-1892e6ecbff9%40googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/41e2b8e3-e997-483c-8e46-b785090f7480%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAJTzhG8Ai0-tmtJ6uhrFZjsHoFKK6_0EgEhjDVUATcZzA1w9zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to