# Lost gems - path problem?

**URL:** <https://www.ruby-forum.com/t/lost-gems-path-problem/131390>\
**Category:** Ruby\
**Created:** [March 9, 2008, 6:35am UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390 "2008-03-09T06:35:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 9, 2008, 6:35am UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/1 "2008-03-09T06:35:53Z")

</div>

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 helpful 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 help.

Thanks.

Tom

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 9, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/2 "2008-03-09T13:05:21Z")

</div>

Tom C. wrote:

> issue “$: radiant…” commands. I honestly have NO idea how to fix

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 helpful information to someone.

Tom

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 9, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/3 "2008-03-09T20:32:54Z")

</div>

On Sun, Mar 9, 2008 at 7:03 AM, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 10, 2008, 2:54am UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/4 "2008-03-10T02:54:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 10, 2008, 4:01am UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/5 "2008-03-10T04:01:31Z")

</div>

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

t.

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 10, 2008, 4:45am UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/6 "2008-03-10T04:45:30Z")

</div>

On Sun, Mar 9, 2008 at 10:26 PM, Todd B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> On Sun, Mar 9, 2008 at 10:00 PM, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [March 10, 2008, 4:27am UTC](https://www.ruby-forum.com/t/lost-gems-path-problem/131390/7 "2008-03-10T04:27:17Z")

</div>

On Sun, Mar 9, 2008 at 10:00 PM, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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
