Project

General

Profile

Actions

Bug #6124

closed

remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)

Added by vo.x (Vit Ondruch) over 12 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3p0 (2011-10-30) [x86_64-linux]
[ruby-core:43120]
Tags:

Description

As I tried to point out in #6123, the "fake" gems which are distributed with Ruby breaks user's expectations. The following example should fail:

$ ruby --disable-gems -e "puts require('bigdecimal')"
true

However, it is not failing. Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. This makes no sense.

Don't take me wrong, I am big fan of gemified stdlib #5481, however this is not the way how it should be done.


Files

noname (500 Bytes) noname Anonymous, 03/08/2012 01:53 AM
noname (500 Bytes) noname Anonymous, 03/08/2012 07:53 AM

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #6123: Properly gemify BigDecimalRejected03/07/2012Actions
Related to Ruby master - Feature #6590: Dealing with bigdecimal, etc gems in JRubyThird Party's Issuehsbt (Hiroshi SHIBATA)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0