Issue #920 has been updated by Tuomas Karkkainen.


is circular require a feature of the ruby language?

if it was disallowed the way rake handles invoke_with_call_chain and multitask could work on this issue as well:
http://rake.rubyforge.org/classes/Rake/MultiTask.html
http://www.fsdata.se/kund/gemdocs/rake-0.8.1/rdoc/classes/Rake/Task.html#M004984

that is:
1) each require is locked by it's own mutex, 
2) each require passes along a list of all requires that is has traversed
3) a file may not require itself.


----------------------------------------
http://redmine.ruby-lang.org/issues/show/920

----------------------------------------
http://redmine.ruby-lang.org