I'm running a VPS with CentOS running, and I can not seem to get out of this error:
[athos@athoscastro bin]$ gem install rails
Fetching: nokogiri-1.6.6.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
Gem files will remain installed in /home/athos/.gem/ruby/gems/nokogiri-1.6.6.2 for inspection.
Results logged to /home/athos/.gem/ruby/gems/nokogiri-1.6.6.2/ext/nokogiri/gem_make.out
I have all dependencies installed, but when I try to install something with gem it happens. It is the same with the passenger.