ARROW-4035: [Ruby] Support msys2 mingw dependencies
ARROW-4035: [Ruby] Support msys2 mingw dependencies

Author: Yosuke Shiro <yosuke.shiro615@gmail.com>

Closes #3181 from shiro615/support-msys2-mingw-dependencies and squashes the following commits:

e20dce3c <Yosuke Shiro>  Support msys2 mingw dependencies

majetideepak/arrow,cpcloud/arrow,apache/arrow,pcmoritz/arrow,laurentgo/arrow,xhochy/arrow,kou/arrow,itaiin/arrow,apache/arrow,laurentgo/arrow,kou/arrow,majetideepak/arrow,laurentgo/arrow,tebeka/arrow,xhochy/arrow,majetideepak/arrow,icexelloss/arrow,majetideepak/arrow,wesm/arrow,renesugar/arrow,cpcloud/arrow,kou/arrow,itaiin/arrow,cpcloud/arrow,majetideepak/arrow,tebeka/arrow,itaiin/arrow,pcmoritz/arrow,kou/arrow,kou/arrow,pcmoritz/arrow,renesugar/arrow,pcmoritz/arrow,xhochy/arrow,majetideepak/arrow,kou/arrow,itaiin/arrow,renesugar/arrow,wesm/arrow,laurentgo/arrow,laurentgo/arrow,itaiin/arrow,cpcloud/arrow,pcmoritz/arrow,icexelloss/arrow,cpcloud/arrow,itaiin/arrow,pcmoritz/arrow,majetideepak/arrow,itaiin/arrow,pcmoritz/arrow,itaiin/arrow,tebeka/arrow,itaiin/arrow,kou/arrow,apache/arrow,renesugar/arrow,majetideepak/arrow,kou/arrow,pcmoritz/arrow,xhochy/arrow,icexelloss/arrow,laurentgo/arrow,renesugar/arrow,tebeka/arrow,apache/arrow,apache/arrow,tebeka/arrow,cpcloud/arrow,itaiin/arrow,laurentgo/arrow,kou/arrow,icexelloss/arrow,kou/arrow,pcmoritz/arrow,apache/arrow,xhochy/arrow,wesm/arrow,xhochy/arrow,itaiin/arrow,pcmoritz/arrow,majetideepak/arrow,renesugar/arrow,icexelloss/arrow,xhochy/arrow,cpcloud/arrow,itaiin/arrow,renesugar/arrow,wesm/arrow,laurentgo/arrow,icexelloss/arrow,tebeka/arrow,tebeka/arrow,xhochy/arrow,icexelloss/arrow,xhochy/arrow,wesm/arrow,pcmoritz/arrow,cpcloud/arrow,icexelloss/arrow,renesugar/arrow,icexelloss/arrow,cpcloud/arrow,wesm/arrow,laurentgo/arrow,tebeka/arrow,icexelloss/arrow,wesm/arrow,xhochy/arrow,apache/arrow,apache/arrow,apache/arrow,xhochy/arrow,laurentgo/arrow,laurentgo/arrow,renesugar/arrow,apache/arrow,majetideepak/arrow,laurentgo/arrow,itaiin/arrow,itaiin/arrow,apache/arrow,renesugar/arrow,majetideepak/arrow,cpcloud/arrow,icexelloss/arrow,majetideepak/arrow,kou/arrow,apache/arrow,majetideepak/arrow,wesm/arrow,xhochy/arrow,apache/arrow,itaiin/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,pcmoritz/arrow,xhochy/arrow,icexelloss/arrow,majetideepak/arrow,renesugar/arrow,icexelloss/arrow,xhochy/arrow,kou/arrow,cpcloud/arrow,renesugar/arrow,pcmoritz/arrow,tebeka/arrow,pcmoritz/arrow,pcmoritz/arrow,kou/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,apache/arrow,cpcloud/arrow,renesugar/arrow,cpcloud/arrow,wesm/arrow,renesugar/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,laurentgo/arrow,renesugar/arrow,tebeka/arrow,laurentgo/arrow,majetideepak/arrow