thoughtbot / suspenders

A Rails template with our standard defaults.
https://thoughtbot.com
MIT License
4.01k stars 529 forks source link

Sass::SyntaxError: File to import not found or unreadable: refills/flashes. #568

Closed pbraswell closed 8 years ago

pbraswell commented 9 years ago

I'm trying to deploy to Heroku. I've done nothing but generate the app and am attempting to deploy. I get this:

Sass::SyntaxError: File to import not found or unreadable: refills/flashes.

I'm using suspenders v 1.28.0

Thanks, Peter

JoelQ commented 9 years ago

I think this is the same issue as https://github.com/thoughtbot/suspenders/issues/562

I think PR https://github.com/thoughtbot/suspenders/pull/552 is a proposed fix for this

pbraswell commented 9 years ago

Yep! Spot on.

The code in the pull request did the trick: rails generate refills:import flashes --only-stylesheets


Peter Braswell // peterbraswell.com http://www.peterbraswell.com

On Tue, May 19, 2015 at 3:11 PM, Joël Quenneville notifications@github.com wrote:

I think this is the same issue as #562 https://github.com/thoughtbot/suspenders/issues/562

I think PR #552 https://github.com/thoughtbot/suspenders/pull/552 is a proposed fix for this

— Reply to this email directly or view it on GitHub https://github.com/thoughtbot/suspenders/issues/568#issuecomment-103637187 .

tute commented 9 years ago

Yes, known issue, thanks for reporting! I'll close in favor of the PR. (--only-stylesheets is desired behavior for now, it doesn't work that way).

tute commented 8 years ago

This error is back in current master:

      create  config/initializers/rack_mini_profiler.rb
Set up stylesheets
Install Bitters
         run  bitters install --path app/assets/stylesheets from "."
Bitters files installed to app/assets/stylesheets/base/base
Install Refills
    generate  refills:import
W, [2016-07-19T21:22:59.497644 #30994]  WARN -- : [SKYLIGHT] [0.10.5] Running Skylight in development mode. No data will be reported until you deploy your app.
(To disable this message for all local apps, run `skylight disable_dev_warning`.)
Could not find generator 'refills:import'. Maybe you meant 'helper', 'generator' or 'rspec:model'
Run `rails generate --help` for more options.
      remove  app/views/refills
Copying miscellaneous support files

A good regression test should check for the existence of app/assets/stylesheets/refills/_flashes.scss.