{"issue":{"state":"closed","created_at":"2010-09-11T11:38:19Z","updated_at":"2011-12-02T02:35:03Z","comments":9,"user":{"gravatar_id":"9a2a53db8e9b4476038c94a64b32833f","id":2687,"url":"https://api.github.com/users/radar","avatar_url":"https://secure.gravatar.com/avatar/9a2a53db8e9b4476038c94a64b32833f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"radar"},"body":"When I am using cucumber-rails and RSpec in a new-to-Rails-3 application of mine, I came across the `undefined method RSpec.configure` error. It turns out that the require Cucumber does to 'cucumber/rails/rspec' uses `require 'rspec/rails/matchers'` which **does not** `require 'rspec/core'`, which means that _matchers.rb_ *creates* the RSpec module rather than using the one from _core.rb_. This is bad, because we'd like to use the RSpec.configure method.\r\n\r\nThe attached patch fixes this issue.","assignee":null,"id":311964,"number":202,"labels":[],"pull_request":{"patch_url":"https://github.com/rspec/rspec-rails/pull/202.patch","html_url":"https://github.com/rspec/rspec-rails/pull/202","diff_url":"https://github.com/rspec/rspec-rails/pull/202.diff"},"title":"undefined method RSpec.configure","closed_at":"2010-09-11T19:29:17Z","html_url":"https://github.com/rspec/rspec-rails/issues/202","url":"https://api.github.com/repos/rspec/rspec-rails/issues/202","milestone":null},"action":"created","comment":{"created_at":"2011-12-02T02:35:03Z","updated_at":"2011-12-02T02:35:03Z","user":{"gravatar_id":"87939140bb4c3ec804b13005165fd7df","id":1603,"url":"https://api.github.com/users/ldenman","avatar_url":"https://secure.gravatar.com/avatar/87939140bb4c3ec804b13005165fd7df?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"ldenman"},"body":"I agree with @bjeanes, here. I am hitting this exact problem while using webmock. ","id":2985486,"url":"https://api.github.com/repos/rspec/rspec-rails/issues/comments/2985486"}}