Issue #3140 has been updated by Aaron Patterson.

File undo-prelude-paths.diff added

How about an alternative solution to this problem?  If someone does:

    require 'somegem'

The latest version of 'somegem' gets required.  If someone does this:

    require 'rubygems'
    require 'somegem'

Then rubygems rules apply to subsequent gem requires.  The motivation behind this behavior comes from the idea that if someone doesn't require rubygems, then they don't want or care about rubygems version and activation rules.  If the user *does* require rubygems, then we assume that they care about such things.

Attached is a patch that adds this behavior (originally written by Evan Phoenix).
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3140

----------------------------------------
http://redmine.ruby-lang.org