我剛剛通過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