Ruby interpreter error on Windows Vista

S

Schalk Neethling

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
 
L

Luis Lavena

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/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
 
S

Schalk Neethling

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

Luis said:
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/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

--
Luis Lavena


------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.698 / Virus Database: 270.14.32/2459 - Release Date: 10/25/09 21:57:00
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top