Skip to content

simple "rack test" fails #630

Closed
lighthouse-import opened this Issue May 16, 2011 · 10 comments

2 participants

@lighthouse-import

Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/3132
Created by Sam Ruby - 2009-09-02 01:53:18 UTC

generate any sort of controller, and attempt to run "rack test" immediately afterwards, and the test fails. Standalone test script and patch attached.

Problem was introduced with commit a79790e

Symptoms are as follows:

actionpack/lib/action_controller/testing/process.rb:87: no such file to load -- rack/test (MissingSourceFile)
@lighthouse-import

Imported from Lighthouse.
Comment by Sam Ruby - 2009-09-02 01:55:48 UTC

I don't know if this is ideal, but it solves the issue and seems consistent with the approach taken in commits ad49895 and c5f6e03

@lighthouse-import

Imported from Lighthouse.
Comment by Joshua Peek - 2009-09-02 02:40:59 UTC

This should actually be handled by the initializer. The initializer is in charge of what package manager is used, by default it is rubygems.

Hand off to Yehuda and Carl who are working on that atm.

@lighthouse-import

Imported from Lighthouse.
Comment by Jeremy Kemper - 2009-09-02 02:51:02 UTC

Patched at http://github.com/rails/rails/commit/847907d7531331e4b8bc1b8bd80352f87b45ad3a but needs a real fix

@lighthouse-import

Imported from Lighthouse.
Comment by Yehuda Katz (wycats) - 2009-09-02 02:52:06 UTC

Josh is correct, but I pulled this patch to keep things going in the interim.

@lighthouse-import

Imported from Lighthouse.
Comment by Rohit Arondekar - 2010-07-01 09:37:35 UTC

Any updates to this ticket? Was the issue resolved properly?

@lighthouse-import

Imported from Lighthouse.
Comment by Jeremy Kemper - 2010-08-30 03:10:31 UTC

[bulk edit]

@lighthouse-import

Imported from Lighthouse.
Comment by Jeremy Kemper - 2010-10-15 22:01:35 UTC

[bulk edit]

@lighthouse-import

Imported from Lighthouse.
Comment by Santiago Pastorino - 2010-11-15 21:15:11 UTC

[bulk edit]

@lighthouse-import

Imported from Lighthouse.
Comment by Santiago Pastorino - 2011-02-12 21:58:20 UTC

[bulk edit]

@lighthouse-import

Imported from Lighthouse.
Comment by Santiago Pastorino - 2011-02-27 03:15:37 UTC

[bulk edit]

@josevalim josevalim closed this May 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.