Autotest FAIL


#1

Hi All,

I recently did a gem cleanup and seem to be having trouble with
autotest… any ideas???

rake runs fine, but autotest doesn’t run any of my tests:

################LOOK WHAT HAPPENS WHEN I RUN RAKE _ EVERYTHING IS
FINE##############
$ rake test
(in /Users/me/Projects/myproject/trunk)
/usr/local/bin/ruby -I"/Users/me/Projects/myproject/trunk/lib"
-I"/Users/me/Projects/myproject/trunk/test"
“/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb”
“test/unit/helpers/send_to_a_friend_helper_test.rb”
“test/unit/helpers/subscriptions_helper_test.rb”
“test/unit/helpers/twitter_helper_test.rb”
“test/unit/helpers/votes_helper_test.rb”
“test/unit/notification_mailer_test.rb” “test/unit/subscription_test.rb”
“test/unit/vote_test.rb”
Loaded suite
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader
Started

Finished in 0.496899 seconds.

7 tests, 5 assertions, 0 failures, 0 errors

################NOW, I"LL RUN AUTOTEST AND NO TESTS ARE
RUN##############
$ autotest
/usr/local/bin/ruby -I.:lib:test -rubygems -e “%w[test/unit
test/test_helper.rb].each { |f| require f }” | unit_diff -u
Loaded suite -e
Started

Finished in 0.001634 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

Gems installed:

$ gem list

*** LOCAL GEMS ***

actionmailer (2.3.2)
actionpack (2.3.2, 1.13.3)
actionpack-imagemagick (0.4)
actionwebservice (1.2.3)
activerecord (2.3.2)
activeresource (2.3.2)
activesupport (2.3.2, 2.3.1, 1.4.2)
aws-s3 (0.5.1)
builder (2.1.2)
capistrano (2.5.5)
cgi_multipart_eof_fix (2.5.0)
cheat (1.2.1)
chronic (0.2.3)
cloudkit (0.9.0)
columnize (0.2)
crack (0.1.2)
crafterm-sprinkle (0.2.0)
cucumber (0.3.9)
daemons (1.0.10)
diff-lcs (1.1.2)
eventmachine (0.12.2)
eycap (0.3.11)
fastercsv (1.4.0)
fastthread (1.0.1)
gem_plugin (0.2.3)
grit (1.0.0)
gruff (0.2.8)
has_many_polymorphs (2.12)
heroku (0.4.1)
highline (1.5.0)
hoe (1.8.2)
hpricot (0.6.164)
httparty (0.4.3)
image_science (1.1.3)
jdpace-weatherman (0.1.2)
json (1.1.3)
linecache (0.43)
macaddr (1.0.0)
mash (0.0.3)
mdalessio-dryopteris (0.1.0)
mechanize (0.9.0)
mime-types (1.15)
mislav-will_paginate (2.3.6)
mocha (0.9.5)
mojombo-grit (0.9.4)
money (1.7.1)
mongrel (1.1.5)
mysql (2.7)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.1)
net-ssh (2.0.11)
net-ssh-gateway (1.0.0)
nifty-generators (0.2.3)
nokogiri (1.2.3)
oauth (0.3.4)
open4 (0.9.6)
packet (0.1.15)
passenger (2.0.3)
pauldix-feedzirra (0.0.3)
pauldix-sax-machine (0.0.11)
Platform (0.4.0)
polyglot (0.2.5)
prawn (0.2.3)
rack (0.9.1)
rack-config (0.9.0)
rails (2.3.2, 2.3.1)
railsmachine (1.0.5)
rake (0.8.4)
rcov (0.8.0.2)
RedCloth (4.1.9)
redgreen (1.2.2)
rest-client (0.9.2)
rmagick (1.15.4)
rspec (1.1.12)
ruby-debug (0.10.2)
ruby-debug-base (0.10.2)
ruby-hmac (0.3.2)
ruby-openid (2.1.2)
rubyforge (1.0.3)
rubygems-update (1.3.3)
RubyInline (3.8.1)
rubyist-aasm (2.0.5)
scrubyt (0.4.06)
sequel (2.8.0, 2.6.0)
sinatra (0.3.2)
sources (0.0.1)
spree (0.2.0)
sqlite3-ruby (1.2.4)
stephencelis-haddock (0.0.1)
sys-uname (0.8.3)
taf2-curb (0.2.8.0)
term-ansicolor (1.0.3)
termios (0.9.4)
thin (1.0.0)
treetop (1.2.5)
twitter (0.6.11)
utility_belt (1.1.0)
uuid (2.0.1)
wirble (0.1.2)
xml-simple (1.0.11)
yahoo-weather (1.0.0)
ZenTest (4.1.1)


#2

Oh, oh oh, I got it working - had to install autotest-rails (gem install
autotest-rails)

man, rough day today. bunch of gems got wiped out, all better now…