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.

"test:profile" fails on 3.x with Ruby 1.9.2

#5264

Running the rake test:profile task doesn't seem to work on 3.0.0.rc (or master) with 1.9.2 rc2.

Running it without ruby-prof in the Gemfile gives the message "Add ruby-prof to your Gemfile".

Adding ruby-prof leads to this exception:

uninitialized constant BrowsingTest::STARTED

This may be a ruby-prof problem -- I think it doesn't like using minitest (default for 1.9.2) instead of test/unit. But it's not very friendly default behaviour, and I have no idea how to fix it.

Reported by Nick Ragaz · July 31st, 2010 @ 06:53 PM

State: open
Milestone: none
Assigned to: Santiago Pastorino Santiago Pastorino
Importance: none

Activity

  1. der_flo
    der_flo
    • Tag changed from 1.9.2, 3.0.0.rc, ruby-1.9.2, testing to 1.9.2, 3.0, ruby-1.9.2, testing

    I get the same error with rails 3.0.0 final.

    September 9th, 2010 @ 02:58 PM

  2. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to open
    • Tag changed from 1.9.2, 3.0, ruby-1.9.2, testing to 192, 30, ruby-192, testing

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    February 2nd, 2011 @ 04:32 PM

  3. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to stale

    February 2nd, 2011 @ 04:32 PM

  4. Marc Love
    Marc Love
    • State changed from stale to open
    • Assigned user set to Santiago Pastorino

    [state:open]

    This is still happening on master. I have nothing to add to Nick's original ticket description. This is a problem with Ruby 1.9.2 using MiniTest by default, which apparently doesn't have something that Test::Unit did have and which the Rails performance tests depend upon.

    April 22nd, 2011 @ 08:16 AM

  5. Marc Love
    Marc Love
    • Title changed from "test:profile" fails on 3.0.0.rc with Ruby 1.9.2 to "test:profile" fails on 3.x with Ruby 1.9.2

    April 22nd, 2011 @ 08:18 AM