summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2015-05-20 13:32:14 -0700
committerdanielsdeleo <dan@getchef.com>2015-05-20 13:32:14 -0700
commitb6f9e5feff3b97576534d70dc2873c4fd62d28e4 (patch)
treeef801c35ac0486703c5730a5381d9248269e909b /appveyor.yml
parent1bd66e9383ecb70e218d2ce13aed2fff51d11ead (diff)
downloadchef-b6f9e5feff3b97576534d70dc2873c4fd62d28e4.tar.gz
Install bundler before upgrading rubygems
Appveyor builds are timing out attempting to fetch a SRV record from DNS, https://github.com/rubygems/rubygems/issues/1017 In the default ruby install on appveyor, we have a version of rubygems that is old and doesn't have the bug, so doing gem install before upgrading works around the timeout issue.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 47a755955d..dc520a4578 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -25,10 +25,10 @@ install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- echo %PATH%
- ruby --version
+ - gem install bundler --quiet --no-ri --no-rdoc
- gem install rubygems-pkg/rubygems-update-2.4.6.gem
- update_rubygems
- gem --version
- - gem install bundler --quiet --no-ri --no-rdoc
- bundler --version
build_script: