The following packages should be installed with apt-cyg
:
- 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
- libreadline-devel
Install rbenv and ruby-build as usual.
$ rbenv install 2.2.4
$ rbenv global 2.2.4
$ rbenv rehash
To check, run ruby -v
. You will get something like that:
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-cygwin]