尝试添加 devise_invitable gem。 :invitable 在我的设计模型(用户)中导致错误
Trying to add devise_invitable gem. :invitable in my devise model (User) is causing errors
我正在尝试安装 scambra/devise_invitable gem。手动和自动安装方式均无效。
我将 gem 添加到 Gemfile,运行ning 捆绑安装,然后尝试 运行 rails generate devise_invitable:install
或 rails g migration CreateDeviseInvitable
及其相应的代码,并在在这两种情况下,我都将堆栈跟踪放在要点中:https://gist.github.com/anonymous/c0b40c1970dd586ed8c8. If I keep the module in my Gemfile, I am unable to generate to continue the steps decribed in https://github.com/scambra/devise_invitable。我也无法再启动服务器,除非我删除 gem.
看起来像 a fix for this was merged into devise_invitable on December 31, 2015. Your version of devise_invitable (1.5.5) was released on December 17, 2015. If you're committed to your current versions of Devise and Rails, you might try pulling the gem from GitHub 而不是 RubyGems。
我正在尝试安装 scambra/devise_invitable gem。手动和自动安装方式均无效。
我将 gem 添加到 Gemfile,运行ning 捆绑安装,然后尝试 运行 rails generate devise_invitable:install
或 rails g migration CreateDeviseInvitable
及其相应的代码,并在在这两种情况下,我都将堆栈跟踪放在要点中:https://gist.github.com/anonymous/c0b40c1970dd586ed8c8. If I keep the module in my Gemfile, I am unable to generate to continue the steps decribed in https://github.com/scambra/devise_invitable。我也无法再启动服务器,除非我删除 gem.
看起来像 a fix for this was merged into devise_invitable on December 31, 2015. Your version of devise_invitable (1.5.5) was released on December 17, 2015. If you're committed to your current versions of Devise and Rails, you might try pulling the gem from GitHub 而不是 RubyGems。