I was installing gitlab and followed all the instructions of the installation guide of Gitlab. Everything works fine but then at Step "Initialize Database and Activate Advanced Features" it failed!
https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
I got this error Message.
rake aborted!
uninitialized constant Rack::Attack
/home/git/gitlab/config/application.rb:82:in `<class:Application>'
/home/git/gitlab/config/application.rb:13:in `<module:Gitlab>'
/home/git/gitlab/config/application.rb:12:in `<top (required)>'
/home/git/gitlab/Rakefile:5:in `require'
/home/git/gitlab/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
In the application.rb file I uncommented the line as it says in the instruction.
# Enable rack attack middleware
# Find and uncomment the line 'config.middleware.use Rack::Attack'