Issue #10678 has been reported by Martin Drst.

----------------------------------------
Bug #10678: uninitialized constant Encoding::UTF_7 (NameError) when compiling Ruby
https://bugs.ruby-lang.org/issues/10678

* Author: Martin Drst
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: 
* ruby -v: ruby 2.3.0dev (2014-12-30 trunk 49068) [x86_64-cygwin]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
When using
    make clean-enc; make up; make install-nodoc
I get the error below. The reason is that Encoding::UTF_7 isn't defined yetwhen downloading bundled gems.

Downloading bundled gem files...
/cygdrive/c/Data/ruby-public/lib/uri/common.rb:349:in `<module:URI>': uninitialized constant Encoding::UTF_7 (NameError)
        from /cygdrive/c/Data/ruby-public/lib/uri/common.rb:15:in `<top (required)>'
        from /cygdrive/c/Data/ruby-public/lib/uri.rb:104:in `require'
        from /cygdrive/c/Data/ruby-public/lib/uri.rb:104:in `<top (required)>'
        from /cygdrive/c/Data/ruby-public/lib/open-uri.rb:1:in `require'
        from /cygdrive/c/Data/ruby-public/lib/open-uri.rb:1:in `<top (required)>'
        from /cygdrive/c/Data/ruby-public/tool/downloader.rb:1:in `require'
        from /cygdrive/c/Data/ruby-public/tool/downloader.rb:1:in `<top (required)>'
        from -e:1:in `require'
uncommon.mk:914: recipe for target 'update-gems' failed
make[1]: *** [update-gems] Error 1
make[1]: Leaving directory '/cygdrive/c/Data/ruby-public'
uncommon.mk:904: recipe for target 'up' failed
make: [up] Error 2 (ignored)




-- 
https://bugs.ruby-lang.org/