From: duerst@... Date: 2018-05-14T08:43:38+00:00 Subject: [ruby-core:87024] [Ruby trunk Bug#14747] uninitialized constant Gem::PathSupport Issue #14747 has been updated by duerst (Martin D��rst). Sorry to be late with my reply hsbt (Hiroshi SHIBATA) wrote: > I fixed this problem at r63377. I think that this is your environment problem. > > Did you clean-up with `/cygdrive/c/Data/ruby` ? Yes I did. I completely removed this directory, and made a full new checkout. As far as I understand from the details of the error messages (see below), during building, the downloaded local copies of gems are used. That would mean that the environment would not have any effect. But of course, there might be other ways that the environment can influence the result. Also, r63377 is about the csv gem, but the error appears to be unrelated to the csv gem (as far as I can see). Again, I might be wrong here, too. Anyway, this is a larger part of the error message: ``` making trans make[1]: Entering directory '/cygdrive/c/Data/ruby' make[1]: Nothing to be done for './enc/trans'. make[1]: Leaving directory '/cygdrive/c/Data/ruby' making encs make[1]: Entering directory '/cygdrive/c/Data/ruby' make[1]: Nothing to be done for 'encs'. make[1]: Leaving directory '/cygdrive/c/Data/ruby' building rb_mjit_header.h rb_mjit_header.h updated building .ext/include/x86_64-cygwin/rb_mjit_min_header-2.6.0.h ./miniruby.exe -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "gcc " rb_mjit_header.h .ext/include/ x86_64-cygwin/rb_mjit_min_header-2.6.0.h Transforming external functions to static: transform_mjit_header: making external definition of 'rb_vm_pop_cfunc_frame' static inline ``` (many more similar messages) ``` transform_mjit_header: making declaration of 'rb_error_arity' static inline ./miniruby.exe -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems -r./x86_64-cygwin- fake ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=06 44 --prog-mode=0755 --installed-list .installed.list --mantype="doc" Traceback (most recent call last): 19: from ./tool/rbinstall.rb:626:in `
' 18: from ./tool/rbinstall.rb:627:in `' 17: from /cygdrive/c/Data/ruby/lib/rubygems/core_ext/kernel_require.rb:47:in `require' 16: from /cygdrive/c/Data/ruby/lib/rubygems/core_ext/kernel_gem.rb:65:in `gem' 15: from /cygdrive/c/Data/ruby/lib/rubygems/dependency.rb:322:in `to_spec' 14: from /cygdrive/c/Data/ruby/lib/rubygems/dependency.rb:302:in `to_specs' 13: from /cygdrive/c/Data/ruby/lib/rubygems/dependency.rb:279:in `matching_specs' 12: from /cygdrive/c/Data/ruby/lib/rubygems/specification.rb:869:in `stubs_for' 11: from /cygdrive/c/Data/ruby/lib/rubygems/specification.rb:999:in `dirs' 10: from /cygdrive/c/Data/ruby/lib/rubygems.rb:439:in `path' 9: from /cygdrive/c/Data/ruby/lib/rubygems.rb:393:in `paths' 8: from /cygdrive/c/Data/ruby/lib/rubygems/core_ext/kernel_require.rb:47:in `require' 7: from /cygdrive/c/Data/ruby/lib/rubygems/core_ext/kernel_gem.rb:65:in `gem' 6: from /cygdrive/c/Data/ruby/lib/rubygems/dependency.rb:322:in `to_spec' 5: from /cygdrive/c/Data/ruby/lib/rubygems/dependency.rb:302:in `to_specs' 4: from /cygdrive/c/Data/ruby/lib/rubygems/dependency.rb:279:in `matching_specs' 3: from /cygdrive/c/Data/ruby/lib/rubygems/specification.rb:869:in `stubs_for' 2: from /cygdrive/c/Data/ruby/lib/rubygems/specification.rb:999:in `dirs' 1: from /cygdrive/c/Data/ruby/lib/rubygems.rb:439:in `path' /cygdrive/c/Data/ruby/lib/rubygems.rb:393:in `paths': uninitialized constant Gem::PathSupport (NameError) make: *** [uncommon.mk:353: do-install-nodoc] Error 1 rm cygruby260.rc duerst@Arnisee /cygdrive/c/Data/ruby ``` What is especially intriguing to me is that ./miniruby.exe is called with --disable-gems, but then there is a gem-related error. ---------------------------------------- Bug #14747: uninitialized constant Gem::PathSupport https://bugs.ruby-lang.org/issues/14747#change-71991 * Author: duerst (Martin D��rst) * Status: Feedback * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.3.6p384 (2017-12-14 revision 9808) [x86_64-cygwin] last_commit=ruby 2.3.3 * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- I'm getting the following error repeatedly: ``` /cygdrive/c/Data/ruby/lib/rubygems.rb:393:in `paths': uninitialized constant Gem::PathSupport (N ameError) make: *** [uncommon.mk:353: do-install-nodoc] Error 1 ``` I have set --with-baseruby=/usr/bin/ruby, which is an old version of ruby, and started from ./configure, but that doesn't help. The command I use to compile is ``` make up unicode-up install-nodoc runnable ``` The source is at the newest revision, r63393. -- https://bugs.ruby-lang.org/ Unsubscribe: