Review your Rakefile and the code under task :generate do
. It should be compiling the css file like system "compass compile -css dir #{source_dir}/stylesheets"
SASS in Octopress
Question
My sass folder can not render screen.css when I rake generate
, I don't know why, but it happens since I updated octopress, so, everytime I deploy my blog, I have to do the following steps:
- go to
_deploy
and dogit pull origin master
- go back to root folder and do
rake generate
andrake deploy
, after that, - go to my github repo, and manually edit
stylesheets\screen.css
to the previous version.
So, actually I have two questions:
- How to add .
stylesheets\screen.css
in_deploy
folder? (I rarely change the stylesheet, though..) - How to fix the "sass generator" so, it can work normally again?
Thank you..
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow