Permalink
Browse files

make tests:fav_gems_install run outside Beaverton

  • Loading branch information...
1 parent 5b11aea commit 589889026dd2399d8e07c6536d649dd2901ed65e @timfel timfel committed Aug 17, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/favorite_gems/Gemfile
@@ -3,7 +3,13 @@
# This gemfile does not list particular versions, and the test removes any
# Gemfile.lock, so it will test that the latest versions of the gems
# install.
-source 'http://w2-stdev-ub10-01.gemstone.com:9292'
+require 'resolv'
+begin
+ mirror = 'http://w2-stdev-ub10-01.gemstone.com:9292'
+ Resolv.getaddress mirror
+ source mirror
+rescue Exception
+end
source "http://rubygems.org"
gem "sinatra"

0 comments on commit 5898890

Please sign in to comment.