ActionView :: Template :: Error(variable @fontAwesomeEotPath_iefix未定义) [英] ActionView::Template::Error (variable @fontAwesomeEotPath_iefix is undefined)

查看:194
本文介绍了ActionView :: Template :: Error(variable @fontAwesomeEotPath_iefix未定义)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试载入任何网页时发生错误:

I get an error while trying to load any page:

ActionView::Template::Error (variable @fontAwesomeEotPath_iefix is undefined)
(in /app/assets/stylesheets/bootstrap_and_overrides.css.less)):
    2: <html>
    3: <head>
    4:   <title>Program</title>
    5:   <%= stylesheet_link_tag    "application", :media => "all" %>
    6:   <%= javascript_include_tag "application" %>
    7:   <%= csrf_meta_tags %>
    8: </head>   app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__242882506_70513990'   app/controllers/problems_controller.rb:7:in `index'

我以前做了什么?只需运行 bundle update

What I did before? Just run bundle update

推荐答案

更新引导程序的资源:

rails g bootstrap:install -f

资产有一个新行:

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

这篇关于ActionView :: Template :: Error(variable @fontAwesomeEotPath_iefix未定义)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆