| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/doc/ruby-minitest/ |
Upload File : |
The version of minitest provided by this package breaks the test/unit version bundled with the Ruby interpreter.
Requiring "test/unit" with the ruby-minitest installed causes error messages like:
Warning: you should require 'minitest/autorun' instead.
Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
/usr/lib/ruby/2.1.0/test/unit.rb:1:in `<top (required)>'
MiniTest::Unit::TestCase is now Minitest::Test. From /usr/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>'
/usr/lib/ruby/2.1.0/test/unit.rb:676:in `<class:Runner>': undefined method `_run_suite' for class `Test::Unit::Runner' (NameError)
from /usr/lib/ruby/2.1.0/test/unit.rb:261:in `<module:Unit>'
from /usr/lib/ruby/2.1.0/test/unit.rb:15:in `<module:Test>'
from /usr/lib/ruby/2.1.0/test/unit.rb:7:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
The problem is due to the fact that the interpreter's version of test/unit is a
compatibility layer with the version of minitest bundled with the interpreter,
which is hidden once the ruby-minitest package is installed. The version of
this package is not compatible with this compatibility layer.
To remedy this problem, install the ruby-test-unit package, providing a more
complete version of test/unit. This will hide the interpreter's version of
test/unit, and avoid to rely on minitest.
-- Cédric Boutillier <boutil@debian.org> Wed, 29 Apr 2015 10:06:57 +0200