I used erb to get asset_path in css. I didn't know that asset_path is available from scss file. I just read <a href="http://stackoverflow.com/questions/8334573/asset-path-in-scss-file-rails">this answer</a>. Currently you take this commit. I will give an another commit and change it to scss.