title: JRuby 1.6.4 from source: undefined method `to_i' for Rational
body: <pre><code>irb(main):001:0&gt; test = (0/1).rationalize
  =&gt; (0/1)
  irb(main):002:0&gt; test.to_i
  NoMethodError: undefined method `to_i' for (0/1):Rational
          from (irb):2:in `evaluate'
          from org/jruby/RubyKernel.java:1093:in `eval'
          from org/jruby/RubyKernel.java:1419:in `loop'
          from org/jruby/RubyKernel.java:1205:in `catch'
          from org/jruby/RubyKernel.java:1205:in `catch'
          from C:\Development\jruby-1.6.4\bin\irb:13:in `(root)'
  irb(main):003:0&gt;
  </code></pre>
  
  <p>This works in JRuby 1.6.4 when installed normally, but after having built from source I get the error.</p>