0
Installing SystemTimer (1.2.1) with native extensions 

Gem::Installer::ExtensionBuildError: 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/lib/ruby/gems/1.8/gems/SystemTimer-1.2.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/SystemTimer-1.2.1/ext/system_timer/gem_make.out
An error occured while installing SystemTimer (1.2.1), and Bundler cannot continue.
Make sure that `gem install SystemTimer -v '1.2.1'` succeeds before bundling.

I saw this post but mysql isn't the issue here (or is it? I do have -devel installed).

This is on a Fedora server, installing Diaspora. I have installed it before, but migrated to a new server. The other one was CentOS, not that it matters at the moment.

Not really sure where to start. I did try a yum list *timer* to see if there was anything along the same lines I needed to install.

Thanks!

Community
  • 1
  • 1
Thomas Thorogood
  • 1,871
  • 3
  • 21
  • 29
  • Look here /usr/lib/ruby/gems/1.8/gems/SystemTimer-1.2.1/ext/system_timer/gem_make.out there may be clues in there as to why this is failing. Usually the problem is that some dependent piece of code is not present on the machine Example mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h – Moiz Raja Oct 22 '11 at 02:12
  • Unfortunately, that log only had "/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h" in it, which doesn't really help. – Thomas Thorogood Oct 22 '11 at 15:18

0 Answers0