Cross compile instructions:
$ rake-compiler cross-ruby VERSION=1.8.6-p383 $ rake-compiler cross-ruby VERSION=1.9.1-p243 $ rake cross compile RUBY_CC_VERSION=1.8.6:1.9.1 $ rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.1
Then you should have the cross compiling gem under pkg. You can check that the gem has the correct .so, .dll, and the windows nokogiri/nokogiri.rb stub by doing: