<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,7 +42,7 @@ unless java
   gem 'rake-compiler', '&gt;= 0.4.1'
   require &quot;rake/extensiontask&quot;
 
-  Rake::ExtensionTask.new(&quot;nokogiri&quot;, HOE.spec) do |ext|
+  RET = Rake::ExtensionTask.new(&quot;nokogiri&quot;, HOE.spec) do |ext|
     ext.lib_dir                         = &quot;ext/nokogiri&quot;
     ext.gem_spec.required_ruby_version  = &quot;~&gt; #{RUBY_VERSION.sub(/\.\d+$/, '.0')}&quot;
     ext.config_options &lt;&lt; ENV['EXTOPTS']
@@ -57,6 +57,14 @@ unless java
       &quot;--with-xslt-dir=#{File.join(cross_dir, 'libxslt')}&quot;
   end
 
+  task :muck_with_lib_dir do
+    RET.lib_dir += &quot;/#{RUBY_VERSION.sub(/\.\d$/, '')}&quot;
+    FileUtils.mkdir_p(RET.lib_dir)
+  end
+  if Rake::Task.task_defined?(:cross)
+    Rake::Task[:cross].prerequisites &lt;&lt; &quot;muck_with_lib_dir&quot;
+  end
+
 end
 
 namespace :gem do</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>454c543fc623578a1e42a007b9ad05e4f141af45</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </author>
  <url>http://github.com/tenderlove/nokogiri/commit/fb709d625000ca57b7dec7b45d1e52c80bb0cd5a</url>
  <id>fb709d625000ca57b7dec7b45d1e52c80bb0cd5a</id>
  <committed-date>2009-05-07T11:17:47-07:00</committed-date>
  <authored-date>2009-05-07T11:17:47-07:00</authored-date>
  <message>adding fat binary awesomeness</message>
  <tree>871ba7270fa06eee804804970b1b1b15b05fea4c</tree>
  <committer>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </committer>
</commit>
