我只是按照指南中的描述设置了 twitter-bootstrap-rails ,现在我在less -rails的第 39 行遇到了这个错误lib/less/rails/template_handlers.rb
应用程序/资产/样式表/application.css
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require bootstrap_and_overrides
*/
我尝试调试它并删除了所有内容,app/assets/stylesheets/bootstrap_and_overrides.css.less
但错误仍然存在。
我的 Gemfile 中有therubyracer
& less-rails
,都在资产组之外。
我还能做些什么来调试这个?什么可能导致这个问题?