=begin
Scenario : run existing ROR application on windows 7 with Service Pack 1 installed (all windows updates were done)
(this same application works fine on xp and ubuntu)
Note: I have installed on my machine mysql 5.1
Steps followed by us:
Installed latest ruby (rubyinstaller-1.9.2-p180.exe) for windows on windows 7 machine with Path option checked. (c:\Ruby192)
[Command] ruby -v
[Output]: ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
started ruby console with admin rights to upgrade all the gems(followed instructions from Apress.Beginning.Rails.3.Sep.2010.pdf):
gem update --system
gem sources -a http://gemcutter.org
gem install rails
rails -v
[Output]: Rails 3.0.6
download latest devkit(DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe) and run all the requested install comands (c:\DevKit)
ruby dk.rb init
ruby dk.rb install
gem install rdiscount --platform=ruby #used to verify it installed correctly
In application directory (path doesn't contains spaces) run the following commands
bundle install
rails s
The last command is returning the following error:
rails s
Booting WEBrick
Rails 3.0.6 application starting in development on http://0.0.0.0:3000
Call with -d to detach
Ctrl-C to shutdown server
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.6/lib/active_support/core_ext/module/introspection.rb:79: [BUG] Segmentation fault
ruby 1.9.2p180 (2011-02-18) [i386-mingw32].......I've attached all the command output in a file.
=end
The DEP is enabled by default, I've added the ruby executable to the DEP rules.
After windows restart the error is still reproducing in the same manner.
Unfortunatelly, I can't provide you access to the project source files. (Rails 3 application as you mentioned)
If you have any other suggestion I could try it would be great, I'm forced to work on 2 systems in the meantime.
The issue is solved now.
I've copied the libmysql.dll from another Windows machine with mysql 5.0 instaled version into the Ruby bin directory and this fixed the problem.
I appreciate the effort for helping me solve this issue.
=end
Is a bummer the issues related to the MySQL DLL binary compatibility and the segfaults it generates, I hope have time to work on an update to that that is more clear and solve the problem moving forward for everybody.