# Problem with Autotest and Rails

**URL:** <https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950>\
**Category:** Rails\
**Created:** [January 14, 2008, 4:38am UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950 "2008-01-14T04:38:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![esquilax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Post date:** [January 14, 2008, 4:38am UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950/1 "2008-01-14T04:38:52Z")

</div>

using rails 2.0.2 and ZenTest 3.7.2

I know this must be something dumb I’m doing. But I’m getting this  
problem both in OSX and ubuntu.

On a new rails projects when I run autotest I get the following  
output

* * *

## loading autotest/rails Dunno! test/test\_helper.rb Dunno! README Dunno! Rakefile Dunno! app/helpers/application\_helper.rb Dunno! app/controllers/application.rb

## when I install the two rspec plugins, rspec and rspec\_on\_rails I get the same output followed by every file part of the two pugins, so:

## loading autotest/rails Dunno! test/test\_helper.rb Dunno! README Dunno! app/helpers/application\_helper.rb Dunno! app/controllers/application.rb Dunno! Rakefile Dunno! vendor/plugins/rspec\_on\_rails/generators/rspec/templates/script/spec Dunno! vendor/plugins/rspec\_on\_rails/generators/rspec\_scaffold/templates/helper\_spec.rb Dunno! vendor/plugins/rspec\_on\_rails/Rakefile Dunno! vendor/plugins/rspec\_on\_rails/spec/rails/example/shared\_behaviour\_spec.rb Dunno! vendor/plugins/rspec\_on\_rails/spec\_resources/views/view\_spec/implicit\_helper.rhtml Dunno! vendor/plugins/rspec\_on\_rails/generators/rspec\_controller/templates/helper\_spec.rb . etc…

I know I must be doing something dumb, can someone tell me please?

---

<div class="post-metadata">

**Author:** ![esquilax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Post date:** [January 14, 2008, 8:50am UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950/2 "2008-01-14T08:50:28Z")

</div>

Hi Andrew,

If you don’t already have one, create a file called “.autotest” in the  
root directory of your rails project.

Then add this line to the file:

$VERBOSE = false

I got this solution from [Changes in rspec's trunk and autotest - RSpec - Ruby-Forum](http://www.ruby-forum.com/topic/138407#615877)  
because I was having the same problem you were.

Cheers,

Adam S.  
[http://adamsoltys.com/](http://adamsoltys.com/)

Andrew G. wrote:

> using rails 2.0.2 and ZenTest 3.7.2
> 
> I know this must be something dumb I’m doing. But I’m getting this  
> problem both in OSX and ubuntu.
> 
> On a new rails projects when I run autotest I get the following  
> output
> 
> * * *
> 
> ## loading autotest/rails Dunno! test/test\_helper.rb Dunno! README Dunno! Rakefile Dunno! app/helpers/application\_helper.rb Dunno! app/controllers/application.rb
> 
> ## when I install the two rspec plugins, rspec and rspec\_on\_rails I get the same output followed by every file part of the two pugins, so:
> 
> ## loading autotest/rails Dunno! test/test\_helper.rb Dunno! README Dunno! app/helpers/application\_helper.rb Dunno! app/controllers/application.rb Dunno! Rakefile Dunno! vendor/plugins/rspec\_on\_rails/generators/rspec/templates/script/spec Dunno! vendor/plugins/rspec\_on\_rails/generators/rspec\_scaffold/templates/helper\_spec.rb Dunno! vendor/plugins/rspec\_on\_rails/Rakefile Dunno! vendor/plugins/rspec\_on\_rails/spec/rails/example/shared\_behaviour\_spec.rb Dunno! vendor/plugins/rspec\_on\_rails/spec\_resources/views/view\_spec/implicit\_helper.rhtml Dunno! vendor/plugins/rspec\_on\_rails/generators/rspec\_controller/templates/helper\_spec.rb . etc…
> 
> I know I must be doing something dumb, can someone tell me please?

---

<div class="post-metadata">

**Author:** ![esquilax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Post date:** [January 14, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950/3 "2008-01-14T15:29:29Z")

</div>

wicked! thanks, that fixed it.

---

<div class="post-metadata">

**Author:** ![esquilax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Post date:** [January 14, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950/4 "2008-01-14T18:44:29Z")

</div>

On Jan 14, 2008 8:29 AM, Andrew G.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> wicked! thanks, that fixed it.

FYI - all that was happening was that ZenTest-3.7.2 was spitting out  
the names of files it doesn’t have mapping for by default. That’s  
fixed in 3.8.0 (coming very soon) so you’ll actually want to get rid  
of that line in .autotest if you want to be able to use the -v flag to  
run in verbose mode.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![esquilax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Post date:** [January 14, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950/5 "2008-01-14T18:56:03Z")

</div>

On Jan 14, 9:43 am, “David C.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> FYI - all that was happening was that ZenTest-3.7.2 was spitting out  
> the names of files it doesn’t have mapping for by default.

I wonder why he got all those dunnos, though.

///ark

---

<div class="post-metadata">

**Author:** ![esquilax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/e0b2c6/32.png) [@esquilax](https://www.ruby-forum.com/u/esquilax)\
**Post date:** [February 22, 2008, 11:52am UTC](https://www.ruby-forum.com/t/problem-with-autotest-and-rails/125950/6 "2008-02-22T11:52:13Z")

</div>

On Jan 14, 7:29 pm, Andrew G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ## wicked! thanks, that fixed it.
> 
> Posted viahttp://www.ruby-forum.com/.  
> On Jan 14, 7:29 pm, Andrew G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
