metaskills/less-rails — Issue #11: Compilation Errors When Using 'application.css.less'
Author: ksylvest
Created: 2011-11-21 20:44:41+00:00
State: open

Given the following stylesheets:

app/assets/stylesheets/application.less.css

```
@import "mixins.css.less";
@import "main.css.less";
```

app/assets/stylesheets/mixins.css.less

```
.ninja { display: none; }
```

app/assets/stylesheets/main.less.css

```
#me { .ninja }
```

A compilation error `.ninja is undefined` when running `rake assets:precompile`. However running `lessc application.css.less` works. A full sample is here: http://api.cld.me/0k0I3N450n0y2f0U0b1d/download/demo.zip.