“rake aborted! stack level too deep” while deploying to Heroku

痴心易碎 提交于 2019-12-02 20:37:37
Ashitaka

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.

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!