CSS in Rails Asset Path not processed by ERB in development

前端 未结 6 1705
说谎
说谎 2021-01-03 05:51

I have a Rails app with the following in /app/assets/stylesheets/styles.css.erb:

...
#nestedbg {
    background-position: left top;
    backgrou         


        
6条回答
  •  青春惊慌失措
    2021-01-03 06:12

    I was using Rails 3.1.1 and when I switched the app to use Rails 3.1.3, the problem went away. I switched back to 3.1.1 to see if the issue came back and it did not.

    I'm guessing that it was a problem with one of the gems and the update to 3.1.3 brought other gem updates with it.

提交回复
热议问题