zombocom/derailed_benchmarks

perf:objects won't boot

Opened this issue · 2 comments

9mm commented

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

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

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