Issue #11971 has been updated by Nobuyoshi Nakada. Status changed from Feedback to Third Party's Issue Thank you, confirmed with all of 1.9..trunk. It is an issue of rubygems. ---------------------------------------- Bug #11971: Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted https://bugs.ruby-lang.org/issues/11971#change-56042 * Author: Am I Who * Status: Third Party's Issue * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Version: ruby 2.3.0 and gem 2.5.1 Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has been set So require stdlib like 'test-unit' or 'rake' will raise 'LoadError' But ruby 2.2.3 and gem 2.5.1 no this problem -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>