Help figuring out problem with installing activesupport 2.2.2


#1

I created a brand new RoR installation on Win XP using
InstantRails-2.0 which brought rails 2.0.2. I now struggle to update
it to rails 2.2.2. The essence of my problem comes to the installation
of activesupport 2.2.2. Below is the cut and pasted session
illustrating my problem and run-time environment. Can someone suggest
a course of actions? I am lost.

Thanks,

  • LR

C:\InstantRails2.0\rails_apps>gem list --R ^activesup

*** REMOTE GEMS ***

activesupport (2.2.2)

C:\InstantRails2.0\rails_apps>gem install activesupport
ERROR: could not find gem activesupport locally or in a repository

C:\InstantRails2.0\rails_apps>gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 1.3.1
  • RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
  • INSTALLATION DIRECTORY: C:/InstantRails2.0/ruby/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: C:/InstantRails2.0/ruby/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/InstantRails2.0/ruby/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-mswin32-60
  • GEM PATHS:
    • C:/InstantRails2.0/ruby/lib/ruby/gems/1.8
    • C:/Documents and Settings/Leonid/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

#2

BTW. I already installed rubygems-update 1.3.1 and run
update_rubygems. It did not help.


#3

On Fri, Jan 9, 2009 at 2:24 PM, LRaiz removed_email_address@domain.invalid wrote:

BTW. I already installed rubygems-update 1.3.1 and run
update_rubygems. It did not help.

Does that produce the same effect as

$ gem update --system

?

–wpd


#4
  1. I can’t see a difference between effects of “gem update --system”
    and update_rubygems.
  2. Trying to do install with verbose output produces

gem install activesupport --verbose --backtrace
GET 304 Not Modified: http://gems.rubyforge.org/latest_specs.4.8.gz
Error fetching remote data: timed out (http://
gems.rubyforge.org/quick/Marshal.4.8/activesupport-2.2.2.gemspec.rz)
Falling back to local-only install
ERROR: could not find gem activesupport locally or in a repository

Using my browser I can easily see and download
activesupport-2.2.2.gemspec.rz file from
http://gems.rubyforge.org/quick/Marshal.4.8;
so I don’t know why gem is timing out. Does anyone know where should I
place it locally so gem would be able to use it? Or should I do
something else with this rz file?

  • LR