My website used to be working and Heroku precompiled the assets and everything. Now, seemingly out of nowhere, I started to get this message on deploy:
Preparing
For ruby 2.3.0 or lower versions are having the following line in application.rb file for Rails. But 2.4.0 or higher have implemented those as automated.
Bundler.require(*Rails.groups)
Changing the ruby version to 2.3.0 did the trick. This one saved my day.
upgrading to sass v3.2.12 did the trick for me
but overall, it looks like the issue is fixed on all current versions, just do a bundle update and you should be good.
I was truly desperate so I asked another question. Apparently this is caused by sass and downgrading to sass-rails v3.1.4 v3.2.5 will make it work.