Problems with autotest


M

Misha Ognev

Hello!

I have Ubuntu 10.10, RVM installed on it, -v 1.5.2 and ruby 1.9.2, gem
-v 1.6.2, this gem list:

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.5, 3.0.0)
actionpack (3.0.5, 3.0.0)
activemodel (3.0.5, 3.0.0)
activerecord (3.0.5, 3.0.0)
activeresource (3.0.5, 3.0.0)
activesupport (3.0.5, 3.0.0)
arel (2.0.9, 1.0.1)
autotest (4.4.6)
autotest-rails-pure (4.1.2)
builder (2.1.2)
bundler (1.0.10)
cucumber (0.10.2)
diff-lcs (1.1.2)
erubis (2.6.6)
gherkin (2.3.5)
i18n (0.5.0, 0.4.2)
json (1.5.1)
mail (2.2.15)
mime-types (1.16)
nokogiri (1.4.4)
polyglot (0.3.1)
rack (1.2.2)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.5, 3.0.0)
railties (3.0.5, 3.0.0)
rake (0.8.7)
redgreen (1.2.2)
rspec (2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
rspec-rails (2.5.0)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
term-ansicolor (1.0.5)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.25)
webrat (0.7.3)
ZenTest (4.5.0)

So, when I cd to my path and run a command "autotest", I read this:

[email protected]:/home/misha/rails/sample_app# autotest
loading autotest/rails_rspec2
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': no such file to load -- test/unit/ui/console/testrunner
(LoadError)
from
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from
/usr/local/rvm/gems/[email protected]/gems/redgreen-1.2.2/lib/redgreen.rb:2:in
`<top (required)>'
from
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in
`require'
from
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:in
`rescue in require'
from
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
`require'
from /root/.autotest:2:in `<top (required)>'
from
/usr/local/rvm/gems/[email protected]/gems/ZenTest-4.5.0/lib/autotest.rb:311:in
`load'
from
/usr/local/rvm/gems/[email protected]/gems/ZenTest-4.5.0/lib/autotest.rb:311:in
`block in initialize'
from
/usr/local/rvm/gems/[email protected]/gems/ZenTest-4.5.0/lib/autotest.rb:310:in
`each'
from
/usr/local/rvm/gems/[email protected]/gems/ZenTest-4.5.0/lib/autotest.rb:310:in
`initialize'
from
/usr/local/rvm/gems/[email protected]/gems/rspec-core-2.5.1/lib/autotest/rspec2.rb:11:in
`initialize'
from
/usr/local/rvm/gems/[email protected]/gems/rspec-rails-2.5.0/lib/autotest/rails_rspec2.rb:31:in
`initialize'
from
/usr/local/rvm/gems/[email protected]/gems/ZenTest-4.5.0/lib/autotest.rb:241:in
`new'
from
/usr/local/rvm/gems/[email protected]dev/gems/ZenTest-4.5.0/lib/autotest.rb:241:in
`run'
from
/usr/local/rvm/gems/[email protected]/gems/ZenTest-4.5.0/bin/autotest:6:in
`<top (required)>'
from /usr/local/rvm/gems/[email protected]/bin/autotest:19:in
`load'
from /usr/local/rvm/gems/[email protected]/bin/autotest:19:in
`<main>'


Where is the error? What I must to do?

Thanks in advance, misha
 
Ad

Advertisements

R

Ryan Davis

Hello!
=20
I have Ubuntu 10.10, RVM installed on it, -v 1.5.2 and ruby 1.9.2, gem
-v 1.6.2, this gem list:
=20
=20
So, when I cd to my path and run a command "autotest", I read this:
=20
[email protected]:/home/misha/rails/sample_app# autotest
loading autotest/rails_rspec2
= /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/cu=
stom_require.rb:36:in
`require': no such file to load -- test/unit/ui/console/testrunner
(LoadError)
from
= /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/cu=
stom_require.rb:36:in
`require'
from
=
/usr/local/rvm/gems/[email protected]/gems/redgreen-1.2.2/lib/redgr=
een.rb:2:in
`<top (required)>'
from
[...]
=20
Where is the error? What I must to do?

Looks like it is in redgreen. Remove it from your .autotest file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top