Gem update question.

S

Steve Dogers

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!
 
O

Olivier

Le samedi 25 novembre 2006 15:07, Steve Dogers a =C3=A9crit=C2=A0:
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=20
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 prope=
rly=20
installed (in fact, it needs the same compiler than the one used to compile=
=20
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,=
=20
0.8.1, 0.8.0) RubyGems Update GEM

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top