Project

General

Profile

Actions

Bug #3480

closed

gem_prelude: activation should accomodate for '=' and gem 'gem_name', 'version'

Added by rogerdpack (Roger Pack) almost 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.3dev (2010-06-22) [i386-mingw32]
Backport:

Description

=begin
Hi all.
Noticed that currently gem_prelude.rb doesn't allow for gem activation like:

gem 'gem_name', '2.3.8'

nor

gem 'gem_name', '= 2.3.8'

The attached patch attempts to remedy this unseemly condition.
Cheers!
-r
=end


Files

gem_prelude_accomodate.diff (8.22 KB) gem_prelude_accomodate.diff rogerdpack (Roger Pack), 06/25/2010 11:13 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #3617: respond_to?(:gem) is false in 1.9.2-rc2Rejected07/26/2010Actions
Actions #1

Updated by rogerdpack (Roger Pack) almost 14 years ago

=begin
come to think of it, I'm not sure if gem_prelude accomodates for this style currently, either...

gem 'gem_name', '=2.3.8'
=end

Actions #2

Updated by mame (Yusuke Endoh) almost 14 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

Actions #3

Updated by mame (Yusuke Endoh) almost 14 years ago

  • Category set to lib
  • Target version set to 2.0.0

=begin
Hi,

I decide this issue as WONTFIX for 1.9.2.

Kernel#gem in gem_prelude.rb accepts ">", ">=", and "=" (with your
patch), but they behave the completely same. This feature does not
work correctly at all, I think. Though it may be intended behavior
since the original code was commited at r14011 by Eric himself.

Anyway, it is too late to fix this issue for 1.9.2. In addition,
I think it is no use waiting for this issue to be fixed, even if
the release is postponed. Really hopeless.

I think this issue should be fixed in 1.9.3, by the approach of
nobu's patch in #3140.

--
Yusuke Endoh
=end

Actions #4

Updated by rogerdpack (Roger Pack) over 13 years ago

  • Status changed from Open to Rejected

=begin
moving this feature request to rubygems proper and/or the faster_rubygems gem.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0