From: Roger Pack Date: 2010-01-25T23:01:26+09:00 Subject: Re: Ruby c extensions on windows > How can I tell what the underlying compiler to Ruby is/was since I want > to have extensions that will run in this environment? one possibility: >> Gem::Platform.local => # (the mingw32 means it was build using mingw gcc -- I "think" that instant rails used MSVC 6.0) > Can Instant rails use Ruby 1.9? Probably not trivially. > Is there a step-by-step written anywhere about how to write an extension > in the Windows environment? The kicker if you want to use instant rails is you'll need to compile your stuff using the same compiler that compiled the ruby.exe of instant rails, which...is old and hard to find. I'd recommend download the newer versions of ruby [mingw] + devkit, and google for "ruby c extension" -- once it's all installed you should be able to build it using > ruby extconf.rb > make on the command line. -r -- Posted via http://www.ruby-forum.com/.