Installing gem install aws-sdk takes too long
Hi,
I'm having issues trying to do builds using appveyor.
in the yml file I'm running the line "gem install aws-sdk" and it's take more than I expect, the build works fine but that line takes like 10 minutes. some months ago, that line just take like 1 or 2 minutes.
Do you know why is taking too long?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on Apr 15, 2016 @ 09:20 PM
Hi,
What account/project is that?
2 Posted by rene on Apr 15, 2016 @ 10:08 PM
Hi Feodor.
We have two projects using 'gem install aws-sdk'
https://ci.appveyor.com/project/bsommardahl/blue-jedi/build/1.0.276
https://ci.appveyor.com/project/bsommardahl/blue-jedi-user-management/build/1.0.190
is that what you need to see?
Support Staff 3 Posted by Feodor Fitsner on Apr 16, 2016 @ 04:35 AM
There is some issue with Ruby gem install on build workers of Hyper-V Pro environment. At the moment we are re-building build workers image from scratch (ETA is next week) and hopefully Ruby gem will work OK after that. The cause of the issue is unknown, maybe something is interfering with Ruby. However, the issue is not reproducible on another environment based on Google Compute Cloud. The image there is more "fresh" and gem install works as expected. I can move your account over there, but there is one thing you should know - it takes around 3 minutes before build starts as this time required to provision a new VM for your build.
Alternatively, there is a dirty workaround PowerShell script for fast aws-sdk gem installation:
4 Posted by rene on Apr 18, 2016 @ 05:07 PM
Hi Feodor.
I tried the dirty way and that works for me.
so, thank you very much :) you are awesome.
rene closed this discussion on Apr 18, 2016 @ 10:44 PM.