Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2595

Closed
Open
Created Jan 15, 2013 by Administrator@rootOwner

can't dump anonymous class Class on bundle exec rake gitlab:app:setup

Created by: VonC

Starting commit 71bd9568, I always get this error when initializing a new GitLab mysql database with gitlab/github #bundle exec rake gitlab:app:setup RAILS_ENV=production

-- initialize_schema_migrations_table()
   -> 0.0013s
-- assume_migrated_upto_version(20130110172407, ["/home/auser/gitpoc/passenger/gitlab/github/db/migrate"])
   -> 0.0017s

== Seed from /home/auser/gitpoc/passenger/gitlab/github/db/fixtures/production/001_admin.rb
rake aborted!
can't dump anonymous class Class
/home/auser/gitpoc/passenger/gitlab/github/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:in `eval'
/home/auser/gitpoc/passenger/gitlab/github/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.6.4/lib/sidekiq/extensions/generic_proxy.rb:17:in `method_missing'
/home/auser/gitpoc/passenger/gitlab/github/app/observers/user_observer.rb:5:in `after_create'
/home/auser/gitpoc/passenger/gitlab/github/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.11/lib/active_model/observing.rb:231:in `update'

...

/home/auser/gitpoc/passenger/gitlab/github/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:25:in `run'
/home/auser/gitpoc/passenger/gitlab/github/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu.rb:29:in `seed'
/home/auser/gitpoc/passenger/gitlab/github/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/tasks/seed_fu.rake:36:in `block (2 levels) in <top (required)>'
Tasks: TOP => gitlab:app:setup => db:seed_fu
(See full trace by running task with --trace)

Up to commit 7bfd38ea, the initialization was working fine:

-- assume_migrated_upto_version(20130102143055, ["/home/auser/gitpoc/passenger/gitlab/github/db/migrate"])
   -> 0.0061s

== Seed from /home/auser/gitpoc/passenger/gitlab/github/db/fixtures/production/001_admin.rb

Administrator account created:

[email protected]
password......5iveL!fe

With:

/home/auser/gitpoc/passenger/gitlab/github #ruby --version  
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-linux]
Assignee
Assign to
Time tracking