{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/3221","labels_url":"https://api.github.com/repos/elastic/logstash/issues/3221/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/3221/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/3221/events","html_url":"https://github.com/elastic/logstash/issues/3221","id":75375843,"number":3221,"title":"plugin installation : why local .gem installation differs from \"rubygems.org\" installation","user":{"login":"fbaligand","id":3750300,"avatar_url":"https://avatars.githubusercontent.com/u/3750300?v=3","gravatar_id":"","url":"https://api.github.com/users/fbaligand","html_url":"https://github.com/fbaligand","followers_url":"https://api.github.com/users/fbaligand/followers","following_url":"https://api.github.com/users/fbaligand/following{/other_user}","gists_url":"https://api.github.com/users/fbaligand/gists{/gist_id}","starred_url":"https://api.github.com/users/fbaligand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbaligand/subscriptions","organizations_url":"https://api.github.com/users/fbaligand/orgs","repos_url":"https://api.github.com/users/fbaligand/repos","events_url":"https://api.github.com/users/fbaligand/events{/privacy}","received_events_url":"https://api.github.com/users/fbaligand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-11T22:12:43Z","updated_at":"2015-05-11T22:12:43Z","closed_at":null,"body":"If I install a plugin directly from rubygems.org, the plugin is installed like logstash provided plugins in `$logstash/vendor/bundle/jruby/1.9/gems`. (for example : `bin/plugin install logstash-filter-environment`)\r\nBut if I manually download the gem on rubygems.org, and then install it using \"local install\" (`bin/plugin install /path/to/logstash-filter-environment.gem`), the plugin is installed in `$logstash/vendor/local_gems/<random_folder>/`\r\n\r\nSo my questions are :\r\n- why is there a difference ?\r\n- why is there this random intermediate folder ? \r\n\r\nPS: On numerous servers, there is no internet connection (mainly for security reasons), and it's not possible to install a plugin directly from rubygems.org. A manual download elsewhere is firstable necessary."}}