Skip to content

ERROR: Error installing astrails-safe: ERROR: Failed to build gem native extension. #37

@Kalistos

Description

@Kalistos

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:

  1. cat /etc/redhat-release
    CentOS release 6.4 (Final)
  2. uname -a
    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
  3. ruby -v
    ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
    UPD1:
  4. gem -v
    2.1.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions