title: Jruby on Mountain Lion
body: <p>I have installed rbenv an am successfully running </p>
  
  <p>ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.3.0]</p>
  
  <p>as shown through terminal using "ruby -v"</p>
  
  <p>However, in trying to add any jruby-1.7.x using both "ruby-build" or "rbenv install" it get this:</p>
  
  <pre><code>BUILD FAILED
  
  Inspect or clean up the working tree at /var/folders/b2/1nykqqwd3934197qf_3vm1y80000gn/T/ruby-build.20130423121331.57961
  Results logged to /var/folders/b2/1nykqqwd3934197qf_3vm1y80000gn/T/ruby-build.20130423121331.57961.log
  
  Last 10 log lines:
  rm -f build/unix/Darwin/argparser.o.d
  g++ -O2 -Wall  -I'/Users/donaldtyson/.rbenv/versions/jruby-1.7.1/include'   -c argparser.cpp -MMD -MP -MF build/unix/Darwin/argparser.o.d -o build/unix/Darwin/argparser.o
  make[2]: g++: Bad CPU type in executable
  make[2]: *** [build/unix/Darwin/argparser.o] Error 1
  make[1]: *** [.build-conf] Error 2
  make: *** [.build-impl] Error 2
  
  
  Gem files will remain installed in /Users/donaldtyson/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/jruby-launcher-1.0.15-java for inspection.
  Results logged to /Users/donaldtyson/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/jruby-launcher-1.0.15-java/./gem_make.out
  </code></pre>
  
  <p>I suspect something is wrong with my installation of Java or GCC</p>