Hi,
I have a Problem to setup gitlab.
I followed the installation guide on
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md
When I execute the setup, I got an error:
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production
rake aborted!
undefined method `new' for Math:Module
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:43:in
`build'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`block in build'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`inject'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`build'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/engine.rb:495:in
`app'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application/finisher.rb:34:in
`block in <module:Finisher>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:30:in
`instance_exec'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:30:in
`run'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:55:in
`block in run_initializers'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:54:in
`run_initializers'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:215:in
`initialize!'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:30:in
`method_missing'
/home/git/gitlab/config/environment.rb:5:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in
`require'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in
`block in require'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in
`load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in
`require'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:189:in
`require_environment!'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:250:in
`block in run_tasks_blocks'
Tasks: TOP => gitlab:setup => environment
(See full trace by running task with --trace)
(a file with --trace is appended)
Infos:
branch 6-6-stable
Ubuntu 12.04.3 server i386
ruby 2.1.1p76 (2014-02-24 revision 45161) [i686-linux] (built from source
to /home/git/opt, also tried ruby 1.9.1 from ubuntu packages)
gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.2.2
- RUBY VERSION: 2.1.1 (2014-02-24 patchlevel 76) [i686-linux]
- INSTALLATION DIRECTORY: /home/git/opt/lib/ruby/gems/2.1.0
- RUBY EXECUTABLE: /home/git/opt/bin/ruby
- EXECUTABLE DIRECTORY: /home/git/opt/bin
- SPEC CACHE DIRECTORY: /home/git/.gem/specs
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/git/opt/lib/ruby/gems/2.1.0
- /home/git/.gem/ruby/2.1.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /home/git/opt/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
I can not find the problem, maybe someone has an idea.
Thanks for your help.
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
** Invoke gitlab:setup (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `new' for Math:Module
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:43:in
`build'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`block in build'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`inject'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/stack.rb:118:in
`build'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/engine.rb:495:in
`app'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application/finisher.rb:34:in
`block in <module:Finisher>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:30:in
`instance_exec'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:30:in
`run'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:55:in
`block in run_initializers'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in
each_strongly_connected_component'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:427:in
`each_strongly_connected_component_from'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:347:in `block in
each_strongly_connected_component'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:345:in `each'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:345:in `call'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/home/git/opt/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:54:in
`run_initializers'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:215:in
`initialize!'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:30:in
`method_missing'
/home/git/gitlab/config/environment.rb:5:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in
`require'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in
`block in require'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in
`load_dependency'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in
`require'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:189:in
`require_environment!'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.0.3/lib/rails/application.rb:250:in
`block in run_tasks_blocks'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in
`call'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in
`block in execute'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in
`each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in
`execute'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in
`block in invoke_with_call_chain'
/home/git/opt/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in
`invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:197:in
`block in invoke_prerequisites'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in
`each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:195:in
`invoke_prerequisites'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:174:in
`block in invoke_with_call_chain'
/home/git/opt/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in
`invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in
`invoke'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in
`invoke_task'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in
`block (2 levels) in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in
`each'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in
`block in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in
`run_with_threads'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in
`top_level'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in
`block in run'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in
`standard_exception_handling'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in
`run'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/bin/rake:33:in `<top
(required)>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `<main>'
Tasks: TOP => gitlab:setup => environment