Autotest not doing anything

Hi,

I am desperate for some help to get autotest working and have spent
hours but with no luck as below:

-bash-3.2$ autotest
loading autotest/rails_rspec2
style: RailsRspec2


-bash-3.2$

Nothing happens?

Below are the contents of my Gemfile, .autotest and discover.db

Gemfile:

source ‘http://rubygems.org

gem ‘rails’, ‘3.0.4’
gem ‘sqlite3-ruby’, ‘1.3.2’, :require => ‘sqlite3’
gem ‘gravatar_image_tag’, ‘1.0.0.pre2’
gem ‘will_paginate’, ‘3.0.pre2’

group :development do
gem ‘rspec-rails’, ‘2.5.0’
gem ‘annotate-models’, ‘1.0.4’
gem ‘faker’, ‘0.3.1’
end

group :test do
gem ‘autotest’, ‘4.3.2’
gem ‘autotest-fsevent’, ‘0.2.4’
gem ‘autotest-growl’, ‘0.2.9’
gem ‘rspec’, ‘2.5.0’
gem ‘webrat’, ‘0.7.1’
gem ‘spork’, ‘0.8.4’
gem ‘factory_girl_rails’, ‘1.0’
end

.autotest:

require ‘autotest/growl’
require ‘autotest/fsevent’

Autotest.add_hook :initialize do |autotest|
autotest.add_mapping(/^spec/requests/._spec.rb$/) do
autotest.files_matching(/^spec/requests/.
_spec.rb$/)
end
end

discover.db:

Autotest.add_discovery { “rails” }
Autotest.add_discovery { “rspec2” }

Really appreciate any help with this.

Many Thanks in advance Matt

Forget about autotest.

It looks cool in the screencasts, but it quickly becomes annoying.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs