Compass/compass-rails — Issue #16: Undefined variable
Author: rwz
Created: 2012-02-24 09:29:27+00:00
State: open

index.sass
@import 'compass'
@import 'colors'
@import 'some_other_partial'

colors.sass
$main-color: #fff

some_other_partial.sass
body
color: $main-color

everything works perfect in development, but fails on `assets:precompile` with following error:

Undefined variable: "$main-color".
(in /foo/my-app/app/assets/stylesheets/some_other_partial.sass)

compass (0.12.rc.1)
compass-rails (1.0.0.rc.3)
rails (3.2.1)