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?
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?
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”?
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.