[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67595] [ruby-trunk - Bug #10196] rdoc should not depend on gems

From: luizluca@...
Date: 2015-01-15 00:43:33 UTC
List: ruby-core #67595
Issue #10196 has been updated by Luiz Angelo Daros de Luca.


I sent a PR for rdoc/rdoc in github. Probably
it is the right place to ask for changes in rdoc.

https://github.com/rdoc/rdoc/pull/340

----------------------------------------
Bug #10196: rdoc should not depend on gems
https://bugs.ruby-lang.org/issues/10196#change-51015

* Author: Luiz Angelo Daros de Luca
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [i486-linux-gnu]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Hello,

It seems in rdoc code that it can run without gems.

However, at some places, it explicitly cites gem or Gem without dealing with
the exception. Also, it requires "rubygems", which might be useless since
gem_prelude does that.

I created a patch to remove the extra 'require "rubygems"' and treat the gem "xxx"
exception just like /usr/bin/rdoc does

---Files--------------------------------
001-rdoc-remove_gems_dep.patch (908 Bytes)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next