For some reason, this first attempt at dynamic styling gives me Sass :: SyntaxError on the line below. It seems that erb is not being processed in advance.
$headerHeight: <%= '15px' %>;
In development mode. Any idea what might trigger this?
Here are my asset related configuration options in case this helps:
# Application config.assets.enabled = true config.assets.initialize_on_precompile = true config.assets.version = '1.1'
ruby-on-rails sass ruby-on-rails-3 asset-pipeline erb
Ajcodez
source share