This project is archived and is in readonly mode.

#5541 ✓invalid
Alex Le

Autotest fail with Rails 3.0.0 and ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]

Reported by Alex Le | September 3rd, 2010 @ 07:42 AM

Autotest was running correctly for my app with Rails 3.0.0 and ruby 1.8.7. I upgraded to 1.9.2p0 29036 using RVM and now autotest is no longer working. I'm not sure if this is the right place to post the bug report, but I'll give it a try.

There were 2 warnings then autotest failed.

I tried upgrading to latest test-unit ("gem install test-unit" instead of via the bundle) but the error still occurs. I attach my Gemfile and Gemfile.lock files here if it helps..

alexle:m3 sr3d$ autotest
loading autotest/rails
/Users/sr3d/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -I.:lib:test -rubygems -e "%w[test/unit test/functional/app/home_controller_test.rb test/unit/helpers/admin/help_items_helper_test.rb test/functional/app/checklist_items_controller_test.rb test/unit/category_type_test.rb

..... omitted ......

].each { |f| require f }" | unit_diff -u /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.0/lib/unit_diff.rb:100: warning: shadowing outer local variable - line /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/ZenTest-4.4.0/lib/unit_diff.rb:104: warning: shadowing outer local variable - line /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in require': no such file to load -- test/unit/ui/console/testrunner (LoadError)

from /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /Users/sr3d/projects/marrily/bundles/m3/ruby/1.9.1/gems/redgreen-1.2.2/lib/redgreen.rb:2:in `<top (required)>'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler/runtime.rb:64:in `require'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler/runtime.rb:64:in `block (2 levels) in require'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler/runtime.rb:62:in `each'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler/runtime.rb:62:in `block in require'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler/runtime.rb:51:in `each'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler/runtime.rb:51:in `require'
from /Users/sr3d/.rvm/gems/ruby-1.9.2-p0/gems/bundler-1.0.0/lib/bundler.rb:112:in `require'
from /Users/sr3d/projects/marrily/svn/marrily_marrily/m3/app/config/application.rb:7:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/sr3d/projects/marrily/svn/marrily_marrily/m3/app/config/environment.rb:2:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/sr3d/projects/marrily/svn/marrily_marrily/m3/app/test/test_helper.rb:2:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/sr3d/projects/marrily/svn/marrily_marrily/m3/app/test/functional/app/home_controller_test.rb:1:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from -e:1:in `block in <main>'
from -e:1:in `each'
from -e:1:in `<main>'

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages