Gem install mongrel problem

The following is my attempt to install mongrel on ruby 1.8.5 - any
suggestions? thanks in advance - Al


[root@pmd1vm01 rubytest]# gem install mongrel

Bulk updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i386-linux)

  1. mongrel 1.0.1 (mswin32)
  2. mongrel 1.0.1 (ruby)
  3. mongrel 1.0 (mswin32)
  4. mongrel 1.0 (ruby)
  5. Skip this gem
  6. Cancel installation

2
Install required dependency fastthread? [Yn] Y
Select which gem to install for your platform (i386-linux)

  1. fastthread 1.0 (ruby)
  2. fastthread 1.0 (mswin32)
  3. fastthread 0.6.4.1 (mswin32)
  4. fastthread 0.6.4.1 (ruby)
  5. Skip this gem
  6. Cancel installation

1
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install mongrel
can’t find header files for ruby.

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/
fastthread-1.0 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/fastthread-1.0/ext/
fastthread/gem_make.out

You must install ruby-dev library in yours OS

Thanks - is there a gem for ruby-dev… I’m not able to find one at
rubyforge…

On Aug 10, 5:29 pm, Klodus K. [email protected]

Nevermind, found it:

yum install ruby-devel.i386

Looks like mongrel is running now, thanks (now I’m free to work the
multiple remaining issues :slight_smile:
Thanks,
Al

On Aug 10, 5:29 pm, Klodus K. [email protected]