Created
August 7, 2014 13:19
-
-
Save satzz/261b4cba289a4b2ff3a9 to your computer and use it in GitHub Desktop.
"mkmf.rb can't find header files for ruby"の対応 ref: http://qiita.com/satzz@github/items/0361a7093a57b459e15b
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
$ gem install bson_ext -v '1.10.2' | |
Building native extensions. This could take a while... | |
ERROR: Error installing bson_ext: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby2.0 extconf.rb | |
mkmf.rb can't find header files for ruby at /usr/share/ruby/include/ruby.h | |
Gem files will remain installed in /home/ec2-user/.gem/ruby/2.0/gems/bson_ext-1.10.2 for inspection. | |
Results logged to /home/ec2-user/.gem/ruby/2.0/gems/bson_ext-1.10.2/ext/cbson/gem_make.out | |
$ less /home/ec2-user/.gem/ruby/2.0/gems/bson_ext-1.10.2/ext/cbson/gem_make.out | |
/usr/bin/ruby2.0 extconf.rb | |
mkmf.rb can't find header files for ruby at /usr/share/ruby/include/ruby.h |
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
$ sudo yum -y install ruby-devel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment