-
Notifications
You must be signed in to change notification settings - Fork 151
Compatibility with Spree 4.1 #53
Comments
I have the same issue. Added spree_mail_settings to Gemfile:
bundle update
|
Same issue but with Spree 4.0.
|
Hi To test, i forked the spree_mail_settings, pointed the gem version in gemfile to the one i have forked in github. Then i changed the gemspec file to Why are the decorators not being found ? Any way around it |
The case for decorators not being loaded and hence preferences defined under app/model/spree/app_configuration_decorator.rb not being found error.... a small work around as we wait for an updated spree_mail_settings gem, under the fork you created, you can add an initializer folder and add the preferences configuration file there with the preferences specified under models/spree/app_configuration_decorator.rb. This will ensure the added spree_mail_settings preferences are loaded |
Thanks, worked like a charm ✌️ |
Still getting the same error referenced at the start of this issue. Fixed by using the link above and cloning the gem file into my vendor folder. Edited the line
Ran bundle, restarted server and no issues |
@leonmuchoki and @weefunker do you guys have recommendations on how to successfully push this to heroku? The views load in development, but no emails received, then when I attempt to push to production I get
Thanks in advance guys |
@bashford7 I ended up just using typical rails app mail settings instead. This plugin is completely unnecessary unless you need to allow some nontechie to change the SMTP settings from the dashboard.
|
Thanks @weefunker works a treat now! Adapted your answer to work on SendGrid:
|
Thanks I was wondering if this was necessary |
Need some help here 😕
Getting the error below when trying this gem out with spree 4.1, I've tried removing the dependencies but giving me a "NoMethodError in Spree::Admin::MailMethods#edit" for
enable_mail_delivery preference not defined
Bundler could not find compatible versions for gem "spree_auth_devise":
In snapshot (Gemfile.lock):
spree_auth_devise (= 4.1.0)
In Gemfile:
spree_auth_devise (~> 4.1)
The text was updated successfully, but these errors were encountered: