Hi, I am really finding this frustrating. i am trying to install ruby gems to allow me to try out rails. I have tried it on two linux systems. I can install ruby no problem. but when I run ruby setup.rb I get the error: ./rubygems.rb:8:in `require'': no such file to load -- rubygems/ defaults (LoadError) from ./rubygems.rb:8 from setup.rb:24:in `require'' from setup.rb:24 I think its a library link fault. but if anyone has any ideas I would be very greatful. Thanks
On Sun, Oct 4, 2009 at 11:26 PM, mpcengineer <mpclarkson-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote:> > Hi, > > I am really finding this frustrating. i am trying to install ruby gems > to allow me to try out rails. > > I have tried it on two linux systems. I can install ruby no problem. > but when I run ruby setup.rb I get the error: > > ./rubygems.rb:8:in `require'': no such file to load -- rubygems/ > defaults (LoadError) > from ./rubygems.rb:8 > from setup.rb:24:in `require'' > from setup.rb:24 > > I think its a library link fault. but if anyone has any ideas I would > be very greatful. >Can you describe your environment? What and How have you installed so far? What''s you linux flavor? What is setup.rb? -- Leonardo Mateo. There''s no place like ~
Hi, Linux box is Linpus Lite on a Aspire One Netbook. Ruby version is ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-linux] Ruby is installed in /usr/bin/ruby I have downloaded rubygems 1.3.5 and extracted the files. The install readme requires you to run sudo ruby setup.rb This is supposed to install ruby gems. I just get the load errors. Any thoughts anyone?? Thanks. On 5 Oct, 09:23, Leonardo Mateo <leonardoma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Oct 4, 2009 at 11:26 PM, mpcengineer > > <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > > > Hi, > > > I am really finding this frustrating. i am trying to install ruby gems > > to allow me to try out rails. > > > I have tried it on two linux systems. I can install ruby no problem. > > but when I run rubysetup.rbI get the error: > > > ./rubygems.rb:8:in `require'': no such file to load -- rubygems/ > > defaults (LoadError) > > from ./rubygems.rb:8 > > fromsetup.rb:24:in `require'' > > fromsetup.rb:24 > > > I think its a library link fault. but if anyone has any ideas I would > > be very greatful. > > Can you describe your environment? > What and How have you installed so far? > What''s you linux flavor? > What issetup.rb? > > -- > Leonardo Mateo. > There''s no place like ~
On Tue, 2009-10-06 at 13:45 -0700, mpcengineer wrote:> > > Hi, > > Linux box is Linpus Lite on a Aspire One Netbook. > Ruby version is ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-linux] > Ruby is installed in /usr/bin/ruby > > I have downloaded rubygems 1.3.5 and extracted the files. The install > readme requires you to run > sudo ruby setup.rb > > This is supposed to install ruby gems. I just get the load errors. > > > Any thoughts anyone??---- maybe you should just ''sudo su -'' so you get the full root environment first before you execute ''ruby setup.rb'' Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
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. Thanks. On Oct 7, 1:04 am, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote:> On Tue, 2009-10-06 at 13:45 -0700, mpcengineer wrote: > > > Hi, > > > Linux box is Linpus Lite on a Aspire One Netbook. > > Ruby version is ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-linux] > > Ruby is installed in /usr/bin/ruby > > > I have downloaded rubygems 1.3.5 and extracted the files. The install > > readme requires you to run > > sudo rubysetup.rb > > > This is supposed to install ruby gems. I just get the load errors. > > > Any thoughts anyone?? > > ---- > maybe you should just ''sudo su -'' so you get the full root environment > first before you execute ''rubysetup.rb'' > > Craig > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.
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.
Thanks Craig, I ran the command you suggested and got. [root@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 <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> 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.
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 <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote:> Thanks Craig, > > I ran the command you suggested and got. > > [root@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 <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> 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.
Hi All, Still can not install Rails. I think it must be because I am doing a new install and not an upgrade. I wonder if the latest versions of rails no longer works when you do a manual install. My guess is the manual install requires the library paths to be present. But because this is a fresh update they are missing. Has anyone out there managed to do a fresh install of rails? I seem to be banging my head against a brick wall at present. Thanks On Oct 27, 11:05 pm, mpcengineer <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote:> 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 <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > > > Thanks Craig, > > > I ran the command you suggested and got. > > > [root@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 <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> 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.
Hi, is it possible to install Rubygems via the rpm package manager? -Conrad On Thu, Oct 29, 2009 at 2:23 PM, mpcengineer <mpclarkson-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org>wrote:> > Hi All, > > Still can not install Rails. > > I think it must be because I am doing a new install and not an > upgrade. > > I wonder if the latest versions of rails no longer works when you do a > manual install. My guess is the manual install requires the library > paths to be present. But because this is a fresh update they are > missing. > > Has anyone out there managed to do a fresh install of rails? I seem to > be banging my head against a brick wall at present. > > Thanks > > On Oct 27, 11:05 pm, mpcengineer <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > > 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 <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > > > > > Thanks Craig, > > > > > I ran the command you suggested and got. > > > > > [root@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 <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
mpcengineer, I just reinstalled my rails app on an ubuntu slice the other day. For what it''s worth, I''d recommend apt-get. It''s been a real time-saver for me: 1) sudo apt-get update #updates the apt-get software 2) sudo apt-get install rubygems # installs rubygems Just those 2 commands did it for me. Let me know if you still have the issue. On Oct 29, 4:12 pm, Conrad Taylor <conra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, is it possible to install Rubygems via the rpm package manager? > > -Conrad > > On Thu, Oct 29, 2009 at 2:23 PM, mpcengineer > <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org>wrote: > > > > > > > Hi All, > > > Still can not install Rails. > > > I think it must be because I am doing a new install and not an > > upgrade. > > > I wonder if the latest versions of rails no longer works when you do a > > manual install. My guess is the manual install requires the library > > paths to be present. But because this is a fresh update they are > > missing. > > > Has anyone out there managed to do a fresh install of rails? I seem to > > be banging my head against a brick wall at present. > > > Thanks > > > On Oct 27, 11:05 pm, mpcengineer <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > > > 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 <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > > > > > Thanks Craig, > > > > > I ran the command you suggested and got. > > > > > [root@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 <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> 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.
Hi! It is also possible to install ruby from phusion, which is called enterprise ruby. It comes with rubygems and has detailed installation instructions. 2009/10/30, Conrad Taylor <conradwt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> Hi, is it possible to install Rubygems via the rpm package manager? > > -Conrad > > On Thu, Oct 29, 2009 at 2:23 PM, mpcengineer > <mpclarkson-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org>wrote: > >> >> Hi All, >> >> Still can not install Rails. >> >> I think it must be because I am doing a new install and not an >> upgrade. >> >> I wonder if the latest versions of rails no longer works when you do a >> manual install. My guess is the manual install requires the library >> paths to be present. But because this is a fresh update they are >> missing. >> >> Has anyone out there managed to do a fresh install of rails? I seem to >> be banging my head against a brick wall at present. >> >> Thanks >> >> On Oct 27, 11:05 pm, mpcengineer <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: >> > 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 <mpclark...-ONoqNxjj1WLpVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: >> > >> > > Thanks Craig, >> > >> > > I ran the command you suggested and got. >> > >> > > [root@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 <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> 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. >> > >> > > > >-- Von meinen Mobilgerät aus gesendet