# Gem paths

**URL:** <https://www.ruby-forum.com/t/gem-paths/117959>\
**Category:** Ruby\
**Created:** [October 22, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/gem-paths/117959 "2007-10-22T20:30:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![redroofgreentree](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@redroofgreentree](https://www.ruby-forum.com/u/redroofgreentree)\
**Post date:** [October 22, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/gem-paths/117959/1 "2007-10-22T20:30:06Z")

</div>

Hey,

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:

- VERSION: 0.9.0 (0.9.0)
- INSTALLATION DIRECTORY: /var/lib/gems/1.8
- GEM PATH:
  - /var/lib/gems/1.8

- REMOTE SOURCES:
  - [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:** ![redroofgreentree](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9bd4f/32.png) [@redroofgreentree](https://www.ruby-forum.com/u/redroofgreentree)\
**Post date:** [October 24, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/gem-paths/117959/2 "2007-10-24T18:27:36Z")

</div>

On Oct 22, 2007, at 11:29 , redroofgreentree wrote:

> - INSTALLATION DIRECTORY: /var/lib/gems/1.8  
> lme what  
> I’m doing wrong? (running on Ubuntu; stock ruby/ems installation)

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