Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf:objects won't boot #213

Open
9mm opened this issue Jun 14, 2022 · 2 comments
Open

perf:objects won't boot #213

9mm opened this issue Jun 14, 2022 · 2 comments

Comments

@9mm
Copy link

9mm commented Jun 14, 2022

I get this error when running PATH_TO_HIT=/api/webhooks RAILS_ENV=development bundle exec derailed exec perf:objects

undefined method `migrate' for ActiveRecord::Migrator:Class (NoMethodError)
ActiveRecord::Migrator.migrate(ActiveRecord::Migrator.migrations_paths, nil)
                              ^^^^^^^^

Without adding RAILS_ENV i also get a huge amount of errors related to all different gems Im not even including in application.rb, like complaining about storage.yml etc. RAILS_ENV=production rails s works fine, so I'm not sure what its doing when booting

@9mm 9mm changed the title Why is perf:objects won't boot Jun 14, 2022
@schneems
Copy link
Member

If this is a bug with derailed I need a https://codetriage.com/example_app

@leoplct
Copy link

leoplct commented Jul 5, 2022

I got the same error. It looks ActiveRecord::Migrator.migrate is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants