alexrothenberg/ammeter — comment on commit ef20b9e215d535aa765ceb1365510d895425859d
File: lib/ammeter/rspec/generator/example/generator_example_group.rb line 4
By alexrothenberg:

I agree the circular dependency is nasty and we're relying on luck. I have no better ideas either.

I tried recreating the problem hoping that would help my thinking but it still worked even after reverting your "require 'rspec/rails/matchers' to (temp) resolve circular dep between rspec-rails' specs and ammeter" commit - I did this in my fork at https://github.com/alexrothenberg/rspec-rails/tree/ammeter_circular_dependency_experimenting. I tested using ruby 1.8.7 & rails 3.1.3.

Can you tell me how to break it & maybe that'll trigger an idea.

@dchelimsky (not sure if github notifies you without this)