Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created August 18, 2015 07:50
Show Gist options
  • Save anonymous/1269299c0baea8376656 to your computer and use it in GitHub Desktop.
Save anonymous/1269299c0baea8376656 to your computer and use it in GitHub Desktop.
[root@localhost php-5.2.17]# gem install rails -v 3.2.13
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/json-1.8.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/json-1.8.3/ext/json/ext/generator/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment