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
Actions
Like0
Like0Like0Like0