Thursday, September 5, 2013

Raspbian gitlab issue

1. bundle install fail
-> Define highest version of "therubyracer and libv8" in Gemfile, Gemfile.lock

In Gemfile

gem "therubyracer", "0.12.0"


In Gemfile.lock

therubyracer (0.12.0)
libv8 (3.16.14.3)


2. When first connect, very very very slow.
-> You must extend timeout both unicorn and nginx
-> config/unicorn.rb , /etc/nginx/nginx.conf -> timeout 3000

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Thx for your post but when I execute : "sudo -u git -H bundle install --deployment --without development test postgres aws"

    An error throw : "You are trying to install in deployment mode after changing
    your Gemfile. Run `bundle install` elsewhere and add the
    updated Gemfile.lock to version control.

    You have added to the Gemfile:
    * therubyracer (= 0.12.0)

    You have deleted from the Gemfile:
    * therubyracer"

    how can if fix ?

    ReplyDelete
  3. Hello.

    I wonder if you performed below.

    1. Please check "Gemfile" and "Gemfile.lock".
    Maybe "therubyracer" is the one line in the "Gemfile"
    But "therubyracer" is not only one in the "Gemfile.lock".
    It is located several lines in the "Gemfile.lock"
    You must define all of the "therubyracer"''s version, And "libv8" too.

    2. If you have already "therubyracer"? I recommend remove it and "bundle clean" and retry install. Google must help you.

    3. I read "6.0v Install" of gitlab( https://github.com/gitlabhq/gitlabhq/blob/6-0-stable/doc/install/installation.md )
    What's you're installation guide?

    Please check and reply to me !

    ReplyDelete