Issue #14626 has been updated by Benoit_Tigeot (Benoit Tigeot).


Thanks a lot for the help.

Localy I have this setup https://github.com/ko1/rubyhackchallenge/blob/master/EN/2_mri_structure.md#assumptions

```

    code/
        ruby/ <- git cloned directory
        build/ <- build directory (*.o files and other compilation artifacts are stored here)
        install/ <- install directory (workdir/install/bin/ruby is the installed binary)
```

The naive command I run is 
`cd ~/code/ruby && autoconf && cd ~/code/build && ../ruby/configure --prefix=$PWD/../install --enable-shared --with-openssl-dir="$(brew --prefix openssl)" --with-readline-dir="$(brew --prefix readline)" --disable-libedit && make -j && make install-nodoc && clear; make test-all TESTS='rubygems/test_require.rb'`

The failing test appears between ruby version v2_2_9 and v2_3_0 when this tests was introduced. I will stop bisecting and instead ask rubygems team. :)

----------------------------------------
Bug #14626: One failing test on trunk 58fbe69a5b and OSX
https://bugs.ruby-lang.org/issues/14626#change-71218

* Author: Benoit_Tigeot (Benoit Tigeot)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
I'm using ruby/trunk on 58fbe69a5b. When I run *make test-all TESTS='rubygems/test_require.rb'*

~~~ text
Run options: "--ruby=./miniruby -I../ruby/lib -I. -I.ext/common  ../ruby/tool/runruby.rb --extout=.ext  -- --disable-gems" --excludes-dir=../ruby/test/excludes --name=!/memory_leak/

# Running tests:

[ 2/21] TestGemRequire#test_dash_i_beats_gems = 0.05 s
  1) Error:
TestGemRequire#test_dash_i_beats_gems:
NameError: uninitialized constant HELLO
    /Users/bti/code/ruby/test/rubygems/test_require.rb:65:in `test_dash_i_beats_gems'

Finished tests in 0.656300s, 31.9976 tests/s, 135.6087 assertions/s.
21 tests, 89 assertions, 0 failures, 1 errors, 1 skips
~~~

Here are my current environment details:

* osx 10.13.2
* ruby trunk 58fbe69a5b

Is their a guide somewhere for git bisecting ruby trunk. I'm using https://github.com/ko1/rubyhackchallenge/blob/master/EN/2_mri_structure.md#assumptions and I'm not sure about the best way of doing it.

I'm running *make test-all* from my *build* folder but do I need to run *../ruby/configure ....* and *make install* everytime I checkout a previous version? I feel dumb of asking those questions.

Thanks a lot in advance




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