Last active
August 29, 2015 13:57
-
-
Save carbone/aae6f468623e0c7735fd to your computer and use it in GitHub Desktop.
Installing jekyll on OSX Mavericks with Xcode 5.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### When trying to install Jekyll with Xcode 5.1 I was getting the following error. ###### | |
Foo:~ john$ gem install jekyll | |
Password: | |
Building native extensions. This could take a while... | |
ERROR: Error installing jekyll: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb | |
creating Makefile | |
make "DESTDIR=" clean | |
make "DESTDIR=" | |
compiling porter.c | |
porter.c:359:27: warning: '&&' within '||' [-Wlogical-op-parentheses] | |
if (a > 1 || a == 1 && !cvc(z, z->k - 1)) z->k--; | |
~~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~ | |
porter.c:359:27: note: place parentheses around the '&&' expression to silence this warning | |
if (a > 1 || a == 1 && !cvc(z, z->k - 1)) z->k--; | |
^ | |
( ) | |
1 warning generated. | |
compiling porter_wrap.c | |
linking shared-object stemmer.bundle | |
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 | |
make: *** [stemmer.bundle] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/fast-stemmer-1.0.2 for inspection. | |
Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/fast-stemmer-1.0.2/gem_make.out | |
###### This solved it for me. Didn't see it documented elsewhere yet. ###### | |
Foo:~ john$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install jekyll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment