{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/3204","labels_url":"https://api.github.com/repos/elastic/logstash/issues/3204/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/3204/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/3204/events","html_url":"https://github.com/elastic/logstash/issues/3204","id":74301438,"number":3204,"title":"running test in logstash creates a Gemfile.lock file","user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-05-08T09:32:55Z","updated_at":"2015-05-11T13:42:14Z","closed_at":null,"body":"Hi,\r\n doing:\r\n```\r\n  rake bootstrap\r\n  rake test:install-core\r\n  rake test:core\r\n```\r\n\r\ncreates a new Gemfile.lock file.\r\n\r\nMight be bundler is not properly patch here to use the Gemfile.jruby-1.9.lock file?"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/100911536","html_url":"https://github.com/elastic/logstash/issues/3204#issuecomment-100911536","issue_url":"https://api.github.com/repos/elastic/logstash/issues/3204","id":100911536,"user":{"login":"colinsurprenant","id":2010,"avatar_url":"https://avatars.githubusercontent.com/u/2010?v=3","gravatar_id":"","url":"https://api.github.com/users/colinsurprenant","html_url":"https://github.com/colinsurprenant","followers_url":"https://api.github.com/users/colinsurprenant/followers","following_url":"https://api.github.com/users/colinsurprenant/following{/other_user}","gists_url":"https://api.github.com/users/colinsurprenant/gists{/gist_id}","starred_url":"https://api.github.com/users/colinsurprenant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinsurprenant/subscriptions","organizations_url":"https://api.github.com/users/colinsurprenant/orgs","repos_url":"https://api.github.com/users/colinsurprenant/repos","events_url":"https://api.github.com/users/colinsurprenant/events{/privacy}","received_events_url":"https://api.github.com/users/colinsurprenant/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T13:42:14Z","updated_at":"2015-05-11T13:42:14Z","body":"@purbon what do you mean by « I've also installed bundler in my rvm environment» ? I also have bundler installed in all my local rubies and that does not seem to affect. \r\n\r\nThe \"only\" difference between launching with `rake test:core` and `bin/rspec` is that with `rake`, the relaunch is done by `rakelib/z_rubycheck.rake` and with `bin/rspec` the relaunch is done in the shell by `bin/logstash.lib.sh`.\r\n\r\nIn both cases, the `bundler` required should be the one we installed in `vendor/` and we make sure it is in https://github.com/elastic/logstash/blob/master/lib/bootstrap/bundler.rb#L20-L28 ... \r\n\r\nSo somehow, in your environment, Bundler is probably already required somewhere. Are you sure the relaunch is done properly by `rakelib/z_rubycheck.rake` ? could you verify this?"}}