I just ran into this error after updating rails and the rspec_on_rails plugin (both are on edge):

/Users/ben/Work/wizzdl/vendor/rails/activerecord/lib/../../ activesupport/lib/active_support/dependencies.rb:263:in `load_missing_constant': uninitialized constant ActionView::Helpers::PaginationHelper (NameError) from /Users/ben/Work/wizzdl/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:452:in `const_missing' from /Users/ben/Work/wizzdl/vendor/plugins/rspec_on_rails/ lib/spec/rails/dsl/behaviour/helper.rb:33 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require' from /Users/ben/Work/wizzdl/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require' from /Users/ben/Work/wizzdl/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' from /Users/ben/Work/wizzdl/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require' from /Users/ben/Work/wizzdl/vendor/plugins/rspec_on_rails/ lib/spec/rails/dsl/behaviour.rb:8


I'm not sure if the problem is with rails or rspec, or even if there is one, so I'll wait until someone confirms it before submitting a bug.

If you do run into this problem, commenting out line 33 of rspec_on_rails/lib/spec/rails/dsl/behaviour/helper.rb made the error message disappear, but it could have side effects.

-Ben
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to