Rails 4 exception stack traces don't show in development

前端 未结 10 1666
星月不相逢
星月不相逢 2021-02-19 18:52

I\'m following the rails tutorial book and using the c9.io web IDE as I follow the tutorials. While working on my sample application, I noticed that exceptions aren\'t being sho

10条回答
  •  感动是毒
    2021-02-19 19:50

    Try to let just config.consider_all_requests_local = true (in config/environments/development.rb)

    and remove this line config.log_level = :debug (in config/environments/development.rb)

    also, you can try with the gem better errors to see if it fix the problem https://github.com/charliesome/better_errors

    if this doesn't fix it, run a "bundle update" in general, to see if there is a gem that is causing problems

提交回复
热议问题