Re: Ruby interpreter error on Windows Vista



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 Lavena wrote:
On Oct 25, 10:43 pm, Schalk Neethling <sch...@xxxxxxxxxxxxxxxxxx>
wrote:
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


.



Relevant Pages

  • Re: require mysql do not work
    ... Luis Lavena ... Now I am starting to use mysql. ... I have installed it with gem install mysql, ... mysql being installed as gem require you first load rubygems to work ...
    (comp.lang.ruby)
  • Re: Mysql & Ruby in windows, its possible ?!
    ... Luis Lavena wrote: ... I have mysql gem installed and mysql binary is new. ... FYi, if you're using MySQL 5.1 windows Mysql gem will not work, there ...
    (comp.lang.ruby)
  • Re: ruby mysql error
    ... [BUG] ... Segmentation fault ... Please contact the application's support team for more information. ... Subject: ruby mysql error ...
    (comp.lang.ruby)
  • Re: reducing size of apache instances
    ... Try sorting top by SIZE ... Well the biggest SIZE process is mysql, followed by three mongrel instances, and then a bunch of httpd processes. ... Mysql is optimized for a small server, there isn't much I can do about the size of the Rails app, so the apache instances seemed like the logical place to start. ...
    (freebsd-questions)
  • Re: ruby mysql error
    ... Segmentation fault ... Please contact the application's support team for more information. ... so i assume you did "gem install mysql" or something similar. ...
    (comp.lang.ruby)