uninitialized constant Rack::Attack on gitlab:setup
Created by: tiphedor
Hi. I'm trying to install GitLab on my raspberry, and i have an issue while performing :
pi@raspberrypi /home/git/gitlab $ sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production
And the output is not good :
rake aborted!
uninitialized constant Rack::Attack
/home/git/gitlab/config/application.rb:81: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)
Before this, everything went totally fine. I've already uncomment the "config.middleware.use Rack::Attack" from config/application.rb, and i moved config/initializers/rack_attack.rb.example to config/initializers/rack_attack.rb ..... Still this error.
Before this, everything went fine, here's my gem list :
*** LOCAL GEMS ***
actionpack (4.0.2)
activesupport (4.0.2)
atomic (1.1.14)
bigdecimal (1.2.3, 1.2.0)
builder (3.1.4)
bundler (1.5.0.rc.1, 1.3.5)
erubis (2.7.0)
i18n (0.6.9)
io-console (0.4.2)
json (1.8.1, 1.7.7)
libv8 (3.16.14.3, 3.11.8.17)
minitest (5.1.0, 4.3.2)
multi_json (1.8.2)
psych (2.0.2, 2.0.0)
rack (1.5.2)
rack-test (0.6.2)
railties (4.0.2)
rake (10.1.0, 0.9.6)
rdoc (4.0.0)
rubygems-update (2.0.3)
test-unit (2.5.5, 2.0.0.0)
thor (0.18.1)
thread_safe (0.1.3)
tzinfo (0.3.38)
Is there anything i can do ?
Thanks.