metaskills/less-rails — Issue #17: less.config not present in production
Author: atomgas
Created: 2012-01-06 18:55:18+00:00
State: open

I dont need nor want the less-rails gem in production, but I need config.less.paths in order to make this work with less includes which i dont want to be processed by the asset-pipeline

```ruby

# Gemfile
group :assets do
gem 'less-rails'
end

#config/application.rb

MyProject::Application.configure do
config.less.paths << "#{Rails.root}/lib/less/"
config.less.compress = true
end

# becomes

MyProject::Application.configure do
if config.respond_to?(:less)
config.less.paths << "#{Rails.root}/lib/less/"
config.less.compress = true
end
end

```

I need this workaround to get this to run