# Help with Autotest + Rspec

**URL:** <https://www.ruby-forum.com/t/help-with-autotest-rspec/146531>\
**Category:** Rails\
**Created:** [August 22, 2008, 2:26am UTC](https://www.ruby-forum.com/t/help-with-autotest-rspec/146531 "2008-08-22T02:26:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tikaro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@tikaro](https://www.ruby-forum.com/u/tikaro)\
**Post date:** [August 22, 2008, 2:26am UTC](https://www.ruby-forum.com/t/help-with-autotest-rspec/146531/1 "2008-08-22T02:26:36Z")

</div>

I’ve been getting into Rspec and the final piece I have yet to get  
working is Autotest.

Pretty sure I’ve got everything installed correctly-  
Gems: ZenTest 3.1, Rspec 1.1.4  
Plugin: Rspec Rails

On Rails 2.1

I can manually run my specs but when I launch Autotest i get:  
autotest  
loading autotest/rails\_rspec  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -  
S /Library/Ruby/Gems/1.8/gems/rspec-1.1.4/bin/spec -O spec/spec.opts

When I save a file, the last line (/System/Library…) just spits  
out again.

Any ideas?

---

<div class="post-metadata">

**Author:** ![tikaro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@tikaro](https://www.ruby-forum.com/u/tikaro)\
**Post date:** [August 22, 2008, 9:01am UTC](https://www.ruby-forum.com/t/help-with-autotest-rspec/146531/2 "2008-08-22T09:01:56Z")

</div>

John Y. wrote:

> I’ve been getting into Rspec and the final piece I have yet to get  
> working is Autotest.
> 
> Pretty sure I’ve got everything installed correctly-  
> Gems: ZenTest 3.1, Rspec 1.1.4  
> Plugin: Rspec Rails
> 
> On Rails 2.1
> 
> I can manually run my specs but when I launch Autotest i get:  
> autotest  
> loading autotest/rails\_rspec  
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -  
> S /Library/Ruby/Gems/1.8/gems/rspec-1.1.4/bin/spec -O spec/spec.opts
> 
> When I save a file, the last line (/System/Library…) just spits  
> out again.
> 
> Any ideas?

hello,

It is inbuilt mechanism of Autotest. It is constantly running within  
your application and whenever you save any of your file it will test it  
itself, you don’t need to run spec for it and displays quick output  
there only so that you can get an idea if your change conflicts any  
where.

---

<div class="post-metadata">

**Author:** ![tikaro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/2acd7d/32.png) [@tikaro](https://www.ruby-forum.com/u/tikaro)\
**Post date:** [August 22, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/help-with-autotest-rspec/146531/3 "2008-08-22T20:20:37Z")

</div>

Thanks. I got it resolved.
