ActionView :: Template :: Error(变量@fontAwesomeEotPath_iefix未定义)

fre*_*oid 6 css ruby-on-rails less twitter-bootstrap twitter-bootstrap-rails

尝试加载任何页面时出错:

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'
Run Code Online (Sandbox Code Playgroud)

我以前做过什么?赶紧跑bundle update

fre*_*oid 14

由于bootstrap更新,我需要更新bootstrap的资产:

rails g bootstrap:install -f
Run Code Online (Sandbox Code Playgroud)

资产中有一条新线:

+@fontAwesomeEotPath_iefix: asset-path("fontawesome-webfont.eot#iefix");
Run Code Online (Sandbox Code Playgroud)