From: nobu@... Date: 2016-05-21T03:00:57+00:00 Subject: [ruby-core:75650] [Ruby trunk Bug#12408][Closed] cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb Issue #12408 has been updated by Nobuyoshi Nakada. Status changed from Open to Closed You have to run tests with the built ruby, not installed one. `make runnable` and use `./bin/ruby.exe`. ---------------------------------------- Bug #12408: cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb https://bugs.ruby-lang.org/issues/12408#change-58783 * Author: Martin D��rst * Status: Closed * Priority: Normal * Assignee: Nobuyoshi Nakada * ruby -v: ruby 2.4.0dev (2016-05-21 trunk 55091) [x86_64-cygwin] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- When I try to run some individual tests with test/runner.rb, I get an error like this: ``` $ ruby test/runner.rb test/ruby/test_ifunless.rb /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- -test-/testutil (LoadError) from /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /cygdrive/c/Data/ruby/test/lib/test/unit.rb:11:in `' from /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' from test/runner.rb:13:in `
' ``` -- https://bugs.ruby-lang.org/ Unsubscribe: