# Gem install directory error

**URL:** <https://www.ruby-forum.com/t/gem-install-directory-error/105302>\
**Category:** Ruby\
**Created:** [May 28, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/gem-install-directory-error/105302 "2007-05-28T17:30:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpjolicoeur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Post date:** [May 28, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/gem-install-directory-error/105302/1 "2007-05-28T17:30:01Z")

</div>

I updated my ruby/rails stack this morning on my mac os x 10.4.9  
machine. Now I’m having a problem intalling gems. I get the following  
error while trying to install a gem

* * *

ERROR: While executing gem … (ArgumentError)  
install directory “/usr/local//lib/ruby/gems/1.8/gems/hpricot-0.5”  
not absolute

* * *

Here is the output from a gem environment command

* * *

RubyGems Environment:

- VERSION: 0.9.2 (0.9.2)
- INSTALLATION DIRECTORY: /usr/local//lib/ruby/gems/1.8
- GEM PATH:
  - /usr/local//lib/ruby/gems/1.8

- REMOTE SOURCES:
  - [http://gems.rubyforge.org](http://gems.rubyforge.org)

* * *

I’m not sure what the issue is or how to correct it. Any ideas???

---

<div class="post-metadata">

**Author:** ![cpjolicoeur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Post date:** [May 28, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/gem-install-directory-error/105302/2 "2007-05-28T17:40:39Z")

</div>

On May 28, 2007, at 11:30 AM, Craig J. wrote:

> * * *
> 
> I’m not sure what the issue is or how to correct it. Any ideas???
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

What’s with the double slash after local? I’m sure that’s not the  
problem but I’m just curious =)

---

<div class="post-metadata">

**Author:** ![cpjolicoeur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a183cd/32.png) [@cpjolicoeur](https://www.ruby-forum.com/u/cpjolicoeur)\
**Post date:** [May 28, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/gem-install-directory-error/105302/3 "2007-05-28T17:47:13Z")

</div>

Jeremy H. wrote:

> On May 28, 2007, at 11:30 AM, Craig J. wrote:
> 
> > * * *
> > 
> > I’m not sure what the issue is or how to correct it. Any ideas???
> > 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> What’s with the double slash after local? I’m sure that’s not the  
> problem but I’m just curious =)

I noticed that myself and thought it might be the problem but I’m not  
really sure. I can addess that directory fine with or without the  
slash so I don’t really think thats the issue, but I don’t know why its  
like that.
