Rails doesn't log template errors in development mode

前端 未结 1 937
野性不改
野性不改 2021-01-27 19:31

My Rails 3.2.9-app does not show any specific error information to me on errors in templates! It doesn\'t matter if I use haml or erb, I am always getting

<
相关标签:
1条回答
  • 2021-01-27 19:45

    I finally solved this problem!! All in all, I searched for more than 1 year, but now, i finally got the solution:

    The problem is to use umlauts or blank spaces in the path of the rails project. If you move your rails project to a path without umlauts or blanks, the error message should be shown properly :-)!

    Tested on ubuntu-machine, maybe this is important for this bug. This bug appears in rails 3.2.9, 3.2.13 and 3.2.14 definitely.

    (consider_all_requests_local is activated of course, this never was the reason)

    0 讨论(0)
提交回复
热议问题