"rails g controller|scaffold ..." fails with "scss [not found]" error · Issue #74 · sass/sassc-rails (original) (raw)
Thanks for your work on sassc-rails! We switched over to using it as a default on all new projects.
When using rails generators, we noticed that generating views fails with a "scss [not found]" error.
% rails g controller Widgets index show
Running via Spring preloader in process 65874
create app/controllers/widgets_controller.rb
route get 'widgets/show'
route get 'widgets/index'
invoke slim
create app/views/widgets
create app/views/widgets/index.html.slim
create app/views/widgets/show.html.slim
invoke rspec
invoke assets
invoke coffee
create app/assets/javascripts/widgets.coffee
error scss [not found]
This works using sass-rails. If sassc-rails is a drop in replacement for sass-rails, it seems to me that adding support for the generator would be a good idea.
If you agree, I can look into what it would take. LMK.