Multiruby and its Rubygems Mirror

by Ardekantur

# multiruby_setup update:rubygems
      Determining latest version for rubygems
    /opt/local/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
                    from ...
            from /opt/local/bin/multiruby_setup:19:in `load'
            from /opt/local/bin/multiruby_setup:19

Multiruby embeds the name of a specific Rubygems mirror, http://files.rubyforge.vm.bytemark.co.uk/rubygems, into its code. This isn’t a horrible thing, since we can use an environment variable to overwrite it if that mirror stops responding; however, it may be a better idea to use the RubyForge mirror selector as that URL permanently. Until then,

# GEM_URL=http://master.mirror.rubyforge.org/rubygems/ multiruby_setup rubygems:update