Bad ActiveSupport gem in gem repository?

All,

I’m attempting to update my gems to 1.2 and I get the following:

Install required dependency activesupport? [Yn] Y
ERROR: While executing gem … (Gem::InstallError)
invalid gem format for
c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g
em

Anyone else seeing this? Anyone willing to try it to see what’s up?

Thanks,
Wes

Wes G. wrote:

All,

I’m attempting to update my gems to 1.2 and I get the following:

Install required dependency activesupport? [Yn] Y
ERROR: While executing gem … (Gem::InstallError)
invalid gem format for
c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g
em

Anyone else seeing this? Anyone willing to try it to see what’s up?

Thanks,
Wes

Firewall issues on my side. Sorry to bother you.

WG

In fact, neither Rubygems 0.9.1 nor 0.9.2 work on my Windows XP box. So
I reverted back to 0.9.0 and all was well.

WG

Hi Wes,

Your question got me to check my Ruby_1.8.2-15 installation on my
WinXP-Pro/SP2 box.

K:>gem -v => 0.9.0
which AFIK has been working well.

K:>echo %rubyopt% => rubygems rubygems
Looks suspicious; should I cut it down to just rubygems?
and what does it do, anyway?

K:_Utilities\Ruby_1.8.2-15\ruby\bin>dir u* => update_rubygems.cmd
(also plain update_rubygems)
Should I run this before I run gem to download something?
Or does “gem update” run “update_rubygems.cmd”?

TIA for any insights you may offer.

Regards,
Richard

On Mar 16, 5:26 pm, Wes G. [email protected]

Hi Wes,

Great advice and info. They are much appreciated.

Best wishes,
Richard

On Mar 17, 2:22 am, Wes G. [email protected]

K:>echo %rubyopt% => rubygems rubygems
Looks suspicious; should I cut it down to just rubygems?
and what does it do, anyway?

You should cut it down to just rubygems. It requires rubygems for the
Ruby interpreter so that you don’t have to do it explicitly before you
try to use a gem. In Rails, of course, you could just require
‘rubygems’ in either environment.rb or application.rb and achieve the
same “require at startup” effect.

K:_Utilities\Ruby_1.8.2-15\ruby\bin>dir u* => update_rubygems.cmd
(also plain update_rubygems)
Should I run this before I run gem to download something?
Or does “gem update” run “update_rubygems.cmd”?

I’ve never seen this and don’t know about it, which makes me assume that
we don’t need to know about it ;).

Wes