Skip to content
This repository
Browse code

make tests:fav_gems_install run outside Beaverton

  • Loading branch information...
commit 589889026dd2399d8e07c6536d649dd2901ed65e 1 parent 5b11aea
Tim Felgentreff authored August 17, 2012

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  tests/favorite_gems/Gemfile
8  tests/favorite_gems/Gemfile
@@ -3,7 +3,13 @@
3 3
 # This gemfile does not list particular versions, and the test removes any
4 4
 # Gemfile.lock, so it will test that the latest versions of the gems
5 5
 # install.
6  
-source 'http://w2-stdev-ub10-01.gemstone.com:9292'
  6
+require 'resolv'
  7
+begin
  8
+  mirror = 'http://w2-stdev-ub10-01.gemstone.com:9292'
  9
+  Resolv.getaddress mirror
  10
+  source mirror
  11
+rescue Exception
  12
+end
7 13
 source "http://rubygems.org"
8 14
 
9 15
 gem "sinatra"

0 notes on commit 5898890

Please sign in to comment.
Something went wrong with that request. Please try again.