floehopper/mocha — Issue #66: Warning: loading in progress, circular require considered harmful
Author: floehopper
Created: 2012-02-11 20:53:46+00:00
State: open

On behalf of @kennyj :-

I'm a rails contributor.

When I executed `rake test_postgresql` in rails/active_record. I found
a warning in mocha.
I'm using ruby-1.9.3-p0.

/home/kennyj/.rvm/gems/ruby-1.9.3-p0/gems/mocha-0.10.4/lib/mocha/
mock.rb:9: warning: loading in progress, circular require considered
harmful - /home/kennyj/.rvm/gems/ruby-1.9.3-p0/gems/mocha-0.10.4/lib/
mocha/mockery.rb

In mocha/mockery.rb
...
require 'mocha/mock' # the cause of problem ???
...