diff options
author | danielsdeleo <dan@getchef.com> | 2015-05-20 13:32:14 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-05-20 13:32:14 -0700 |
commit | b6f9e5feff3b97576534d70dc2873c4fd62d28e4 (patch) | |
tree | ef801c35ac0486703c5730a5381d9248269e909b /appveyor.yml | |
parent | 1bd66e9383ecb70e218d2ce13aed2fff51d11ead (diff) | |
download | chef-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.yml | 2 |
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: |