How to automatically compile scss into css with assets pipeline in Rails 3.1?

There are two possible causes of this. I am assuming that you are in development mode, and that all the gems are loaded.

There are two possible causes of this. I am assuming that you are in development mode, and that all the gems are loaded. 1.

Config In development mode files are compiled on-demand and cached until any changes are made. You have to get the new 3.1 config options set in the right files or this might not work as expected. Check out the Rails guides section on upgrading.2.

Extensions The other is getting the extensions in the right order. For scss that would be file.css.scss. This tells Sprockets to parse the files as scss first, and that the have a css extension.

If you had . Erb on the end - file.css.scss. Erb - then erb is processed first, then scss.

Upgrading apps is a bit tricky because so many things have changed. The asset pipeline guide has lots of useful information and advice.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions