# Autotest, rspec with rails 3

**URL:** https://rubytalk.org/t/autotest-rspec-with-rails-3/60481
**Category:** ruby-talk
**Created:** [17 October 2010 05:39 UTC](https://rubytalk.org/t/autotest-rspec-with-rails-3/60481 "2010-10-17T05:39:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rajinder\_Yadav](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@Rajinder\_Yadav](https://rubytalk.org/u/Rajinder_Yadav)
#### Post date: [17 October 2010 05:39 UTC](https://rubytalk.org/t/autotest-rspec-with-rails-3/60481/1 "2010-10-17T05:39:43Z")

</div>

Hello I am on Kubuntu and autotest doesn’t seem to run the rspec tests  
after a file change has been saved?

Also has anyone got a GUI notifier setup working on KDE, I would like  
this get that working too!

The rspec test is run once only.

I’ve added the following to Gemfile

gem “autotest”

group :development, :test do  
gem “rspec-rails”, "\>= 2.0.1"  
end

group :test do  
gem 'rspec’  
gem 'webrat’  
end

Gems on my system are:

\*\*\* LOCAL GEMS \*\*\*

abstract (1.0.0)  
actionmailer (3.0.1, 3.0.0)  
actionpack (3.0.1, 3.0.0)  
activemodel (3.0.1, 3.0.0)  
activerecord (3.0.1, 3.0.0)  
activeresource (3.0.1, 3.0.0)  
activesupport (3.0.1, 3.0.0)  
arel (2.0.1, 1.0.1)  
authlogic (2.1.6)  
autotest (4.4.1)  
autotest-rails-pure (4.1.0)  
babosa (0.2.0)  
bcrypt-ruby (2.1.2)  
builder (2.1.2)  
bundler (1.0.3, 1.0.2, 1.0.0)  
calendar\_date\_select (1.16.1)  
devise (1.1.3, 1.1.2)  
diff-lcs (1.1.2)  
erubis (2.6.6)  
fastri (0.3.1.1)  
forgery (0.3.4)  
friendly\_id (3.1.7)  
grackle (0.1.10)  
gruff (0.3.6)  
i18n (0.4.1)  
json (1.4.6)  
mail (2.2.7, 2.2.6.1)  
mechanize (1.0.0)  
mime-types (1.16)  
minitest (1.7.2, 1.6.0)  
nifty-generators (0.4.2, 0.4.1)  
nokogiri (1.4.3.1)  
oauth (0.4.3)  
patron (0.4.9)  
polyglot (0.3.1)  
rack (1.2.1)  
rack-mount (0.6.13)  
rack-test (0.5.6, 0.5.4)  
rails (3.0.1, 3.0.0)  
railties (3.0.1, 3.0.0)  
rake (0.8.7)  
rdoc (2.5.11, 2.5.8)  
RedCloth (4.2.3)  
rmagick (2.13.1)  
rspec (2.0.0, 2.0.0.rc)  
rspec-core (2.0.0, 2.0.0.rc)  
rspec-expectations (2.0.0, 2.0.0.rc)  
rspec-mocks (2.0.0, 2.0.0.rc)  
rspec-rails (2.0.1, 2.0.0, 2.0.0.rc)  
sqlite3-ruby (1.3.1)  
thor (0.14.3, 0.14.1)  
tiny\_mce (0.1.4)  
tkri (0.9.5)  
treetop (1.4.8)  
tzinfo (0.3.23)  
w3c\_validators (1.0.2)  
warden (1.0.1, 0.10.7)  
webrat (0.7.1)  
will\_paginate (3.0.pre2, 2.3.15)

> **···**
>
> –  
> Kind Regards,  
> Rajinder Yadav | [DevMentor.org](http://DevMentor.org) | Do Good! ~ Share Freely
> 
> –  
> You received this message because you are subscribed to the Google Groups “Ruby on Rails: Talk” group.  
> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org  
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org  
> For more options, visit this group at [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

---

<div class="post-metadata">

### Author: ![Brian\_Candler](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@Brian\_Candler](https://rubytalk.org/u/Brian_Candler)
#### Post date: [17 October 2010 08:33 UTC](https://rubytalk.org/t/autotest-rspec-with-rails-3/60481/2 "2010-10-17T08:33:07Z")

</div>

This is the mailing list for Ruby, the programming language.

Problems with Rails, the web framework, are best asked in a Rails forum.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

### Author: ![Dev\_Guy](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Dev\_Guy](https://rubytalk.org/u/Dev_Guy)
#### Post date: [17 October 2010 09:23 UTC](https://rubytalk.org/t/autotest-rspec-with-rails-3/60481/3 "2010-10-17T09:23:05Z")

</div>

Don't people use rspec in ruby for testing?

> **···**
>
> On 10-10-17 04:33 AM, Brian Candler wrote:
> 
> > This is the mailing list for Ruby, the programming language.
> > 
> > Problems with Rails, the web framework, are best asked in a Rails forum.
> 
> --  
> Kind Regards,  
> Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

---

<div class="post-metadata">

### Author: ![Dev\_Guy](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Dev\_Guy](https://rubytalk.org/u/Dev_Guy)
#### Post date: [17 October 2010 09:31 UTC](https://rubytalk.org/t/autotest-rspec-with-rails-3/60481/4 "2010-10-17T09:31:12Z")

</div>

I guess my question was more about autotest, not rails testing, it seems autotest doesn't auto run the test and i was wondering if others using kubunut had any success

> **···**
>
> On 10-10-17 04:33 AM, Brian Candler wrote:
> 
> > This is the mailing list for Ruby, the programming language.
> > 
> > Problems with Rails, the web framework, are best asked in a Rails forum.
> 
> --  
> Kind Regards,  
> Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely
