Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rails disables gems from loading previous versions on 1.9

#3778

from
http://groups.google.com/group/rubyonrails-core/browse_thread/threa...

if you install the "test-unit" gem v1.2.3 and 2.0.6,

then try to load v1.2.3

ex, this action:

def go

gem 'test-unit', '= 1.2.3'
require 'test/unit/version'
render :text => Test::Unit::VERSION

end

it should render '1.2.3', but it instead render '2.0.6' (with ruby 1.9)

reason: within the line "gem 'test-unit', '= 1.2.3'", gems searches for the @gem_prelude_index within the $:, can't find it (because active_support accidentally cleared it when it did a $LOAD_PATH.uniq!)

I...think this is unexpected.
Thanks.
-r ref:
http://rubyforge.org/tracker/index.php?func=detail&aid=27699&am...

Reported by Roger · January 24th, 2010 @ 04:15 AM

State: stale
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to Low

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 8th, 2010 @ 02:48 AM