Forum: Ruby on Rails [mongrel] [fedora5] install error " can't find ruby libs"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ddc850a63a423c3ff963bdf3a097652f?d=identicon&s=25 Larry Kelly (Guest)
on 2006-03-23 10:47
(Received via mailing list)
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
6578456ff00ab3520b1fe684bc572b45?d=identicon&s=25 Łukasz Piestrzeniewicz (Guest)
on 2006-03-23 12:29
(Received via mailing list)
# sudo yum install ruby-devel
# sudo gem install mongrel

That shoud do the trick :)
29b15f133c26b6dac0e4954d61733db9?d=identicon&s=25 Larry Kelly (Guest)
on 2006-03-23 17:34
(Received via mailing list)
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 <bragi.ragnarson@gmail.com> 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
75ceef25624b3e44943a3b7319ba9612?d=identicon&s=25 Chris Schumann (torgo)
on 2006-03-23 17:36
(Received via mailing list)
Larry Kelly 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
29b15f133c26b6dac0e4954d61733db9?d=identicon&s=25 Larry Kelly (Guest)
on 2006-03-24 01:03
(Received via mailing list)
Thanks, that did the trick.
-Larry

On 3/23/06, Chris Schumann <chris@idlelion.net> wrote:
> yum install rdoc
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
            --- E.Taft Benson
8c43ed7f065406bf171c0f3eb32cf615?d=identicon&s=25 Zed Shaw (Guest)
on 2006-03-24 05:46
(Received via mailing list)
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
http://www.zedshaw.com/
29b15f133c26b6dac0e4954d61733db9?d=identicon&s=25 Larry Kelly (Guest)
on 2006-03-24 23:40
(Received via mailing list)
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 Shaw <zedshaw@zedshaw.com> wrote:
>
> > Nope.
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
            --- E.Taft Benson
This topic is locked and can not be replied to.