{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/2641","labels_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2641/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2641/comments","events_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2641/events","html_url":"https://github.com/elasticsearch/logstash/issues/2641","id":58080475,"number":2641,"title":"running bin\\plugin list on a newly unpacked release on windows fails","user":{"login":"jsvd","id":31809,"avatar_url":"https://avatars.githubusercontent.com/u/31809?v=3","gravatar_id":"","url":"https://api.github.com/users/jsvd","html_url":"https://github.com/jsvd","followers_url":"https://api.github.com/users/jsvd/followers","following_url":"https://api.github.com/users/jsvd/following{/other_user}","gists_url":"https://api.github.com/users/jsvd/gists{/gist_id}","starred_url":"https://api.github.com/users/jsvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsvd/subscriptions","organizations_url":"https://api.github.com/users/jsvd/orgs","repos_url":"https://api.github.com/users/jsvd/repos","events_url":"https://api.github.com/users/jsvd/events{/privacy}","received_events_url":"https://api.github.com/users/jsvd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/logstash/labels/blocker","name":"blocker","color":"e11d21"},{"url":"https://api.github.com/repos/elasticsearch/logstash/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/elasticsearch/logstash/labels/windows","name":"windows","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":{"login":"jsvd","id":31809,"avatar_url":"https://avatars.githubusercontent.com/u/31809?v=3","gravatar_id":"","url":"https://api.github.com/users/jsvd","html_url":"https://github.com/jsvd","followers_url":"https://api.github.com/users/jsvd/followers","following_url":"https://api.github.com/users/jsvd/following{/other_user}","gists_url":"https://api.github.com/users/jsvd/gists{/gist_id}","starred_url":"https://api.github.com/users/jsvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsvd/subscriptions","organizations_url":"https://api.github.com/users/jsvd/orgs","repos_url":"https://api.github.com/users/jsvd/repos","events_url":"https://api.github.com/users/jsvd/events{/privacy}","received_events_url":"https://api.github.com/users/jsvd/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-18T15:16:17Z","updated_at":"2015-02-20T10:17:20Z","closed_at":"2015-02-20T10:17:20Z","body":"I generated a new release of logstash with rake artifact:tar and moved it to windows, unpacked and ran:\r\n\r\n```\r\nC:\\test\\logstash-2.0.0.dev>bin\\plugin list\r\nBundler::GemNotFound: Could not find rake-10.4.2 in any of the sources\r\n      materialize at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/spec_set.rb:92\r\n             map! at org/jruby/RubyArray.java:2444\r\n      materialize at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/spec_set.rb:85\r\n            specs at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/definition.rb:132\r\n        specs_for at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/definition.rb:177\r\n  requested_specs at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/definition.rb:166\r\n  requested_specs at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/environment.rb:18\r\n            setup at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler/runtime.rb:13\r\n            setup at C:/test/logstash-2.0.0.dev/vendor/bundle/jruby/1.9/gems/bun\r\ndler-1.8.2/lib/bundler.rb:122\r\n   bundler_setup! at C:/test/logstash-2.0.0.dev/lib/logstash/environment.rb:66\r\n           (root) at C:\\test\\logstash-2.0.0.dev\\lib\\logstash\\runner.rb:8\r\n```\r\n\r\nThis is because \".bundle/config\":\r\n```\r\n---\r\nBUNDLE_PATH: /Users/joaoduarte/projects/logstash/vendor/bundle\r\n```\r\ncontains the bundle path used during the generation of the release.\r\n\r\nFix proposal:\r\n\r\nBefore generating the artifact, modify \".bundle/config\" to have a relative path for BUNDLE_PATH:\r\n\r\n```\r\n---\r\nBUNDLE_PATH: vendor/bundle\r\n```\r\n\r\n[EDIT] Alternative fix is to NOT include the \".bundle/config\" file in the release"},"comment":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/comments/75216230","html_url":"https://github.com/elasticsearch/logstash/issues/2641#issuecomment-75216230","issue_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2641","id":75216230,"user":{"login":"jsvd","id":31809,"avatar_url":"https://avatars.githubusercontent.com/u/31809?v=3","gravatar_id":"","url":"https://api.github.com/users/jsvd","html_url":"https://github.com/jsvd","followers_url":"https://api.github.com/users/jsvd/followers","following_url":"https://api.github.com/users/jsvd/following{/other_user}","gists_url":"https://api.github.com/users/jsvd/gists{/gist_id}","starred_url":"https://api.github.com/users/jsvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsvd/subscriptions","organizations_url":"https://api.github.com/users/jsvd/orgs","repos_url":"https://api.github.com/users/jsvd/repos","events_url":"https://api.github.com/users/jsvd/events{/privacy}","received_events_url":"https://api.github.com/users/jsvd/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T10:17:20Z","updated_at":"2015-02-20T10:17:20Z","body":"fixed in cc6f8473ecb7097e772feda1948526bd0f90404a"}}