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 6726795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:58:11+00:00 2026-05-26T09:58:11+00:00

In Ruby 1.9.1, I find that ctrl + c only kills a single unit

  • 0

In Ruby 1.9.1, I find that ctrl + c only kills a single unit test, and you can’t stop the running of the entire testing program that way.

By contrast, under test/unit in Ruby 1.8, it stops all the tests.

Sample progress bar under 1.9.1:

ruby1.9.1 test/ts_foo.rb 
Loaded suite test/ts_foo
Started

…………………………^CF……………………………………………………………………^CE………………^C^C^CE..E..^C^C^C^CEE^CE^CE^CE^CE^C^C^CEE^CE^CE^CE^CE^CE^CE..^CE…^C..E..^C.E……^CE..^CE…….^C^C^CE.E.^CE^CE^C^CE^CE..^C.E…^CE.^CE..^CE…^C.E..^C.E..^C.E..^CE…^CE….^CE…………..

And under 1.8.7:

$ ruby test/ts_foo.rb 
Loaded suite test/ts_foo
Started

………………………………………………..^C.

I’m running this on Ubuntu Karmic Koala, and the Ruby versions are

$ ruby1.9.1 --version
ruby 1.9.1p243 (2009-07-16 revision 24175) [x86_64-linux]
$ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
  • 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-26T09:58:12+00:00Added an answer on May 26, 2026 at 9:58 am

    It appears that ruby-1.9.1 includes a very ancient version of minitest.
    This (unusual) behavior has been fixed quite a while ago: minitest commit.

    The solution might be either to switch to later 1.9 version (ruby-1.9.2’s minitest does include that fix) or to upgrade local ruby-1.9.1 minitest (either manually or hopefully just by installing latest minitest gem).

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

Sidebar

Related Questions

Using Ruby's ri tool can I get a list of classes that implement the
I can run Bash shell commands from with a Ruby program or irb using
I'm a new Ruby/Rails guy. Here's one question puzzling me: Can we find the
I'm diving into Ruby on Rails and I find that when I'm using the
In Ruby we can find out the class methods by Class.methods, instance methods by
I am trying to find ruby code that has commensurate functionality to these lines
I am trying to find all ruby files in the project. However I want
Is there any Tcl podcasts (in English)? It's not hard to find about Ruby,
In ruby on rails how do I find the top 3 records of my
Duplicate: How To Find Where A Ruby Method Is Defined At Runtime With a

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.