This project is archived and is in readonly mode.

#5264 open
Nick Ragaz

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

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

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.

Comments and changes to this ticket

  • der_flo

    der_flo September 9th, 2010 @ 02:58 PM

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

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:32 PM

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

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:32 PM

    • State changed from “open” to “stale”
  • Marc Love

    Marc Love April 22nd, 2011 @ 08:16 AM

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

  • Marc Love

    Marc Love April 22nd, 2011 @ 08:18 AM

    • 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”

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>

Pages