It might be documentation issue (I’m running into it too)
Someone suggested.
gem install mysql --no-rdoc --no-ri
It might be documentation issue (I’m running into it too)
Someone suggested.
gem install mysql --no-rdoc --no-ri
The solution I found for this problem (the [BUG] Segmentation fault
error) was to install Mysql 5.0.67 rather than the latest stable version
of Mysql 5.1.30.
Wes G. wrote:
Rick wrote:
ruby ./test.rb – localhost test test testDB
I get this when I run test.rb:
C:\ruby\lib\ruby\gems\1.8\gems\mysql-2.7.3-x86-mswin32\ext>ruby test.rb
– local
host test test testDB
Loaded suite test
Started
.FE…C:/ruby/lib/ruby/1.8/test/unit/assertions.rb:497: [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.Wes
Dave Min wrote:
The solution I found for this problem (the [BUG] Segmentation fault
error) was to install Mysql 5.0.67 rather than the latest stable version
of Mysql 5.1.30.Wes G. wrote:
Rick wrote:
ruby ./test.rb – localhost test test testDB
I get this when I run test.rb:
C:\ruby\lib\ruby\gems\1.8\gems\mysql-2.7.3-x86-mswin32\ext>ruby test.rb
– local
host test test testDB
Loaded suite test
Started
.FE…C:/ruby/lib/ruby/1.8/test/unit/assertions.rb:497: [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.Wes
I think the problem is the client version of libmysql.dll . If ruby is
using libmysql.dll 5.1.X from %PATH% or from \bin you get this
error. The solution is to replace this library with libmysql.dll 5.0.X.
I got mine from php installation and everything start running fine.
Saludos,
Jaime
This is a hack to avoid reinstalling the server again.
Jaime Jimmy wrote:
I think the problem is the client version of libmysql.dll . If ruby is
using libmysql.dll 5.1.X from %PATH% or from \bin you get this
error. The solution is to replace this library with libmysql.dll 5.0.X.
I got mine from php installation and everything start running fine.Saludos,
Jaime
This is a hack to avoid reinstalling the server again.
Downloading the libmysql.dll 5.0.X and saving it to \bin worked
for me also to resolve this same issue as hack to keep windows rails &
mysql version moving ahead.
/*
Joe Stein
http://www.linkedin.com/in/charmalloc
*/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs