Hi,

When running

ruby setup.rb

as the root I get the error 'rubygems/defaults' is missing.

I have a defaults.rb in the install directory. The error message
suggests setup.rb is looking in a rubygems directory.

I have read about a /lib/rubygems/ directory. I do not have any such
library directory. Could this be my problem????

Any help anyone...  This is doing my head in.

Thanks.

On Oct 27, 9:53 pm, mpcengineer <[email protected]> wrote:
> Thanks Craig,
>
> I ran the command you suggested and got.
>
> [r...@localhost rubygems-1.3.5]# rpm -qa|grep ruby
> ruby-1.8.6.110-2.fc8
> ruby-rdoc-1.8.6.110-2.fc8
> ruby-mode-1.8.6.110-2.fc8
> ruby-libs-1.8.6.110-2.fc8
> eruby-libs-1.0.5-10
> ruby-irb-1.8.6.110-2.fc8
> ruby-ri-1.8.6.110-2.fc8
> ruby-devel-1.8.6.110-2.fc8
> eruby-1.0.5-10
>
> Any help would be greatly appreciated. I am at a loss here.
>
> Thanks.
>
> On Oct 7, 8:57 pm, Craig White <[email protected]> wrote:
>
> > On Wed, 2009-10-07 at 13:47 -0700, mpcengineer wrote:
> > > Thanks Craig,
>
> > > tried sudo su -
>
> > > Unfotunatly still get the same error.
>
> > > I find it difficult to see what is going wrong. I can only think its
> > > something to do library paths.
>
> > > There is a defaults.rb in  the rubygems directory. It seems the
> > > setup.rb script can not see it????
>
> > > Any experts out there.
>
> > ----
> > it might help if we saw the interaction but if I recall correctly,
> > linpus was a port of Fedora 9. Is it possible to install rubygems from
> > linpus packaging? How much of ruby is installed? 'rpm -qa|grep ruby' ?
>
> > Craig
>
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to