Ruby -rubygems -rgem_name fails--is this a bug?

See the title.
With 1.8

ruby -rubygems -rgem_name fails

With 1.9 it doesn’t, but only because of gem prelude.
Is this a bug? It smells like one.
-r

On Dec 2, 7:38 pm, Roger P. [email protected] wrote:

See the title.
With 1.8

ruby -rubygems -rgem_name fails

With 1.9 it doesn’t, but only because of gem prelude.
Is this a bug? It smells like one.

ruby -r is not using the redefined version of require once rubygems is
loaded.

That has been defined as 1.8 behavior and don’t see it changing in the
future.