我刚刚通过Spree电子商务的“入门指南”进行了检查,并且在追踪它时遇到了一个错误。 我已经运行下面的命令: gem install spree_cmd
bundle install
接着,我会打在控制台 Bundler could not find compatible versions for gem "spree_core":
In Gemfile:
spree_a
我正在使用延迟作业,该作业完成后会向请求它的管理员用户发送电子邮件。所以,要做到这一点,我需要知道在Spree::Order模型中启动它的管理员用户是谁。 我试着try_spree_current_user和spree_current_user,但他们不工作返回: NameError (undefined local variable or method `try_spree_current_us