Project

General

Profile

Actions

Bug #9411

closed

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) about 10 years ago. Updated almost 10 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
[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.

Files

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

Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]Third Party's Issuewindows07/02/2013Actions
Actions #1

Updated by luislavena (Luis Lavena) about 10 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.

Actions #2

Updated by luislavena (Luis Lavena) about 10 years ago

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

Updated by bideshstr (bidesh mondal) about 10 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"'

Actions #4

Updated by bideshstr (bidesh mondal) about 10 years ago

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

Actions #5

Updated by phasis68 (Heesob Park) about 10 years ago

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

Actions #6

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

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

Updated by nobu (Nobuyoshi Nakada) almost 10 years ago

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0