metaskills/less-rails — Issue #14: import-url not recognized
Author: kclair
Created: 2011-12-12 21:25:00+00:00
State: open

Hello.

I'm using rails 3.1.1 and less-rails 2.1.1.

In application.css.less I am loading another less file like so:
//= require layout

In layout.css.less, I'm trying to use image-url like so:
body {
padding-top: 50px;
background: image-url("body_background.png") repeat fixed 0 0 #d5d8db;
}

The background image is not showing up. When I view the css source on the client, I still see image-url("body_background.png") rather than url(/assets/body_background.png).

I definitely have the asset pipeline enabled, and have configured less explicitly as the stylesheet engine.