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 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.
What version for gem you installed for auto test? On Jan 14, 11:29 am, gezope <gez...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello, thanks for reply. autotest (4.4.6) autotest-rails-pure (4.1.2) redgreen (1.2.2) ZenTest (4.4.2) rspec (2.3.0) rspec-core (2.3.1) rspec-expectations (2.3.0) rspec-mocks (2.3.0) rspec-rails (2.3.0) Thanks a lot! On jan. 14, 10:45, Bhupendra <bhupendra.mis...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What version for gem you installed for auto test? > > On Jan 14, 11:29 am, gezope <gez...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.