rondevera / twig

Your personal Git branch assistant.
http://rondevera.github.io/twig/
MIT License
270 stars 16 forks source link

Error installing Gem on OS X Mavericks #36

Closed biannetta closed 10 years ago

biannetta commented 10 years ago

I am getting an error when installing the gem on OS X Mavericks:

clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

Googling suggest that this is an error with Xcode 5.1. Any suggestions?

biannetta commented 10 years ago

Solved it, you can pass in the following flag before gem install and it will work

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install