spree-account-recurring
spree-account-recurring copied to clipboard
How to eliminate uninitialized constant Spree::User (NameError)
I got this error 'uninitialized constant Spree::User (NameError)'. When I install the gem like this
$ bundle exec rails g spree_account_recurring:install
Result is like this.
1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:16:in `allow_bootsnap_retry'
/Users/takamizawanoriaki/vegewel/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.3/lib/bootsnap/load_path_cache/core_ext/active_support.rb:60:in `block in load_missing_constant': uninitialized constant Spree::User (NameError)
I understand the reason because this gem use Spree::User but I use custom User. So how to switch User model to mine?
Thanks in advance.