OS X El Capitan – gem install error ld: library not found for -l

You will get this error, if you haven’t updated/installed your command line tools.

Follow the following steps

  • Then open Xcode > Preferences > Downloads > Command Line Tools or execute in Terminal:
    xcode-select --install
  • Select Xcode > Preferences > Locations > Command Line Tools
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *