Ruby interpreter error on Windows Vista

Hi there everyone,

I have had a stable dev environment for some time now, well until my
laptop was stolen :frowning: 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

On Oct 25, 10:43 pm, Schalk N. [email protected]
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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs