0

I was trying to install GitLab using

https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md

It in the "Configure it" section at

Copy the example Rack attack config

sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers/rack_attack.rb

with the error

cp: cannot stat `config/initializers/rack_attack.rb.example': No such file or directory

4

1 回答 1

0

机架攻击仅存在于 gitlab 6.2-stable 上。因此,在运行此命令之前,请确保您位于正确的分支上。为此,请在存储库的根目录上键入“git checkout 6-2-stable”。

于 2013-11-07T22:13:50.940 回答