title: Installing RAILS on MAC OS 10.9 Mavericks (beta)
body: <p>I'm running OS X Mavericks 10.9 beta and now is a good time to get back to learning Ruby on Rails. Happy to know that 10.9 includes Ruby 2.0</p>
  
  <p>But I'm having trouble installing Rails.</p>
  
  <p>using the command - sudo gem install rails</p>
  
  <p>results in this..</p>
  
  <p>Building native extensions.  This could take a while...
  ERROR:  Error installing rails:
  ERROR: Failed to build gem native extension.</p>
  
  <p>/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
  mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h</p>
  
  <p>Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.10 for inspection.
  Results logged to /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.10/ext/gem_make.out</p>
  
  <p>Any advice?</p>
  
  <p>Thanks</p>
  
  <p>Shannon</p>