对象中已经定义了实例方法“ open”,请使用通用帮助器

时间:2018-07-28 12:14:14

标签: ruby-on-rails ruby-on-rails-4 spree spree-auth-devise

我有一个Spree项目,我想在我们的项目中集成一个服务台。

Helpdesk Gem的链接为Helpdesk gem

gem已安装,没有任何错误。

但是当我在终端上运行“ rails s”命令时,出现以下错误

Instance method "open" is already defined in Object, use generic helper instead or set StateMachine::Machine.ignore_method_conflicts = true.
Instance method "invalid?" is already defined in ActiveRecord::Base, use generic helper instead or set StateMachine::Machine.ignore_method_conflicts = true.
Exiting
/home/local/TOXSL/devendra.kumar/.rvm/gems/ruby-2.4.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/active_support.rb:53:in `block in load_missing_constant': uninitialized constant User

(NameError)

0 个答案:

没有答案