rumblelabs/asset_sync — Issue #46: asset_path in css.erb is not properly handled
Author: nextofsearch
Created: 2012-02-21 17:46:25+00:00
State: open

Just bumped into the issue that css.erb is not handled properly. As you can see below, the region is missing.

css.erb

body {width:100%; height: 100%;padding:0; margin:0; font-family:Arial, verdana, sans-serif;background:#fff url('<%= asset_path 'main/bg_body.gif' %>') repeat-y center 0;}

processed css

body{width:100%;height:100%;padding:0;margin:0;font-family:Arial, verdana, sans-serif;background:#fff url("http://.s3.amazonaws.com/assets/main/bg_body-0cb881d8e11ed182a85fddb437b7687e.gif") repeat-y center 0}

Ruby 1.9.3-p0 / Rails 3.2.1 on Heroku
It works just fine on local