gem_prelude: activation should accomodate for '=' and gem 'gem_name', 'version'
Noticed that currently gem_prelude.rb doesn't allow for gem activation like:
gem 'gem_name', '2.3.8'
gem 'gem_name', '= 2.3.8'
The attached patch attempts to remedy this unseemly condition.
#3 Updated by mame (Yusuke Endoh) about 7 years ago
- Category set to lib
- Target version set to 2.0.0
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 email@example.com