Skip to content

Instantly share code, notes, and snippets.

@oojikoo-gist
Created January 6, 2016 03:30
Show Gist options
  • Save oojikoo-gist/7d4a438ee2d299d27eff to your computer and use it in GitHub Desktop.
Save oojikoo-gist/7d4a438ee2d299d27eff to your computer and use it in GitHub Desktop.
rails: bundle error on El Capitan
If..
bundle install will not work with if you because you recently updated to El Capitan 10.10
Your error message will look like this:
ERROR: "bundle install" was called with arguments ["json-1.8.3"] or this:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
To get around this issue try:
$xcode-select --install
$sudo chown -R (whoami):admin /usr/local
$sudo xcode-select --reset
$softwareupdate --install
$sudo xcodebuild -license
Then agree or disagree with Apples license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment