#10 楼 @tiseheaini service gitlab start
Starting unicorn:
[!] There was an error parsing Gemfile
: compile error - syntax error, unexpected ':', expecting $end
gem "mysql2", group: :mysql
^. Bundler cannot continue.
# from /home/git/gitlab/Gemfile:21 # ------------------------------------------- # # Supported DBs
gem "mysql2", group: :mysql # gem "pg", group: :postgres # ------------------------------------------- [FAILED] Starting sidekiq: [FAILED]
#10 楼 @tiseheaini 我换了个分支 没这个错误了 估计是 ruby 版本问题我的 gitlab 分支是 5-1-stable 但我的 ruby 版本是最新的 2.2.x
我系统是 centos
#5 楼 @tiseheaini 这是第 157 行代码 config.token_authentication_key = :private_token
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] 这是 ruby 版本
@huacnlee 可以帮我看下吗