ActionView::Template::Error (variable @fontAwesomeEotPath_iefix is undefined)

柔情痞子 提交于 2019-12-04 06:27:52

Because of bootstrap update I will need to update bootstrap's assets:

rails g bootstrap:install -f

There are a new line in assets:

+@fontAwesomeEotPath_iefix: asset-path("fontawesome-webfont.eot#iefix");

This also happened to me. This is because, When you update your Bootrap gem, You should update Its js and less css. Do

rails g bootstrap:install -f

This will add a line to your app/assets/css/bootstrap_overrides.css.less file like

@fontAwesomeEotPath_iefix: asset-path("fontawesome-webfont.eot#iefix");
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!