[fxruby-users] Will FXRuby be ready to use with Ruby 2.0.0 x64 and x32 on Windows?

Damián M. González gonzalezdamianm at hotmail.com
Tue Feb 26 02:20:17 UTC 2013

 Hi Lars, people. I've realized that currently the gem(version 1.6.26) doesn't work with Ruby 2.0.0 in Windows 32 bits, neither the 64 bits version, I'm talking about the versions listed here: http://rubyinstaller.org/downloads/ . There you can see both versions of Ruby and also the both versions of the DevKit: mingw64-32 and mingw64-64. I've tested with both cases and in none of them the gem can be installed, it raises and error(now I'm not in my computer so can't show it, sorry) about compilation. Let me guide you through my investigation about why it doesn't work: first I though that was a DevKit problem, so I've openned an issue in the bug tracker getting quickly answers: https://github.com/oneclick/rubyinstaller/issues/152 , the important part of that topic is: 
 "Emphasis on existing pre-compiled gems will not work.You need to read each gem documentation for the requirements. I guess fxruby will require you have headers and libraries for fx to build GUI applications, so can't comment further on the requirements.Again, 2.0.0 is brand new, lot of things might not work, but basic Ruby + DevKit setup should work out of the box along the installation instructions."
  second: I've read this topic where a Ruby user have the same problem but with another gem(sqlite3): http://www.ruby-forum.com/topic/4411307#new. The most important thing of the topic is:
 "On Sun, Feb 24, 2013 at 6:58 PM, Richard Campbell <betam4x at gmail.com> wrote:
> Awesome!  Great work!  Though I am already having issues with the 64 bit
> version and sqlite3.

sqlite3 gem?

As indicated in the "Important Notes", existing pre-compiled gems will
not work with Ruby 2.0 as the gems do not contain pre-compiled
extension for it.

You need to force compilation, which requires you install development
headers and libraries that are dependencies of the gem/extension
you're trying to compile.

So: to compile sqlite3 for Ruby 2.0, you need:

* sqlite3 headers and libraries compiled and available
* force installation of sqlite3 to use "ruby" platform (as indicated
in the notes) and provide the directory where it will find sqlite3
headers and libraries.

For sqlite3 will be something like

gem install sqlite3 --platform=ruby --

See the documentation of each gem about that."
  So as I'm not familiar with the libraries and headers of the C++ fox toolkit, I have no idea what to do. I'm wondering if will be an update of the gem to be supported with the new version of Ruby and the news DevKit. Thank you so much.
 Kind regards. Damián. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20130225/b4aa3470/attachment.html>

More information about the fxruby-users mailing list