apt-cygで必要なパッケージを入れる apt-cyg install git gcc-core gcc-g++ make zlib-devel curl \ autoconf libiconv libiconv-devel rsync patch unzip openssh openssl-\ devel libxml2-devel libxslt-devel libffi-devel libgdbm-devel もしかしたら上記には余分なパッケージが含まれているかもしれません。 十分条件ということでご理解ください。 rbenvとruby-buildを入れる これは公式マニュアル通りです。 Linuxでやる場合と全く同じ手順です。 zshをお使いの場合は.bashrcを.zshrcに読み替えてください。 git clone https://github.com/sstephenson/
![[Cygwin]rbenvとruby-buildで最新のrubyを入れる · DQNEO日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/8f7de7c0278993661a11fbc3637f96292ba773aa/height=288;version=1;width=512/http%3A%2F%2Fdqn.sakusakutto.jp%2Fimages%2Fkali.jpg)