metaskills/less-rails — Issue #18: less-rails does not find *.less files in vendor/assets
Author: JeanMertz
Created: 2012-01-18 11:04:27+00:00
State: open

I have the original bootstrap repo from twitter cloned as a submodule in my applications `/vendor/assets/stylesheets/bootstrap` folder. I also added `gem 'less-rails` to my Gemfile. Next I added a `bootstrap.less` file to `/vendor/assets/stylesheets/` and in this file I `@import` the appropriate bootstrap modules.

In `/app/assets/stylesheets/application.css` I use ` *= require bootstrap`.

When trying to precompile all assets using `rake assets:precompile:all` I get the following error:

```
couldn't find file 'bootstrap'
(in /Users/[...]/app/assets/stylesheets/application.css:12)
```

I know this method works if I use the `less` gem instead of `less-rails`, but the reason I switched is because the `less.rb` gem actually uses an outdated `less.js` version, which won't compile `compass` (see [bootstrap#992](https://github.com/twitter/bootstrap/issues/992)).

Could you help me solve this issue? And does less-rails use a more recent version of less.js?