rake assets:precompile throws Sass::SyntaxError: Invalid CSS after “*/”

后端 未结 6 1328
小鲜肉
小鲜肉 2021-01-02 04:21

I hope this isn\'t a duplicate problem; I\'ve tried other solutions on SO with no effect

When pushing my app to Heroku, the push has failed because applicat

6条回答
  •  甜味超标
    2021-01-02 04:59

    I'm a newbie to rails and was having a similar issue when pushing to heroku. A friend looked at my application.css file and noticed that I had

    *= require bootstrap

    and

    *= require bootstrap-datetimepicker

    below the */

    Removing them allowed me to push successfully.

提交回复
热议问题