何らかの理由で、動的スタイリングのこの最初の試みでは、以下の行にSass::SyntaxErrorが表示されます。erbは前処理されていないようです。
/* app/assets/stylesheets/variables.css.scss.erb */
$headerHeight: <%= '15px' %>;
開発モードです。これを引き起こす可能性のあるアイデアはありますか?
これが役立つ場合のアセットに関連する構成オプションです。
# Application
config.assets.enabled = true
config.assets.initialize_on_precompile = true
config.assets.version = '1.1'
# Development
config.assets.compress = false
config.assets.debug = false