# Gem update

**URL:** <https://www.ruby-forum.com/t/gem-update/105034>\
**Category:** Ruby\
**Created:** [May 25, 2007, 3:25am UTC](https://www.ruby-forum.com/t/gem-update/105034 "2007-05-25T03:25:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacquie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Post date:** [May 25, 2007, 3:25am UTC](https://www.ruby-forum.com/t/gem-update/105034/1 "2007-05-25T03:25:17Z")

</div>

Hi,all I tried to do

gem update --system in my windows XP box.  
then I’ve got

Updating RubyGems…  
Need to update 18 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
…  
complete  
Attempting remote update of rubygems-update  
ERROR: While executing gem … (ArgumentError)  
install directory  
#\<Pathname:C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rub  
ygems-update-0.9.4\> not absolute

but I can see that rubygems-update-0.9.4 is there and is not empty!

anybody has this problem before or has some idea about this problem?

Greatly appreciated!

---

<div class="post-metadata">

**Author:** ![jacquie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Post date:** [May 25, 2007, 3:35am UTC](https://www.ruby-forum.com/t/gem-update/105034/2 "2007-05-25T03:35:49Z")

</div>

On 5/24/07, Jacquie F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ERROR: While executing gem … (ArgumentError)  
> install directory  
> #\<Pathname:C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rub  
> ygems-update-0.9.4\> not absolute
> 
> but I can see that rubygems-update-0.9.4 is there and is not empty!
> 
> anybody has this problem before or has some idea about this problem?

You are not alone:  
[http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/252820?252516-252827](http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/252820?252516-252827)

---

<div class="post-metadata">

**Author:** ![jacquie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Post date:** [May 25, 2007, 4:00am UTC](https://www.ruby-forum.com/t/gem-update/105034/3 "2007-05-25T04:00:38Z")

</div>

Did anybody find a clearer solution. Am I going to reinstall rubygems as  
well??

Bill G. wrote:

> On 5/24/07, Jacquie F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > ERROR: While executing gem … (ArgumentError)  
> > install directory  
> > #\<Pathname:C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rub  
> > ygems-update-0.9.4\> not absolute
> > 
> > but I can see that rubygems-update-0.9.4 is there and is not empty!
> > 
> > anybody has this problem before or has some idea about this problem?
> 
> You are not alone:  
> [http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/252820?252516-252827](http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/252820?252516-252827)

---

<div class="post-metadata">

**Author:** ![jacquie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Post date:** [May 25, 2007, 4:08am UTC](https://www.ruby-forum.com/t/gem-update/105034/4 "2007-05-25T04:08:53Z")

</div>

On 5/24/07, Jacquie F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Did anybody find a clearer solution. Am I going to reinstall rubygems as  
> well??

I imagine that Jim is looking into it. You could post to the gem  
developers list in case he missed it.

[http://rubyforge.org/mailman/listinfo/rubygems-developers](http://rubyforge.org/mailman/listinfo/rubygems-developers)

---

<div class="post-metadata">

**Author:** ![jacquie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Post date:** [May 25, 2007, 7:33am UTC](https://www.ruby-forum.com/t/gem-update/105034/5 "2007-05-25T07:33:19Z")

</div>

Hi Bill

I think I solved the problem. I removed my old ruby completely (1.8.4)  
and installed a new one version 1.8.6. then do  
gem update  
to install (fxruby, hpricot, rake, win32-clipboard, win32-file,  
win32-file-stat, win32-process, windows-pr)

THEN I did gem update --system and it worked fine.

Maybe the old ruby version is not working with the new gem version? and  
also I am not sure why I needed to do a general update in gem first to  
get “gem update --system” working. otherwise it would through out some  
error like  
"/./post-install.rb failed:  
undefined method `file\_name’ for #Gem::Specification:0x2e47648  
Try ‘ruby setup.rb --help’ for detailed usage. "

It might need more explaination

Cheers

Bill G. wrote:

> On 5/24/07, Jacquie F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Did anybody find a clearer solution. Am I going to reinstall rubygems as  
> > well??
> 
> I imagine that Jim is looking into it. You could post to the gem  
> developers list in case he missed it.
> 
> [http://rubyforge.org/mailman/listinfo/rubygems-developers](http://rubyforge.org/mailman/listinfo/rubygems-developers)
