Closed Conky5 closed 11 years ago
In RubyInstaller 2.0.0 release notes:
https://groups.google.com/d/topic/rubyinstaller/mg5ailNICvM/discussion
Existing pre-compiled gems are not Ruby 2.0 compatible
Ruby 2.0 introduces ABI breakage which means compiled C extensions with previous
1.9.3 will work with Ruby 2.0.
DO NOT install Ruby 2.0 on top of existing Ruby 1.9.3, or try to use compiled
extensions with it.
You will be required to force compilation of those gems:
gem install <name> --platform=ruby
This will require you have the extra dependencies required for that gem to
compile. Look at the gem documentation for the requirements.
This is similar to luislavena/sqlite3-ruby#82
You can force compilation by adding --platform=ruby
during gem installation
Refer to the following post on how to use Connector/C to compile mysql gem:
http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/