Greg Hauptmann
2008-Sep-04 21:06 UTC
autotest error - `slice'': can''t convert Regexp into Integer (TypeError) ???
Hi, Just downloaded ZenTest and ran however I''m getting the following error. Any ideas? /Users/greg/.autotest:11:in `slice'': can''t convert Regexp into Integer (TypeError) from /Users/greg/.autotest:11 from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:637:in `[]'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:637:in `hook'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:191:in `any?'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:636:in `each'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:636:in `any?'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:636:in `hook'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:271:in `run_tests'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:228:in `get_to_green'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:208:in `run'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:206:in `loop'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:206:in `run'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/lib/autotest.rb:136:in `run'' from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.10.0/bin/autotest:55 from /opt/local/bin/autotest:19:in `load'' from /opt/local/bin/autotest:19 I''m on Mac, Leopard, with: Macintosh:testapp2 greg$ ruby -v ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin9.3.0] Macintosh:testapp2 greg$ rails -v Rails 2.1.0 Macintosh:testapp2 greg$ gem -v 1.1.1 Macintosh:testapp2 greg$ gem list *** LOCAL GEMS *** actionmailer (2.1.0, 2.0.2, 1.3.3) actionpack (2.1.0, 2.0.2, 1.13.6, 1.13.3) actionwebservice (1.2.6, 1.2.3) activerecord (2.1.0, 2.0.2, 1.15.6, 1.15.3) activeresource (2.1.0, 2.0.2) activesupport (2.1.0, 2.0.2, 1.4.4, 1.4.2) capistrano (2.4.2, 2.2.0, 2.0.0) cgi_multipart_eof_fix (2.5.0, 2.2) daemons (1.0.10, 1.0.7) fastthread (1.0.1, 1.0) gem_plugin (0.2.3, 0.2.2) gruff (0.3.1) highline (1.4.0, 1.2.9) hoe (1.7.0, 1.5.1) hpricot (0.6) linecache (0.42) mechanize (0.7.5) mongrel (1.1.4, 1.0.1) needle (1.3.0) net-scp (1.0.0) net-sftp (2.0.0, 1.1.1, 1.1.0) net-ssh (2.0.0, 1.1.2) net-ssh-gateway (1.0.0) ParseTree (1.7.1) ParseTreeReloaded (0.0.1) rails (2.1.0, 2.0.2, 1.2.3) rake (0.8.1, 0.7.3) rmagick (1.15.7) rspec (1.1.4) ruby-debug-base (0.10.0, 0.9.3) ruby-debug-ide (0.1.10, 0.1.8) ruby2ruby (1.1.6) rubyforge (1.0.0, 0.4.5) rubygems-update (1.1.1, 1.1.0) RubyInline (3.6.7) RubyInlineAcceleration (0.0.1) runt (0.6.0) sources (0.0.1) ZenTest (3.10.0) Macintosh:testapp2 greg$ --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---