variable @fontAwesomeEotPath_iefix is undefined

旧时模样 提交于 2019-12-03 09:29:59
edralph

Notice that your bootstrap_and_overrides.css.less doesn't have the variable the error is complaining about.

Add the following line with the other @fontAwesome variables and you should be good.

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

Or update your twitter bootstrap install by running rails g bootstrap:install -f.

Jyothu

This has also happened to me. When you update the Bootstrap gem you must then update its javascript and css. To do so, run this:

rails g bootstrap:install -f

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

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

This will solve the issue.

maybe you forget to install bootstrap, you can try command below.

rails g bootstrap:install
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!