[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem update

Jacquie Fan

5/25/2007 1:25:00 AM

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.rub...
..................
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!

--
Posted via http://www.ruby-....

4 Answers

Bill Guindon

5/25/2007 1:35:00 AM

0

On 5/24/07, Jacquie Fan <trinity_lcx@hotmail.com> wrote:
> 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.rub...
> ..................
> 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?

You are not alone:
http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-talk/252820?252...

> Greatly appreciated!
>
> --
> Posted via http://www.ruby-....
>
>


--
Bill Guindon (aka aGorilla)
The best answer to most questions is "it depends".

Jacquie Fan

5/25/2007 2:01:00 AM

0

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

Bill Guindon wrote:
> On 5/24/07, Jacquie Fan <trinity_lcx@hotmail.com> 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?252...


--
Posted via http://www.ruby-....

Bill Guindon

5/25/2007 2:07:00 AM

0

On 5/24/07, Jacquie Fan <trinity_lcx@hotmail.com> 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-...

> Bill Guindon wrote:
> > On 5/24/07, Jacquie Fan <trinity_lcx@hotmail.com> 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?252...
>
>
> --
> Posted via http://www.ruby-....
>
>


--
Bill Guindon (aka aGorilla)
The best answer to most questions is "it depends".

Jacquie Fan

5/25/2007 5:33:00 AM

0

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 Guindon wrote:
> On 5/24/07, Jacquie Fan <trinity_lcx@hotmail.com> 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-...


--
Posted via http://www.ruby-....