# Ruby interpreter error on Windows Vista

**URL:** <https://www.ruby-forum.com/t/ruby-interpreter-error-on-windows-vista/177871>\
**Category:** Ruby\
**Created:** [October 26, 2009, 2:43am UTC](https://www.ruby-forum.com/t/ruby-interpreter-error-on-windows-vista/177871 "2009-10-26T02:43:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schalk\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Post date:** [October 26, 2009, 2:43am UTC](https://www.ruby-forum.com/t/ruby-interpreter-error-on-windows-vista/177871/1 "2009-10-26T02:43:30Z")

</div>

Hi there everyone,

I have had a stable dev environment for some time now, well until my  
laptop was stolen ☹ I am in the process of getting everything set-up  
again but I am facing a problem with the Ruby interpreter. I am using  
1.8.6 patch level 111, I switched back from MySQL 5.1 to a 5.0 version,  
I have the MySQL gem 2.8.1 installed with Rails 2.3.4. When running any  
Rails app, have so far just used it with Mongrel as the server, I get  
the following error:

C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active\_support/multibyte/chars.rb:158:  
[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.

Any ideas on how I can go about resolving this? I am in the process of  
getting VirualBox so I can run Ubuntu in there and use it for all my  
Ruby/Rails development but, I would love to have this issue on Windows  
resolved in the mean time.

Thank you,  
Schalk

---

<div class="post-metadata">

**Author:** ![Schalk\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Post date:** [October 26, 2009, 4:58am UTC](https://www.ruby-forum.com/t/ruby-interpreter-error-on-windows-vista/177871/2 "2009-10-26T04:58:09Z")

</div>

On Oct 25, 10:43 pm, Schalk N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active\_support/multi byte/chars.rb:158:  
> [BUG] Segmentation fault  
> ruby 1.8.6 (2007-09-24) [i386-mswin32]

If you’re getting segmentation faults, seems to me your MySQL 5.1  
installation still interferes with MySQL gem 2.8.1

Please verify that “libmysql.dll” that is available in your PATH is  
for MySQL 5.0, not 5.1

---

<div class="post-metadata">

**Author:** ![Schalk\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Post date:** [October 26, 2009, 10:00am UTC](https://www.ruby-forum.com/t/ruby-interpreter-error-on-windows-vista/177871/3 "2009-10-26T10:00:45Z")

</div>

Hi Luis,

I completely removed MySQL 5.1, reconfigured the 5.0 instance and the  
copied the libmysql.dll to ruby/bin and everything is working! Thanks!

Schalk
