Im trying to install the inky-rb gem to use the foundation-email themes in rails API-Only. This api only read/send data but we want to send emails for user from her.
I aready added the gem
# Preprocessor for email HTML to convert components in table structure https://get.foundation/emails/docs/gem-guide.html
gem 'inky-rb', require: 'inky'
# Stylesheet inlining for email (used by inky)
gem 'premailer-rails'
but when run
rails g inky:install
And added the foundation_emails.scss the ruby on rails email preview breaks
so i aready try uncomment
require 'action_view/railtie'
in application.rb and add config.assets.precompile += ['foundation_email.css' ]
in the same file.
but now when i go to mailers preview i recive this error
LoadError in Rails::MailersController#preview
cannot load such file -- sassc
To try solve this i tried added the gem
gem 'sprockets', '~> 4.0'
gem 'sassc-rails'
but din't worked