This project is archived and is in readonly mode.
rails disables gems from loading previous versions on 1.9
Reported by Roger | January 24th, 2010 @ 04:15 AM
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...
Comments and changes to this ticket
-
Rohit Arondekar October 8th, 2010 @ 02:48 AM
- 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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>