Error to install Nokogiri on OSX 10.9 Maverick?

You can also install Nokogiri on Mac OS X 10.9 Mavericks with full XCode Install using: gem install nokogiri — –with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 Update For those using Yosemite the following command will work: gem install nokogiri — –with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 –use-system-libraries or, it might actually be in your MacOSX10.11.sdk folder (mine was as of 18-Sep-2015) anyways, so even if … Read more

Error opening iOS Simulator with iOS 8 beta version: “Unable to boot the iOS Simulator”

After I found some solutions on the web, a combination of procedures worked for me: Close Xcode and iOS Simulator (and all related applications) Install (or reinstall) Xcode6-Beta to Applications folder (direct from the .dmg file) Open Xcode6-Beta and go to Xcode -> Preferences -> Locations -> Command Line Tools and select “Xcode 6.0” (be … Read more

Error executing command ‘ant’ on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova

The error message proved to be true as Apache Ant isn’t in the path of Mac OS X Mavericks anymore. Bulletproof solution: Download and install Homebrew by executing following command in terminal: ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Install Apache Ant via Homebrew by executing brew install ant Run the PhoneGap build again and it should … Read more

“‘cc’ failed with exit status 1” error when install python library

Run these two lines in your shell before you build: export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments Those exports tell the compiler to ignore unused arguments rather than complaining about them. The reason seems to be that Python is compiling modules using the options that it was built with, except one of those options no longer works in … Read more