Hi all,

I tried testing with Rspec for first time, following a tutorial.

"rspec spec/" works fine but when I try 'autotest' it gives me the
error message below. I also made a gist about it: https://gist.github.com/779265

It seems like a redgreen or ZenTest error. I'm using Ubuntu10, Rails3,
Ruby 1.9 and RVM. Any help is appriciated, thanks in advance,
gezope

------

Error message:

<internal:lib/rubygems/custom_require>:29:in `require': no such file
to load -- test/unit/ui/console/testrunner (LoadError)
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/redgreen-1.2.2/lib/
redgreen.rb:2:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:33:in `require'
        from <internal:lib/rubygems/custom_require>:33:in `rescue in require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /home/vadkant/.autotest:2:in `<top (required)>'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/lib/
autotest.rb:305:in `load'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/lib/
autotest.rb:305:in `block in initialize'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/lib/
autotest.rb:304:in `each'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/lib/
autotest.rb:304:in `initialize'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/rspec-core-2.3.1/lib/
autotest/rspec2.rb:10:in `initialize'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/rspec-rails-2.3.0/lib/
autotest/rails_rspec2.rb:31:in `initialize'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/lib/
autotest.rb:236:in `new'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/lib/
autotest.rb:236:in `run'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.2/bin/
autotest:7:in `<top (required)>'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/bin/autotest:19:in `load'
        from /home/vadkant/.rvm/gems/ruby-1.9.2-p0/bin/autotest:19:in
`<main>'

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to