Skip to content

Instantly share code, notes, and snippets.

@eby
Last active December 16, 2015 00:39
Show Gist options
  • Save eby/5349764 to your computer and use it in GitHub Desktop.
Save eby/5349764 to your computer and use it in GitHub Desktop.
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

    $@

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment