ruby - rails bundle error Gem::Installer::ExtensionBuildError: ERROR -


i'm trying install rails, have problem: ruby 2.0.0 rvm 1.19.6 gems 2.0.3 bundler 1.2.3 when run 'bundle install' or 'gem install json -v "1.7.7"', have:

 gem::installer::extensionbuilderror: error: failed build gem native extension.          /usr/bin/ruby1.9 extconf.rb  mkmf.rb can't find header files ruby @ /usr/lib64/ruby/include/ruby.h   gem files remain installed in /home/hiken/.bundler/tmp/16909/gems/json-1.7.7 inspection. results logged /home/hiken/.bundler/tmp/16909/gems/json-1.7.7/ext/json/ext/generator/gem_make.out error occurred while installing json (1.7.7), , bundler cannot continue. make sure `gem install json -v '1.7.7'` succeeds before bundling. 

when use ruby 1.9.3 have same errors. me, please

i have same problem you. problem has appeare cause of haven't ruby-dev , sqlite-dev libraries on local mashine. try install it"


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -