[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Gem update question.

Steve Dogers

11/25/2006 2:08:00 PM

Hi, I have 2 questions:
Running on Win XP BTW.

- when I run gem update I get prompted 'Select which gem to install for
your platform (i386-mswin32)'. It then list a few choices for each gem,
usually the past 4 or 5 version in 2 flavors: win32 or ruby.
My question is which one should I choose? I tried the ruby version for
some, the win32 for others. Sometimes I get errors choosing one or the
other.

- how can i update gem and ruby themselves? Can I use gem itself?

Thanks!

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

1 Answer

Olivier

11/26/2006 3:24:00 PM

0

Le samedi 25 novembre 2006 15:07, Steve Dogers a écrit :
> Hi, I have 2 questions:
> Running on Win XP BTW.
>
> - when I run gem update I get prompted 'Select which gem to install for
> your platform (i386-mswin32)'. It then list a few choices for each gem,
> usually the past 4 or 5 version in 2 flavors: win32 or ruby.

This happens when the gem contains a C extension. The gem can embed either the
C source code, or a precompiled version.

> My question is which one should I choose? I tried the ruby version for
> some, the win32 for others. Sometimes I get errors choosing one or the
> other.

Choose the "win32" version. The "ruby" version needs a compiler to be properly
installed (in fact, it needs the same compiler than the one used to compile
ruby) .

> - how can i update gem and ruby themselves? Can I use gem itself?

# gem search -r gem
rubygems-update (0.9.0, 0.8.11, 0.8.10, 0.8.8, 0.8.6, 0.8.5, 0.8.4, 0.8.3,
0.8.1, 0.8.0) RubyGems Update GEM

Ruby itself cannot be upgraded that way. It would be nice !

> Thanks!