After installing OSX Mavericks 10.9 demo, Im getting this after running bundle
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native ext
If you're using Ruby version manager (rvm) the following worked for me.
Before you run the following, be sure to verify the symbolic link in /Users/yourusername/.rvm/rubies/. Mine looks like this...
default -> /Users/yourusername/.rvm/rubies/ruby-1.9.3-p429
If your sym link isn't set correctly, you can set it using...
cd /Users/yourusername/.rvm/rubies/
ln -s /Users/yourusername/.rvm/rubies/ruby-1.9.3-p429 default
Then run the following from the command line
rvm system
rvm gemset export system.gems
rvm 1.9.3 #use your Ruby version here
rvm gemset import system.gems
now you should be ready to install your gems
gem install yourgemname