{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/1471","labels_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1471/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1471/comments","events_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1471/events","html_url":"https://github.com/rspec/rspec-rails/issues/1471","id":111177582,"number":1471,"title":"rspec-rails' specs dump strange backtrace","user":{"login":"yujinakayama","id":83656,"avatar_url":"https://avatars.githubusercontent.com/u/83656?v=3","gravatar_id":"","url":"https://api.github.com/users/yujinakayama","html_url":"https://github.com/yujinakayama","followers_url":"https://api.github.com/users/yujinakayama/followers","following_url":"https://api.github.com/users/yujinakayama/following{/other_user}","gists_url":"https://api.github.com/users/yujinakayama/gists{/gist_id}","starred_url":"https://api.github.com/users/yujinakayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujinakayama/subscriptions","organizations_url":"https://api.github.com/users/yujinakayama/orgs","repos_url":"https://api.github.com/users/yujinakayama/repos","events_url":"https://api.github.com/users/yujinakayama/events{/privacy}","received_events_url":"https://api.github.com/users/yujinakayama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-13T13:17:27Z","updated_at":"2015-12-10T10:06:00Z","closed_at":null,"body":"https://travis-ci.org/rspec/rspec-support/jobs/85119467\r\n\r\n```\r\n$ ruby --version\r\nruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]\r\n$ cd rspec-dev/repos/rspec-rails\r\n$ bundle exec rspec\r\n/Users/me/Projects/rspec-dev/repos/rspec-rails/spec/spec_helper.rb:4: warning: method redefined; discarding old configuration=\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bin/rspec:23:in  `<main>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bin/rspec:23:in  `load'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/exe/rspec:4:in  `<top (required)>'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:41:in  `invoke'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:73:in  `run'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:88:in  `run'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:101:in  `setup'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:21:in  `configure'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:108:in  `process_options_into'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:108:in  `each'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:109:in  `block in process_options_into'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `requires='\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `each'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `block in requires='\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `require'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/spec/spec_helper.rb:15:in  `<top (required)>'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/spec/spec_helper.rb:15:in  `require'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/lib/rspec/rails.rb:13:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/lib/rspec/rails/vendor/capybara.rb:2:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara/rspec.rb:1:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara.rb:5:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara.rb:318:in  `<module:Capybara>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara/dsl.rb:1:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/dsl.rb:82: warning: previous definition of feature was here\r\n/Users/me/Projects/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:9: warning: method redefined; discarding old exist\r\n/Users/me/Projects/rspec-dev/repos/rspec-expectations/lib/rspec/matchers.rb:600: warning: previous definition of exist was here\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:288: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: previous definition of subject was here\r\n/Users/me/Projects/rspec-dev/repos/rspec-rails/spec/generators/rspec/install/install_generator_spec.rb:30: warning: method redefined; discarding old use_transactional_fixtures\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:288: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: previous definition of subject was here\r\nRun options: include {:focus=>true}\r\n```\r\n\r\nEven if I remove [these lines](https://github.com/rspec/rspec-rails/blob/078b29fefb129b7942ba512cc0173b0c6d20c582/spec/spec_helper.rb#L3-L5), the backtrace is still shown:\r\n\r\n```\r\n$ bundle exec rspec\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bin/rspec:23:in  `<main>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bin/rspec:23:in  `load'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/exe/rspec:4:in  `<top (required)>'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:41:in  `invoke'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:73:in  `run'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:88:in  `run'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/runner.rb:101:in  `setup'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:21:in  `configure'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:108:in  `process_options_into'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:108:in  `each'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration_options.rb:109:in  `block in process_options_into'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `requires='\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `each'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `block in requires='\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/configuration.rb:1273:in  `require'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/spec/spec_helper.rb:11:in  `<top (required)>'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/spec/spec_helper.rb:11:in  `require'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/lib/rspec/rails.rb:13:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/Projects/rspec-dev/repos/rspec-rails/lib/rspec/rails/vendor/capybara.rb:2:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara/rspec.rb:1:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara.rb:5:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara.rb:318:in  `<module:Capybara>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/capybara-2.2.1/lib/capybara/dsl.rb:1:in  `<top (required)>'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in  `load_dependency'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `block in require'\r\n\tfrom /Users/me/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in  `require'\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/dsl.rb:82: warning: previous definition of feature was here\r\n/Users/me/Projects/rspec-dev/repos/rspec-expectations/lib/rspec/matchers/dsl.rb:9: warning: method redefined; discarding old exist\r\n/Users/me/Projects/rspec-dev/repos/rspec-expectations/lib/rspec/matchers.rb:600: warning: previous definition of exist was here\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:288: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: previous definition of subject was here\r\n/Users/me/Projects/rspec-dev/repos/rspec-rails/spec/generators/rspec/install/install_generator_spec.rb:30: warning: method redefined; discarding old use_transactional_fixtures\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:288: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: method redefined; discarding old subject\r\n/Users/me/Projects/rspec-dev/repos/rspec-core/lib/rspec/core/memoized_helpers.rb:295: warning: previous definition of subject was here\r\nRun options: include {:focus=>true}\r\n```"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/comments/163562992","html_url":"https://github.com/rspec/rspec-rails/issues/1471#issuecomment-163562992","issue_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1471","id":163562992,"user":{"login":"deivid-rodriguez","id":2887858,"avatar_url":"https://avatars.githubusercontent.com/u/2887858?v=3","gravatar_id":"","url":"https://api.github.com/users/deivid-rodriguez","html_url":"https://github.com/deivid-rodriguez","followers_url":"https://api.github.com/users/deivid-rodriguez/followers","following_url":"https://api.github.com/users/deivid-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/deivid-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/deivid-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deivid-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/deivid-rodriguez/orgs","repos_url":"https://api.github.com/users/deivid-rodriguez/repos","events_url":"https://api.github.com/users/deivid-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/deivid-rodriguez/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T10:06:00Z","updated_at":"2015-12-10T10:06:00Z","body":"This is a circular require warning in `capybara`. I fixed it there: https://github.com/jnicklas/capybara/pull/1622\r\n\r\nI have no idea why the first line of the backtrace (the important one) is removed. Maybe somewhere `set_backtrace` is being called and the first line removed for some reason."}}