This project is archived and is in readonly mode.

#6351 ✓invalid
dspencer

Rake test fails on a fresh clone on OSX.

Reported by dspencer | January 31st, 2011 @ 08:38 PM

I've tried this on both system ruby (I'm on OSX 10.6.6, so that is using ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]) and on ruby 1.9.2p136. I'm using rvm for both of these. Both are failing in activerecord.

Comments and changes to this ticket

  • Rohit Arondekar

    Rohit Arondekar February 1st, 2011 @ 05:35 AM

    • Importance changed from “” to “Low”

    Could you please include the error or relevant output that you get?

  • dspencer

    dspencer February 4th, 2011 @ 02:48 AM

    For running rake test in 1.9.2@136, in the activerecord folder: https://gist.github.com/810662
    It said Errors running test_mysql, test_mysql2, test_postgresql
    But I had done bundle install --without db; so I didn't think those should be tested.

  • Rohit Arondekar

    Rohit Arondekar February 7th, 2011 @ 01:56 PM

    • State changed from “new” to “invalid”

    I don't think it makes sense for the test suite to be aware of what is bundled and what isn't. If you don't bundle the :db group then it's your responsibility not to run the activerecord test suite. For convenience you could just write a small script for your use that switches to each components directory (eg: activerecord, activemodel etc) and run rake. That way you can run all tests except for activerecord.

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