Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sudo gem install rails
Last login: Fri Mar 28 17:18:26 on console
Brandon-Courtneys-MacBook-Pro:~ brandoncourtney$ sudo gem install rails
Sorry, try again.
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.16 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/atomic-1.1.16/ext/gem_make.out
Brandon-Courtneys-MacBook-Pro:~ brandoncourtney$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment