3 ms·
Anybody using less and sass together?
by chrismealy 15y ago
Anybody using less and sass together?
- moe 15y agoI am, sort of. On Rails 3.1 I have these in the Gemfile: gem 'sass-rails', "~> 3.1.0.rc" gem "compass", ">= 0.12.alpha.2" gem "less-rails", :git => 'https://github.com/christiannelson/less-rails.git' I'm in the process of transitioning from sass to less (mainly because I'm tired of compass and because bootstrap comes as .less). The above configuration happily compiles sass/less alongside for me. It wasn't smooth sailing to get there, though, as you can tell from the pinned versions. The above will probably not work on Rails 3.2 or 3.0, and might even break with the next minor upgrade of 3.1. As it stands the asset-pipeline and supporting gems have been very fragile for me...
- hwrd 15y agoYes, I am. I use the 'less-rails-bootstrap' gem and then use less for anytime I need to customize bootstrap. For everything else, I use sass.