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.

Fix for breaking Activeresource unit tests

#1620

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...

Reported by madlep · December 23rd, 2008 @ 12:55 PM

State: committed
Milestone: 2.x
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Bruce Krysiak
    Bruce Krysiak

    Nice, works for me. I was having the same problem.

    December 25th, 2008 @ 09:35 AM

  2. Frederick Cheung
    Frederick Cheung

    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.

    December 25th, 2008 @ 10:33 AM

  3. madlep
    madlep

    Frederick - I've got export RUBYOPT=rubygems as part of my .profile, so Rubygems is loaded automatically whenever a Ruby interpreter starts up.

    December 25th, 2008 @ 09:42 PM

  4. Pratik
    Pratik
    • Assigned user set to Jeremy Kemper

    March 8th, 2009 @ 02:19 PM

  5. Repository
    Repository
    • 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...

    March 8th, 2009 @ 06:04 PM