You won't get a fully-functional installation! At the time of writing, it turned out gem
is kind of broken on Ruby 2.3.0. Ruby gem installation fails with an error like kernel_require.rb:54:in
require': cannot load such file -- win32/resolv`.
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.3.0
$ rbenv global 2.3.0
$ rbenv rehash
To check, run ruby -v
. You will get something like that:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-cygwin]
Hello,
I writed a litte patch in order to resolv the issue on 'win32/resolv' error : https://gist.github.com/panyamin/8d7c03cfbf8d558b1e3f