1
升級到3.2導軌我得到這個錯誤在rake assets:precompile
的Rails 3.2青菜錯誤
Invalid CSS after "*": expected "{", was "html .fileinput..."
這裏後跟蹤:http://paste.ubuntu.com/1285319/
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_self
*= require_tree .
*/
顯然它不喜歡在CSS中的評論,是否有一些改變,在SASS或Rails我沒有注意到?
這裏有青菜的版本:
sass (3.2.1)
sass-rails (3.2.5)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
可以粘貼你的CSS文件,其中包含'html .fileinput ...'? –
我不知道你是什麼意思...樣式表插入'<%= stylesheet_link_tag「應用程序」%>'標準方式 – Tombart
'assets/stylesheets'中是否還有其他文件? Rails不能反對CSS中的評論,在這方面沒有任何改變。 –