You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@hostname ~]# sudo gem install astrails-safe --source http://gemcutter.org
Building native extensions. This could take a while...
ERROR: Error installing astrails-safe:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h
Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/json-1.8.0 for inspection.
Results logged to /usr/lib64/ruby/gems/1.8/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
oh, i see. ;) the instructions were not upgraded in a while. anyway, I don't quite have a way to reproduce that. this gem has no native extensions of any kind. can you paste the gem_make.out?
@vitaly I made a PR to update the install instructions to drop gemcutter. @Kalistos it looks like you have a problem with ruby on that machine if it can't find the header files. Are you able to install any gems?
1.8.7 is also considered an old version now, and the recommended versions are 1.9 or 2.0+. I would recommended closing this issue.
I tried to install and get error.
[root@hostname ~]# sudo gem install astrails-safe --source http://gemcutter.org
Building native extensions. This could take a while...
ERROR: Error installing astrails-safe:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h
Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/json-1.8.0 for inspection.
Results logged to /usr/lib64/ruby/gems/1.8/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
My config:
CentOS release 6.4 (Final)
Linux hosname 2.6.32-358.6.2.el6.x86_64 unit test config module #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
UPD1:
2.1.5
The text was updated successfully, but these errors were encountered: