Here is the contents of the mkmf.log file:
"gcc -o conftest -I/Users/jlee/.rvm/rubies/ruby-2.2.3/include/ruby-2.2.0/x86_64$
clang: error: unknown argument: '-02'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
I ran this as follows:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install nokogiri
xcode-selet --install was run and all is updated and as it should be, so I'm a bit confused. Suggestions?