RailsApps / rails_apps_composer

A gem with recipes to create Rails application templates for Rails starter apps.
http://railsapps.github.io/rails_apps_composer/
1.42k stars 304 forks source link

Should sass-rails gem be removed when LESS is selected? #147

Closed akshatpradhan closed 10 years ago

akshatpradhan commented 11 years ago

If an individual chooses the option to install twitter-bootstrap-rails (less), then why include the sass-rails gem?

group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'uglifier', '>= 1.0.3' end

akshatpradhan commented 11 years ago

This is important because if you do a rails g scaffold Post title:string description:string The post.css.scss file is generated instead of the post.css.less file. I have to manually rename it or pass --skip-stylesheets and add my own.

DanielKehoe commented 11 years ago

rails_apps_composer doesn't add the sass-rails gem. The sass-rails gem is added any time you run the rails new command. It's considered a Rails requirement.

I don't use LESS so I don't have experience in this area.

Should the rails_apps_composer script remove the sass-rails gem when LESS is selected? Will that break anything? Are there unseen consequences?

If you research this, I'd be happy to implement your suggestions.

DanielKehoe commented 10 years ago

I'm closing out old issues.