From: Alex Gutteridge Date: 2011-03-02T17:23:59+09:00 Subject: Re: trouble to install rsruby on windows XP On Wed, 2 Mar 2011 08:10:22 +0900, Luis Lavena wrote: > On Mar 1, 6:28 am, Alex Gutteridge wrote: >> >>  Hi Pascal, >> >>  As far as I know RSRuby doesn't install/work on Windows. It should >> be >>  possible to modify the source/build code to make it build, but I >> don't >>  have a Windows machine (or the time!) to do that work myself - >>  apologies. RSRuby does install fine on *nix based systems or if you >> are >>  tied to Windows I think RPy (the equivalent Python package) does >> install >>  on Windows. >> > > Hello Alex, > > Perhaps something like rake-compiler and it's cross-platform > compilation infrastructure can help you on that? > > http://github.com/luislavena/rake-compiler > > rake-compiler reduce the code required for extension compilation and > gem packaging plus additionally you can target Ruby versions of > Windows without the need of a real Windows machine > > (of course, just to compile, for testing and other it will require > WINE or Windows) > > This is been used by projects like DataMapper, SQLite3-Ruby, MySQL > gem, pg gem and others to deliver pre-compiled binaries and track > down > compilation issues on Windows. > > Nowdays Ruby on Windows has migrated to RubyInstaller, which uses GCC > as compiler toolchain, making things like porting more easy. > > As long this extension/gem is not doing sockets, threads or signals, > things should work smoothly with the above mentioned approach. > > If you want, I can provide guidance and support while you introduce > these changes. > > If interested, post to RubyInstaller list: > > http://groups.google.com/group/rubyinstaller > > Regards, > -- > Luis Lavena Thanks Luis - I'll take a look. -- Alex Gutteridge