Installed Ruby 1.8.4.
Created test app to verify that ruby and rails were working.
When I attempted to install mongrel via:
sudo gem install mongrel
I get this error:
Install required dependency daemons? [Yn] y
Install required dependency gem_plugin? [Yn] y
Building native extensions. This could take a while…
can’t find header files for ruby.
ERROR: While executing gem … (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mongrel-
0.3.11 for inspection.
ruby extconf.rb install mongrel\n
How should I resolve this?
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson