Topic: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Just getting started with Rails.

I am getting this error when I browse to basically anywhere in the tutorial app.

Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

I am running on Vista 64 bit, and see the win32 reference in the error, would this be part or all of the problem?

Thans\ks,
Nick

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Here is what WEBrick spits out after the error

127.0.0.1 - - [04/Feb/2009:21:50:47 US Mountain Standard Time] "GET / HTTP/1.1"
304 0
- -> /
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:12
85: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Hi,

I have the same issue (I am on Vista 64b).
Did you find the answer?
Thanks.

Gilles.

Last edited by gkieffer (2009-02-16 19:14:29)

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Me too. I'm also on Vista 64 and I get this error if I run up a rails app, change the source and then try to reload the page. Mongrel dies in the process.

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Same problem here. Vista 32bit. I tried to run Aptana in XP Mode but doesnt help...

Last edited by stinson (2009-03-19 14:58:39)

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Has anyone solved this?

I'm getting the same error message on Win Vista 32-bit.

ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
Rails 2.2.2

JRuby works fine, but I can't use all my libraries, so that is not a viable long-term option.

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

Solved. MySQL 5.1 was causing this for me. I reverted back to an earler version of MySQL 5 (5.0.45  http://downloads.mysql.com/archives.php … ;v=5.0.45) and everything is now working fine. Also, when running the earlier version of MySQL, I didn't have to copy any MySQL DLLs into my ruby/bin directory as I did with 5.1. I also uninstalled and reinstalled the MySQL gem, but I can't say if that had any effect.

I should give all credit for this fix to Christopher Haupt. His post (http://www.buildingwebapps.com/articles … dows-vista) mentions issues with MySQL on Vista.

I tried many things to resolve this (different versions of Ruby, Rails, gems, etc and even an XP virtual machine), and this was the only thing that solved my problem. MySQL itself seemed to run fine, but there is definitely something funky with that version that is beyond my understanding.

I hope this helps others get their Rails installs on Vista with MySQL more stable.

-Ben Ridout

Last edited by one_too_many (2009-04-30 11:58:01)

Re: Error: Ruby interpreter (CUI) 1.8.6 [i386-mswin32] has stopped working

I followed the hint from one_too_many below and followed the instructions in http://www.buildingwebapps.com/articles