Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working (I am not using MySQL)

后端 未结 5 1065
南方客
南方客 2021-02-14 18:06

My ruby interpreter is crashing on almost every page request with the following error: Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working

I am not using

5条回答
  •  孤独总比滥情好
    2021-02-14 18:38

    Ok, i found the issue. My css links somehow caused the windows ruby interpreter to crash if the media attribute isn't defined on more than 1 link (crazy!).

    Original (crashes):

    link rel="stylesheet" href="/stylesheets/jqModal.css" type="text/css"
    link rel="stylesheet" href="/stylesheets/main.css" type="text/css"
    

    Modified (doesn't crash):

    link rel="stylesheet" href="/stylesheets/jqModal.css" type="text/css" media="screen, projection"
    link rel="stylesheet" href="/stylesheets/main.css" type="text/css" media="screen, projection"
    

    Here's some insight into the same (or similar) issue.

    Seems to be windows specific (again!) according to the post.

提交回复
热议问题