Project

General

Profile

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 bidesh mondal over 2 years ago. Updated over 2 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
[ruby-core:<unknown>]

Description

HI ALL,
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

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html


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) 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

History

#1 Updated by Luis Lavena over 2 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 Luis Lavena over 2 years ago

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

#3 Updated by bidesh mondal over 2 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 bidesh mondal over 2 years ago

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

#5 Updated by Heesob Park over 2 years ago

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

#6 Updated by Nobuyoshi Nakada over 2 years ago

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

#7 [ruby-core:63240] Updated by Nobuyoshi Nakada over 2 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