尝试加载任何页面时出错:
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
css ruby-on-rails less twitter-bootstrap twitter-bootstrap-rails
我有一个应用程序thdirat使用Twitter Bootstrap进行样式设置.它已经创造了一年的辉煌.突然间我在开发中遇到了这个错误:
ActionView::Template::Error ('fontawesome.less' wasn't found
(in /Users/me/myapp/code/myapp/app/assets/stylesheets/bootstrap_and_overrides.css.less)):
Run Code Online (Sandbox Code Playgroud)
可能是什么导致了这个?我没有更改Gemfile或任何东西.
导致错误的行是我的模板中的样式表包含标记:
<%= stylesheet_link_tag "application", :media => "all" %>
Run Code Online (Sandbox Code Playgroud)