Skip to content

"rails g controller|scaffold ..." fails with "scss [not found]" error #74

@christiannelson

Description

@christiannelson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions