Sha256: 0646bcc7a451f7b2f850fd02fd260dd3311106bac0f6319d01ac289c0a6319de

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

# The dynamic stylesheet language for the Rails asset pipeline.

This gem provides integration for Rails projects using the Less stylesheet language in the asset pipeline.


## Installing

Just bundle up less-rails in your Gemfile. This will pull in less as a runtime dependency too.

    gem 'less-rails'


## Configuration

This gem was made for other gems to properly hook into one place to provide paths to the Less::Parser. For example, the less-rails-bootstrap project at http://github.com/metaskills/less-rails-bootstrap and each project should do the path configuration for you. If you need to, you can configure less-rails with additional paths. These paths have higher priority than those from your applications assets load paths.

```ruby
MyProject::Application.configure do
  config.less.paths << "#{Rails.root}/lib/less/stylesheets"
end
```

## License

Less::Rails is Copyright (c) 2011 Ken Collins, <ken@metaskills.net> and is distributed under the MIT license.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
less-rails-2.0.1 README.md