Question

App and migrations work fine locally but rake db:migrate fails on the server with this error:

undefined method `new' for ExceptionNotifier:Module

The only migration I'm trying to run passed locally and looks like this:

def change
  change_table :users do |t|
    t.remove :admin
  end
  change_column :users, :state, :string, :default => "client"
end

No clue what's causing it. And yeah, I am using the exception notification gem. Any thoughts? Thanks!

Was it helpful?

Solution

It seems that it is the problem of exception notifier

Please see these two below links hope it will help you

https://gist.github.com/shu0115/5820702

Thanks

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top