PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.ruby > lost gems - path problem?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
lost gems - path problem?

Réponse
 
LinkBack Outils de la discussion
Vieux 09/03/2008, 06h35   #1
Tom Cloyd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut lost gems - path problem?

I'm a little unsure where to ask this question. If I need to go
elsewhere, tell me and a I get movin'.

I'm over at the #kubuntu irc channel, but it's not ful right now,
and this IS a rubygems questions, sort of. I'm running Kubuntu Linux
7.10, and I'm trying to get the radiant cms running. It's installed, but
I cannot get a good response to "radiant....." commands.

I was told that it appears that somehow my path/ENV is messed up. I've
install the radiant rubygem, but the OS can't seem to find it when I
issue "$: radiant...." commands. I honestly have NO idea how to fix
this. My rubygems look OK - I see them in /var/lib/gems/1.8/gems/, but...

$ gem list --local
/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)

shows that the gems are lost to the system. Would appreciate any .

Thanks.

Tom


  Réponse avec citation
Vieux 09/03/2008, 13h03   #2
Tom Cloyd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: lost gems - path problem?

Tom Cloyd wrote:
> I'm a little unsure where to ask this question. If I need to go
> elsewhere, tell me and a I get movin'.
>
> I'm over at the #kubuntu irc channel, but it's not ful right now,
> and this IS a rubygems questions, sort of. I'm running Kubuntu Linux
> 7.10, and I'm trying to get the radiant cms running. It's installed,
> but I cannot get a good response to "radiant....." commands.
>
> I was told that it appears that somehow my path/ENV is messed up. I've
> install the radiant rubygem, but the OS can't seem to find it when I
> issue "$: radiant...." commands. I honestly have NO idea how to fix
> this. My rubygems look OK - I see them in /var/lib/gems/1.8/gems/, but...
>
> $ gem list --local
> /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)
>
> shows that the gems are lost to the system. Would appreciate any .
>
> Thanks.
>
> Tom
>

I just tried a sqlite3 demo program I've been writing, and got this upon
launch -

/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- sqlite3 (LoadError)
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from sqlite-sequel-demo.rb:80
from sqlite-sequel-demo.rb:80:in `each'
from sqlite-sequel-demo.rb:80

Again, everything looks OK in the gems dir, but it can't be found by
ruby. I have NO idea what's going on. The only clue I can offer is that
earlier this evening I installed the radiant gem. I then was unable to
set up radiant because "radiant..." commands all errorred off.

I hope this all give additional ful information to someone.

Tom

  Réponse avec citation
Vieux 09/03/2008, 20h30   #3
Todd Benson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: lost gems - path problem?

On Sun, Mar 9, 2008 at 7:03 AM, Tom Cloyd <tomcloyd@comcast.net> wrote:

> I just tried a sqlite3 demo program I've been writing, and got this upon
> launch -
>
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- sqlite3 (LoadError)
> from
> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
> from sqlite-sequel-demo.rb:80
> from sqlite-sequel-demo.rb:80:in `each'
> from sqlite-sequel-demo.rb:80


Are you using require 'rubygems' first?

Todd

  Réponse avec citation
Vieux 10/03/2008, 02h53   #4
Tom Cloyd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: lost gems - path problem?

Todd,
Fair question, to which the answer is yes, sadly. All indicators are
that my rubygems installation has somehow good bad. I'm preparing to
remove and reinstall.

Tom

Todd Benson wrote:
> On Sun, Mar 9, 2008 at 7:03 AM, Tom Cloyd <tomcloyd@comcast.net> wrote:
>
>
>> I just tried a sqlite3 demo program I've been writing, and got this upon
>> launch -
>>
>> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
>> `gem_original_require': no such file to load -- sqlite3 (LoadError)
>> from
>> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>> from sqlite-sequel-demo.rb:80
>> from sqlite-sequel-demo.rb:80:in `each'
>> from sqlite-sequel-demo.rb:80
>>

>
> Are you using require 'rubygems' first?
>
> Todd
>
>
>



  Réponse avec citation
Vieux 10/03/2008, 04h00   #5
Tom Cloyd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: lost gems - path problem?

Well, reinstalling (after a purge) didn't do the trick at all. I'm a bit
stumped at this point.

t.

Tom Cloyd wrote:
> Todd,
> Fair question, to which the answer is yes, sadly. All indicators
> are that my rubygems installation has somehow good bad. I'm preparing
> to remove and reinstall.
>
> Tom
>
> Todd Benson wrote:
>> On Sun, Mar 9, 2008 at 7:03 AM, Tom Cloyd <tomcloyd@comcast.net> wrote:
>>
>>
>>> I just tried a sqlite3 demo program I've been writing, and got this
>>> upon
>>> launch -
>>>
>>> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
>>> `gem_original_require': no such file to load -- sqlite3 (LoadError)
>>> from
>>> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
>>> `require'
>>> from sqlite-sequel-demo.rb:80
>>> from sqlite-sequel-demo.rb:80:in `each'
>>> from sqlite-sequel-demo.rb:80
>>>

>>
>> Are you using require 'rubygems' first?
>>
>> Todd
>>
>>
>>

>
>
>



  Réponse avec citation
Vieux 10/03/2008, 04h26   #6
Todd Benson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: lost gems - path problem?

On Sun, Mar 9, 2008 at 10:00 PM, Tom Cloyd <tomcloyd@comcast.net> wrote:
> Well, reinstalling (after a purge) didn't do the trick at all. I'm a bit
> stumped at this point.
>
> t.


There is no such thing as the 'sqlite3' gem that I'm aware of. The
'sqlite' gem exists, though.

Todd

  Réponse avec citation
Vieux 10/03/2008, 04h44   #7
Todd Benson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: lost gems - path problem?

On Sun, Mar 9, 2008 at 10:26 PM, Todd Benson <caduceass@gmail.com> wrote:
> On Sun, Mar 9, 2008 at 10:00 PM, Tom Cloyd <tomcloyd@comcast.net> wrote:
> > Well, reinstalling (after a purge) didn't do the trick at all. I'm a bit
> > stumped at this point.
> >
> > t.

>
> There is no such thing as the 'sqlite3' gem that I'm aware of. The
> 'sqlite' gem exists, though.


There is an sqlite3.rb file, so radiant probably can't find that. Do
you have sqlite3 correctly installed? Are there configuration options
for radiant?

I personally don't care for sqlite, but I suppose it works for some purposes.

Todd

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14587 seconds with 15 queries