Project

General

Profile

Actions

Bug #9660

closed

test/unit, minitest & bundler

Added by marcandre (Marc-Andre Lafortune) about 10 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
ruby -v:
r45033
[ruby-core:61623]

Description

test/unit now calls gem 'minitest', but this will create regressions for anyone using bundler.

For example, create an empty Gemfile and try bundle exec ruby -e "require 'test/unit'"

You get an error:

.rvm/gems/ruby-head@global/gems/bundler-1.5.3/lib/bundler/rubygems_integration.rb:240:in `block in replace_gem': minitest is not part of the bundle. Add it to Gemfile. (Gem::LoadError)

See: https://github.com/ruby/ruby/commit/da61291a25faae95f33de6756b2eaa4804d5ef2b#commitcomment-5761129


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #9711: Remove test-unit and minitest from stdlib.Closedzenspider (Ryan Davis)04/07/2014Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0