質問

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!

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top