:-1: :train: Less.js For Rails
This gem provides integration for Rails projects using the Less stylesheet language in the asset pipeline.
Just bundle up less-rails in your Gemfile. This will pull in less as a runtime dependency too.
gem 'less-rails', '~> 4.0.0'But be warned, less.rb relies on a JavaScript runtime gem too. Just like ExecJS, it will look for a gem that is appropriate to your system. Typically, this means you will need one of the following.
gem 'therubyracer' # Ruby
gem 'therubyrhino' # JRubyThis 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.
MyProject::Application.configure do
config.less.paths and is distributed under the MIT license.No open issues yet, or sync has not completed.