Skip to content

Instantly share code, notes, and snippets.

@superscott
Last active December 14, 2015 08:49
Show Gist options
  • Save superscott/5060354 to your computer and use it in GitHub Desktop.
Save superscott/5060354 to your computer and use it in GitHub Desktop.
gem install error?
cat /Users/.rvm/gems/ruby-2.0.0-p0@gems/gems/therubyracer-0.11.4/ext/v8/gem_make.out
/Users/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for main() in -lpthread... yes
checking for main() in -lobjc... yes
creating Makefile
make
compiling accessor.cc
accessor.cc:1: error: bad value (corei7) for -march= switch
accessor.cc:1: error: bad value (corei7) for -mtune= switch
make: *** [accessor.o] Error 1
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/Users/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
checking for main() in -lpthread... yes
checking for main() in -lobjc... yes
creating Makefile
make
compiling accessor.cc
accessor.cc:1: error: bad value (corei7) for -march= switch
accessor.cc:1: error: bad value (corei7) for -mtune= switch
make: *** [accessor.o] Error 1
Gem files will remain installed in /Users/.rvm/gems/ruby-2.0.0-p0@gems/gems/therubyracer-0.11.4 for inspection.
Results logged to /Users/.rvm/gems/ruby-2.0.0-p0@gems/gems/therubyracer-0.11.4/ext/v8/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment