This project is archived and is in readonly mode.
Fix for breaking Activeresource unit tests
Reported by madlep | December 23rd, 2008 @ 12:55 PM | in 2.x
Was getting unit test breakages while running Activeresource unit tests. Seemed to be related to usage of Benchmark.ms, which exists in head from git, but not in locally installed gems.
Added activesupport/lib to activeresource abstract_unit, and required activesupport.rb.
Fixed issue, and tests now run successfully. Similar to http://rails.lighthouseapp.com/p...
Comments and changes to this ticket
-
Frederick Cheung December 25th, 2008 @ 10:33 AM
That's odd, those tests don't fail for me. It also looks like that at the point where activessupport is required (in active_resource.rb) rubygems isn't even loaded yet.
-
madlep December 25th, 2008 @ 09:42 PM
Frederick - I've got
export RUBYOPT=rubygems
as part of my .profile, so Rubygems is loaded automatically whenever a Ruby interpreter starts up. -
Pratik March 8th, 2009 @ 02:19 PM
- Assigned user set to Jeremy Kemper
-
Repository March 8th, 2009 @ 06:04 PM
- State changed from new to committed
(from [0c407891fb209a4f94f09681db28e40a8b754198]) Ensure Active Support is loaded locally rather than from RubyGems. [#1620 state:committed] http://github.com/rails/rails/co...
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>
People watching this ticket
Attachments
Referenced by
- 1620 Fix for breaking Activeresource unit tests (from [0c407891fb209a4f94f09681db28e40a8b754198]) Ensure ...