Actions
Bug #10834
closedSegmentation fault when I try to do rails server in Windows 7 home edition 64bits
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
Description
I've had installed Ruby Installer 2.1 then DevKit, after that rubyGem last version, then rails 4.0.0, after that MySQL Community Server 5.6.23 for windows,
then I download mysql-connector-c-6.1.5-winx64
and extract in C:\mysql-connector
I've copied C:\mysql-connector\lib\libmysql.dll
to my Ruby
folder C:\Ruby21-x64\bin
and I execute in cmd.exe this command gem install mysql2 --platform=ruby -- '--with-mysql-dir="C:\mysql-connector"'
and everything was right.
Then I create a project:
C:\Sites\>rails new example -d mysql
C:\Sites\>bundle install
I edit database.yml like this:
development:
adapter: mysql2
encoding: utf8
database: ruby_example
pool: 5
username: root
password: test
host: localhost
When I run
C:\Sites\>rails server
this is the output:
C:/Ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/mysql2-0.3.17/mysql2/mysql2.so: [BUG] Segmentation fault
ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
(snip)
Files
Updated by phasis68 (Heesob Park) over 9 years ago
I guess this issue is a duplicate of https://bugs.ruby-lang.org/issues/8591
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- File bug-10834.log bug-10834.log added
- Description updated (diff)
- Status changed from Open to Third Party's Issue
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Is duplicate of Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32] added
Actions
Like0
Like0Like0Like0