#466 √ wontfix
Chuck Grindel

Update autospec to work on Windows

Reported by Chuck Grindel | July 11th, 2008 @ 08:32 PM | in 1.1.5

On Windows, the call to autotest in the autospec file does not work, because autotest is a batch file which turns around and calls the autotest ruby script. When shelling out from a Ruby script to call a batch file, one must use the "call" command. Below is an updated version of the file.

#!/usr/bin/env ruby

ENV['RSPEC'] = 'true'

autotest_cmd = 'autotest'

autotest_cmd = "call #{autotest_cmd}" if RUBY_PLATFORM =~ /mswin/

system autotest_cmd

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Behaviour Driven Development for Ruby.

Shared Ticket Bins

People watching this ticket