getting error from devise “User does not respond to 'devise' method” when running “rails generate devise:install”

前端 未结 4 935
星月不相逢
星月不相逢 2021-02-09 07:10

I\'m getting error from devise \"User does not respond to \'devise\' method\" when running \"rails generate devise:install\". Ideas re how to resolve?

In fact also get

4条回答
  •  [愿得一人]
    2021-02-09 07:27

    i had this same problem. however for me it was caused by a conflict with the active_reload gem. once i removed that all was well. i got the tip from https://github.com/plataformatec/devise/issues/1597

提交回复
热议问题