uninitialized constant Apartment::Migrator::Database #161

marciol opened this Issue Jul 17, 2014 · 2 comments


None yet

2 participants

marciol commented Jul 17, 2014

Hi all.

I get this error only in a production environment, on Heroku.

Follow the complete backtrace:

NameError: uninitialized constant Apartment::Migrator::Database
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/apartment/migrator.rb:10:in `migrate'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/tasks/apartment.rake:24:in `block (3 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/tasks/apartment.rake:21:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/tasks/apartment.rake:21:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/apartment/tasks/enhancements.rb:5:in `block in <top (required)>'

Is there something I can do to skip this error?


marciol commented Jul 17, 2014

I will use the development branch, that seems to solve the problem.

@marciol marciol closed this Jul 17, 2014

Hey sorry, completely forgot to release the bugfix for that from the dev branch. I've just pushed up 0.25.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment