[mongrel] [fedora5] install error " can't find ruby libs"

Installed Fedora5.
Installed Ruby 1.8.4.
Installed rubygems.
Installed rails.
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?
-Larry


Best Regards,
-Larry
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson

sudo yum install ruby-devel

sudo gem install mongrel

That shoud do the trick :slight_smile:

Thanks,
ruby-devel intalled.
But mongrel couldn’t find rdoc. It runs, just no docs. Here is the
error
message. I thought rdoc was include in ruby. Anyways, here is the
error
message.

/usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in require__': no such file to load -- rdoc/rdoc (LoadError) from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in require’
from /usr/lib/site_ruby/1.8/rubygems/doc_manager.rb:43:in
generate_rdoc' from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:215:in execute’
from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:214:in
execute' from /usr/lib/site_ruby/1.8/rubygems/gem_commands.rb:153:in execute’
from /usr/lib/site_ruby/1.8/rubygems/command.rb:49:in invoke' from /usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:94:in process_args’ from
/usr/lib/site_ruby/1.8/rubygems/cmd_manager.rb:67:in run' from /usr/lib/site_ruby/1.8/rubygems/gem_runner.rb:13:in run’
from /usr/bin/gem:17

On 3/23/06, Łukasz Piestrzeniewicz [email protected] wrote:

Installed rails.
can’t find header files for ruby.

http://lists.rubyonrails.org/mailman/listinfo/rails


Best Regards,
-Larry
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson

Thanks, that did the trick.
-Larry

On 3/23/06, Chris S. [email protected] wrote:

yum install rdoc


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Best Regards,
-Larry
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson

Would people find it helpful to have a set of “platform specific
blockers/solutions” document for things like this? Debian has similar
niggling little things like this.

Thoughts on what would be required?

Zed A. Shaw

I’m not sure what you mean by ‘blockers/solutions’, but I would be nice
to
have an easy to find installation guide that would cover specifics on
various platforms. Is this something that should be put into the wiki?
-Larry

On 3/23/06, Zed S. [email protected] wrote:

Nope.
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Best Regards,
-Larry
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson

Larry K. wrote:

Thanks,
ruby-devel intalled.
But mongrel couldn’t find rdoc. It runs, just no docs. Here is the error
message. I thought rdoc was include in ruby.

Nope.

yum install rdoc