ActionView::Template::Error File to import not found or unreadable: bootstrap-email #143
Replies: 2 comments
-
I would suggest checking the usage guide for Rails for Bootstrap email v1+ as the setup has changed: https://bootstrapemail.com/docs/usage#ruby-on-rails I think the main change for you is that you no longer need to link the bootstrap email file from the base HTML layout so verify that change. If you have custom CSS or want to customize checkout the configuration options: https://bootstrapemail.com/docs/configure I should have better upgrade guide for the Rails portion 😓 PS: a lot of class and such have changed so also check out: https://bootstrapemail.com/docs/whats-new for changes for that. |
Beta Was this translation helpful? Give feedback.
-
I was also struggling with this error message, and I think it's due to the same misunderstanding of the docs here: https://bootstrapemail.com/docs/configure I would add a link tag to the top mailer layout with my custom CSS, and I thought that file needed to have the line What actually I needed to do was create a file called |
Beta Was this translation helpful? Give feedback.
-
After upgrading bootstrap-email from (0.2.5) to (1.0.2) it gives the following error.
Rails 6.1
Ruby 3.0
bootstrap-email (1.0.2)
my index.scss
/* ...
*= require_self
*= require_tree ..
*/
@import 'bootstrap-email';
Failure/Error: @import 'bootstrap-email';
@stuyam Can you please look into the issue?
Beta Was this translation helpful? Give feedback.
All reactions