按照网上的帖子安装http://www.open-open.com/lib/view/open1399684894447.html,
安装到bundle exec rake gitlab:setup RAILS_ENV=production报错,
rake aborted!
Please install the mysql2 adapter: gem install activerecord-mysql2-adapter
(mysql2 is not part of the bundle. Add it to Gemfile.
修改gitlab的Gemfile($GitlabRoot/Gemfile),
将gem "mysql2", :group => :mysql
改成
gem "mysql2", :group => :production