jeudi 11 février 2016

RoR rake assets precompile nos finding existing partial

thank everyone for your help.

I'am trying to precompile some assets in a RoR website so I can update it but during this process a sass partial is not found even though it exists.

bundle exec rake assets:precompile RAILS_ENV=production will give me the following error

/usr/local/bin/ruby1.9/home/chipichipi09/webapps/doctoragourmet/gems/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
File to import not found or unreadable: partials/normalize.
Load paths:
    /home/chipichipi09/webapps/doctoragourmet/doctora_gourmet
    /home/chipichipi09/webapps/doctoragourmet/gems/bundler/gems/active_admin-effd224d9ec0/app/assets/stylesheets

(in /home/chipichipi09/webapps/doctoragourmet/doctora_gourmet/app/assets/stylesheets/cssfiles/application.css)

File applications.css.scss includes normalize file like this

@import "partials/normalize";

and partials folder has the following files in it

  • partials
    • _customs_mixins.scss
    • _icons.scss
    • _normalize.scss

Any idea?

thanks

Aucun commentaire:

Enregistrer un commentaire