Skip to content

Instantly share code, notes, and snippets.

@eby
eby / xcrun.md
Last active December 16, 2015 00:39
gem build fails on osx complains about xcode-select / xcrun

When installing certain gems it complained about xcode files (I only installed command line tools)

  • give it the path to the command line tools

    xcode-select --switch /usr/bin

  • replace xcrun with bash script to get rid of "failed to exec real xcrun" error

    #!/bin/bash