Fix for #1033

Fixes latest Compass + Rails loading problem described in #1033.