我试图安装rails,但有一些问题: ruby 2.0.0 rvm 1.19.6 gems 2.0.3 bundler 1.2.3
当我运行'bundle install'或'gem install json -v 1.7.7“ ',我有:rails捆绑错误Gem :: Installer :: ExtensionBuildError:错误
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9 extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib64/ruby/include/ruby.h
Gem files will remain installed in /home/Hiken/.bundler/tmp/16909/gems/json-1.7.7 for inspection.
Results logged to /home/Hiken/.bundler/tmp/16909/gems/json-1.7.7/ext/json/ext/generator/gem_make.out
An error occurred while installing json (1.7.7), and Bundler cannot continue.
Make sure that `gem install json -v '1.7.7'` succeeds before bundling.
当我使用红宝石1.9.3我有同样的错误。 帮助我,请