{"action":"created","issue":{"url":"https://api.github.com/repos/grosser/parallel_tests/issues/534","repository_url":"https://api.github.com/repos/grosser/parallel_tests","labels_url":"https://api.github.com/repos/grosser/parallel_tests/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/grosser/parallel_tests/issues/534/comments","events_url":"https://api.github.com/repos/grosser/parallel_tests/issues/534/events","html_url":"https://github.com/grosser/parallel_tests/issues/534","id":190087036,"number":534,"title":"Issue with parallel specs when a newer version has been activated.","user":{"login":"stringsn88keys","id":252056,"avatar_url":"https://avatars0.githubusercontent.com/u/252056?v=3","gravatar_id":"","url":"https://api.github.com/users/stringsn88keys","html_url":"https://github.com/stringsn88keys","followers_url":"https://api.github.com/users/stringsn88keys/followers","following_url":"https://api.github.com/users/stringsn88keys/following{/other_user}","gists_url":"https://api.github.com/users/stringsn88keys/gists{/gist_id}","starred_url":"https://api.github.com/users/stringsn88keys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stringsn88keys/subscriptions","organizations_url":"https://api.github.com/users/stringsn88keys/orgs","repos_url":"https://api.github.com/users/stringsn88keys/repos","events_url":"https://api.github.com/users/stringsn88keys/events{/privacy}","received_events_url":"https://api.github.com/users/stringsn88keys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-17T15:58:47Z","updated_at":"2017-05-24T14:43:01Z","closed_at":"2016-11-17T21:18:22Z","body":"Any thoughts on what could be triggering this? It appears that having two projects with different `rspec-core` versions on the same ruby version (using `rbenv` in my case) triggers a `Gem::LoadError` if the parallel specs are run on the project with the older `rspec-core` version.\r\n\r\n`rspec` itself bundles fine, but somehow the bundled `rspec` call from the `parallel:spec` rake task is not.\r\n\r\nPosting here in hopes that someone else has run into this.\r\n\r\nOutput and more details:\r\n\r\n```\r\n\r\nbundler: failed to load command: rspec (/Users/tpowell/.rbenv/versions/2.1.6/bin/rspec)\r\nGem::LoadError: can't activate rspec-core-3.3.2, already activated rspec-core-3.1.7\r\n  /Users/tpowell/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/specification.rb:2052:in `raise_if_conflicts'\r\n  /Users/tpowell/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/specification.rb:1262:in `activate'\r\n  /Users/tpowell/.rbenv/versions/2.1.6/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:54:in `gem'\r\n  /Users/tpowell/.rbenv/versions/2.1.6/bin/rspec:22:in `<top (required)>'\r\n```\r\n\r\nThe calls to the individual parallel test groups look like this:\r\n`TEST_ENV_NUMBER= PARALLEL_TEST_GROUPS=8 bundle exec rspec  --color --tty -O .rspec_parallel spec/controllers`\r\n\r\nThe projects needing the specific versions of `rspec-core` that are installed are running `ruby 2.1.6p336` and on Rails 3.x and 4.x.\r\n\r\nLocal gems:\r\n`rspec-core (3.3.2, 3.1.7)`\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grosser/parallel_tests/issues/comments/303745650","html_url":"https://github.com/grosser/parallel_tests/issues/534#issuecomment-303745650","issue_url":"https://api.github.com/repos/grosser/parallel_tests/issues/534","id":303745650,"user":{"login":"grosser","id":11367,"avatar_url":"https://avatars0.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T14:43:01Z","updated_at":"2017-05-24T14:43:01Z","body":"can you see what determine_executable returns (bundle open parallel_tests) ... then maybe figure out what the root cause is / how to properly fix it "}}
{"actor":{"display_login":"grosser"}}