Issue #13569 has been updated by h.shirosaki (Hiroshi Shirosaki).


I can reproduce this with msys2 build.
miniruby.exe and ruby.exe have dependency to libgmp-10.dll.
So path which contains libgmp-10.dll is needed to PATH environment variable.

I can avoid the issue by copying libgmp-10.dll to current directory.

It seems that rubyinstaller2 binary uses manifest dependency instead of PATH.
https://github.com/oneclick/rubyinstaller2/blob/master/recipes/sandbox/60-side-by-side-assembly.rake

----------------------------------------
Bug #13569: Windows - TestRubyOptions#test_search - append to paths instead of replacing
https://bugs.ruby-lang.org/issues/13569#change-66622

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-05-11 trunk 58657) [x64-mingw32]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
[TestRubyOptions#test_search](https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L299) replaces `ENV['PATH']`, which causes a failure under Windows.  PR appends, rather than replacing.

See [GitHub PR 1616](https://github.com/ruby/ruby/pull/1616).







-- 
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>