Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4002096
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:59:04+00:00 2026-05-20T07:59:04+00:00

I have a new project that I am trying to get up and running

  • 0

I have a new project that I am trying to get up and running with rspec, autotest and spork.

I am using:

  • rails 3.0.4

  • rspec 2.5.0

  • spork 0.9.0.rc3

  • autotest 4.4.6

Spork seems to be loading fine (I get a message that it is listening on a port), but when I run autotest with a failing test, it reruns that test over and over. It should just run the test, see that it is failing and stop. Any idea why this behavior is happening?

Also, once I make the failing tests pass, autotest stops as it should. If I then make a change to the code, the tests don’t get run and I need to Ctrl-C to have autotest see the changes.

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:59:04+00:00Added an answer on May 20, 2026 at 7:59 am

    Are you sure that this is related to spork? I just fixed a similar problem with autotest and an endless loop, where some component (simplecov in that case) kept updating files in the directory and autotest picked them up as being changed and therefore reran the tests.
    To solve the problem, find out if spork writes to some file/directory in your tree and add this to the exception list for autotest like so:

    ~/ruby/project$ cat .autotest
    Autotest.add_hook :initialize do |at|
      at.add_exception(%r{^\./\.git})
      at.add_exception(%r{^\./your_culprit})
    end
    

    Maybe the docu on github makes it more clear.
    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new in eclipse and I have got a project that can add and
I am quite new to intellij and i have loaded in a project that
I have created a new method in one of the project's controllers that it
I created a new cordova project on XCODE, I have some files that I
I'm trying to get RoR installed on my Ubuntu install and have it running
I'm using VS2008, and I have a project that will not start when I
In my Rails project, I'm using VCR and RSpec to test HTTP interactions against
I'm new to WCF and trying to get my first service running. I'm close
i have one doubt,i have created new project in eclipse with android 2.3.1 and
I have a new c++ project built with autoconf, automake and libtool. Functionality is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.