# Gem paths

**URL:** <https://rubytalk.org/t/gem-paths/41579>\
**Category:** ruby-talk\
**Created:** [22 October 2007 18:29 UTC](https://rubytalk.org/t/gem-paths/41579 "2007-10-22T18:29:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![redroofgreentree](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@redroofgreentree](https://rubytalk.org/u/redroofgreentree)\
**Post date:** [22 October 2007 18:29 UTC](https://rubytalk.org/t/gem-paths/41579/1 "2007-10-22T18:29:17Z")

</div>

Hey,

&nbsp;&nbsp;So I'm trying to get ruby gems to work, and am stuck on the following:

$ gem contents ruby-debug; gem env; ls -d /var/lib/gems/1.8/gems/ruby-  
debug-0.9.3/  
Unable to find gem 'ruby-debug' in default gem paths  
Rubygems Environment:  
&nbsp;&nbsp;- VERSION: 0.9.0 (0.9.0)  
&nbsp;&nbsp;- INSTALLATION DIRECTORY: /var/lib/gems/1.8  
&nbsp;&nbsp;- GEM PATH:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- /var/lib/gems/1.8  
&nbsp;&nbsp;- REMOTE SOURCES:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- [http://gems.rubyforge.org](http://gems.rubyforge.org)  
/var/lib/gems/1.8/gems/ruby-debug-0.9.3/

This doesn't seem to make sense to me .... it can't find ruby-debug, but the  
folder is clearly in the gem env path ... can someone please tel lme what  
I'm doing wrong? (running on Ubuntu; stock ruby/ems installation)

Thanks!

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [24 October 2007 16:25 UTC](https://rubytalk.org/t/gem-paths/41579/2 "2007-10-24T16:25:52Z")

</div>

Is there a ruby-debug-0.9.3.gemspec? It would be in the specifications dir next to the gems dir.

> **···**
>
> On Oct 22, 2007, at 11:29 , redroofgreentree wrote:
> 
> > Hey,
> > 
> > &nbsp;&nbsp;So I'm trying to get ruby gems to work, and am stuck on the following:
> > 
> > $ gem contents ruby-debug; gem env; ls -d /var/lib/gems/1.8/gems/ruby-  
> > debug-0.9.3/  
> > Unable to find gem 'ruby-debug' in default gem paths  
> > Rubygems Environment:  
> > &nbsp;&nbsp;- VERSION: 0.9.0 (0.9.0)  
> > &nbsp;&nbsp;- INSTALLATION DIRECTORY: /var/lib/gems/1.8  
> > &nbsp;&nbsp;- GEM PATH:  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- /var/lib/gems/1.8  
> > &nbsp;&nbsp;- REMOTE SOURCES:  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- [http://gems.rubyforge.org](http://gems.rubyforge.org)  
> > /var/lib/gems/1.8/gems/ruby-debug-0.9.3/
> > 
> > This doesn't seem to make sense to me .... it can't find ruby-debug, but the  
> > folder is clearly in the gem env path ... can someone please tel lme what  
> > I'm doing wrong? (running on Ubuntu; stock ruby/ems installation)
> 
> --  
> Poor workers blame their tools. Good workers build better tools. The  
> best workers get their tools to do the work for them. -- Syndicate Wars
