Why Rails fails with: ruby.exe has encountered a problem and needs to close. We are sorry for the inconvenience

徘徊边缘 提交于 2019-12-25 01:56:05

问题


I run a Rails 3 application on Windows XP and it fails sometimes with the following error:

This causes the WEBrick server to shutdown.

When I start the server again, sometimes the page loads as expected and sometimes it fails again with the same error.

I noticed that the error appears when I change one of the JavaScript files that belong to the loaded page.

What could be the reason for this ?

How could I debug this ?

My Ruby version is: ruby 1.9.2p0 (2010-08-18) [i386-mingw32].


回答1:


You need to check if your 1.9 minor version is stable. There have been some issues with unstable minor 1.9 versions of language before...



来源:https://stackoverflow.com/questions/5077996/why-rails-fails-with-ruby-exe-has-encountered-a-problem-and-needs-to-close-we

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