[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70478] [Ruby trunk - Bug #11472] [Open] Some default gems are not installed if GEM_HOME is set during Ruby installation

From: vladimir@...
Date: 2015-08-20 20:26:33 UTC
List: ruby-core #70478
Issue #11472 has been reported by Vladimir Andrijevikj.

----------------------------------------
Bug #11472: Some default gems are not installed if GEM_HOME is set during R=
uby installation
https://bugs.ruby-lang.org/issues/11472

* Author: Vladimir Andrijevikj
* Status: Open
* Priority: Normal
* Assignee:=20
* ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
As of 2.2.3, the issue which I believe was fixed with [this commit](https:/=
/github.com/ruby/ruby/commit/ec171c45975b525bbe5d63b92f1521622aa05394) seem=
s to be back: `minitest`, `test-unit`, and `power_assert` are not installed=
 if `GEM_HOME` is set when building Ruby.

~~~
$ env | grep GEM
GEM_HOME=3D/Users/vladimir/ruby/default/gems
GEM_PATH=3D/Users/vladimir/ruby/default/gems

$ ruby-build 2.2.3 ~/ruby/2.2.3

$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

$ gem list

*** LOCAL GEMS ***

bigdecimal (1.2.6)
io-console (0.4.3)
json (1.8.1)
psych (2.0.8)
rake (10.4.2)
rdoc (4.2.0)
~~~

Doing the exact same installation, but making sure that `GEM_HOME` and `GEM=
_PATH` are not set, yields:

~~~
$ unset GEM_HOME
$ unset GEM_PATH
$ ruby-build 2.2.3 ~/ruby/2.2.3

$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

$ gem list

*** LOCAL GEMS ***

bigdecimal (1.2.6)
io-console (0.4.3)
json (1.8.1)
minitest (5.4.3)
power_assert (0.2.2)
psych (2.0.8)
rake (10.4.2)
rdoc (4.2.0)
test-unit (3.0.8)
~~~

I do not observe this behavior with Ruby 2.2.2, so I believe it is a regres=
sion introduced in 2.2.3. Thank you for your consideration, and please let =
me know if I did something wrong =E2=80=93 this is my first time reporting =
an issue here.



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

In This Thread

Prev Next