¿Instalé Ruby 1.9.3 correctamente en RHEL?
Antes de que digasyum -y install ruby193
... Yo lo hice.
Tenga en cuenta que no soy un desarrollador de Ruby, pero necesito este programa como parte del trabajo de otro desarrollador a través de servicios web. (No está disponible.) Cualquier ayuda sería muy apreciada.
Intenté instalar una biblioteca por instrucciones y obtuve:
[root@ctbroker console]# gem install json -v '1.8.0'
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension. /opt/rh/ruby193/root/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/ruby193/root/usr/share/include/ruby.h
Gem files will remain installed in /opt/rh/ruby193/root/usr/local/share/gems/gems/json-1.8.0 for inspection.
Results logged to /opt/rh/ruby193/root/usr/local/share/gems/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
Me di cuenta queruby.h
está solo en la máquina en/usr/lib64/ruby/1.8/x86_64-linux/ruby.h
.
¿Qué me estoy perdiendo?