<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,6 +10,8 @@ require 'pallet'
 # Load other build files
 Dir.glob(&quot;build/*.rake&quot;).each {|x| load x}
 
+# Include JRuby packaging, but doesn't work on MRI
+require 'rawr' if ruby_runtime == :jruby
 
 ### Constants
 </diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -18,12 +18,20 @@
 #   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             #
 ###########################################################################
 
+
+def ruby_runtime
+	# FIXME: Rubinius? IronRuby?
+	return :jruby if RUBY_PLATFORM =~ /java/
+	return :mri
+end
+
 def os
-	return :linux if RUBY_PLATFORM =~ /linux/
-	return :osx if RUBY_PLATFORM =~ /darwin/
-	return :solaris if RUBY_PLATFORM =~ /solaris/
-	return :bsd if RUBY_PLATFORM =~ /bsd/
-	return :windows if RUBY_PLATFORM =~ /win/
+	host_os = Config::CONFIG['host_os']
+	return :linux if host_os =~ /linux/
+	return :osx if host_os =~ /darwin/
+	return :solaris if host_os =~ /solaris/
+	return :bsd if host_os =~ /bsd/
+	return :windows if host_os =~ /win/
 end
 
 def get_install_prefix</diff>
      <filename>build/platform.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5f2f948e6a0ef7c801e310c9dd55f08a4bf97d28</id>
    </parent>
  </parents>
  <author>
    <name>Paul Betts</name>
    <email>paul@paulbetts.org</email>
  </author>
  <url>http://github.com/xpaulbettsx/yikes/commit/c6543cc43fa258e1c138a2e091d2824e9760c7b0</url>
  <id>c6543cc43fa258e1c138a2e091d2824e9760c7b0</id>
  <committed-date>2008-06-17T08:22:01-07:00</committed-date>
  <authored-date>2008-06-17T08:22:01-07:00</authored-date>
  <message>Add Rawr to Rakefile if we're running JRuby</message>
  <tree>79152b442c7efb797a51cc97c204592227e9be86</tree>
  <committer>
    <name>Paul Betts</name>
    <email>paul@paulbetts.org</email>
  </committer>
</commit>
