Bug #9411

Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)

Added by bideshstr (bidesh mondal) over 3 years ago. Updated about 3 years ago.

Third Party's Issue
Target version:


I am facing some problem when installing rails app with mysql in windows7 64 bit machine. Can any one check the issue.
O.S- Windows 7 (64 bit)
Ruby - ruby 2.0.0p353 (2013-11-22) [x64-mingw32]
Rails - Rails 4.0.2
Mysql - MySQL Server 5.6
with mysql2 gems

Please check the below mentioned logs

You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

bug-9411.log View (15.6 KB) nobu (Nobuyoshi Nakada), 06/19/2014 10:22 AM

Related issues

Duplicates Ruby trunk - Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32] Third Party's Issue 07/02/2013


#1 Updated by luislavena (Luis Lavena) over 3 years ago

  • Status changed from Open to Feedback
  • Priority changed from 6 to Normal

Please provide details on how you build or compiled mysql2 gem for 64bits Ruby.

Asking this because MySQL Connector/C code for 64bits provides a linking library that is not compatible with x64-mingw32 and require extra steps.

#2 Updated by luislavena (Luis Lavena) over 3 years ago

  • ruby -v changed from (ruby 2.0.0p353 (2013-11-22) [x64-mingw32] to -

#3 Updated by bideshstr (bidesh mondal) over 3 years ago

C:\rails_app\windows_app\glad3>gem install mysql2 --platform=ruby -- ' --with-my
sql-dir="c:\Program Files\MySQL\MySQL Connector C 6.1.3"'

#4 Updated by bideshstr (bidesh mondal) over 3 years ago

Also I have copy a file from mysql connector "libmysql.dll" and past inside C:\Ruby200-x64\bin DIR

#5 Updated by phasis68 (Heesob Park) over 3 years ago

It seems that this issue is a duplicate of Bug #8591

#6 Updated by nobu (Nobuyoshi Nakada) over 3 years ago

  • Duplicates Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32] added

#7 [ruby-core:63240] Updated by nobu (Nobuyoshi Nakada) about 3 years ago

  • File bug-9411.log View added
  • Description updated (diff)
  • Status changed from Feedback to Third Party's Issue

Also available in: Atom PDF