{"action":"created","issue":{"url":"https://api.github.com/repos/embulk/embulk/issues/357","labels_url":"https://api.github.com/repos/embulk/embulk/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/embulk/embulk/issues/357/comments","events_url":"https://api.github.com/repos/embulk/embulk/issues/357/events","html_url":"https://github.com/embulk/embulk/pull/357","id":123874457,"number":357,"title":"Add system config gem_home","user":{"login":"hito4t","id":9376466,"avatar_url":"https://avatars.githubusercontent.com/u/9376466?v=3","gravatar_id":"","url":"https://api.github.com/users/hito4t","html_url":"https://github.com/hito4t","followers_url":"https://api.github.com/users/hito4t/followers","following_url":"https://api.github.com/users/hito4t/following{/other_user}","gists_url":"https://api.github.com/users/hito4t/gists{/gist_id}","starred_url":"https://api.github.com/users/hito4t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hito4t/subscriptions","organizations_url":"https://api.github.com/users/hito4t/orgs","repos_url":"https://api.github.com/users/hito4t/repos","events_url":"https://api.github.com/users/hito4t/events{/privacy}","received_events_url":"https://api.github.com/users/hito4t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-25T11:19:17Z","updated_at":"2016-01-14T19:22:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/embulk/embulk/pulls/357","html_url":"https://github.com/embulk/embulk/pull/357","diff_url":"https://github.com/embulk/embulk/pull/357.diff","patch_url":"https://github.com/embulk/embulk/pull/357.patch"},"body":"Add system config 'gem_home' to set `GEM_HOME` because `embulk_bundle.rb` is not called when `EmbulkEmbed` is directly executed.\r\nIf `GEM_HOME` is not set, installed plugins won't be registered."},"comment":{"url":"https://api.github.com/repos/embulk/embulk/issues/comments/171750516","html_url":"https://github.com/embulk/embulk/pull/357#issuecomment-171750516","issue_url":"https://api.github.com/repos/embulk/embulk/issues/357","id":171750516,"user":{"login":"frsyuki","id":40720,"avatar_url":"https://avatars.githubusercontent.com/u/40720?v=3","gravatar_id":"","url":"https://api.github.com/users/frsyuki","html_url":"https://github.com/frsyuki","followers_url":"https://api.github.com/users/frsyuki/followers","following_url":"https://api.github.com/users/frsyuki/following{/other_user}","gists_url":"https://api.github.com/users/frsyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/frsyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frsyuki/subscriptions","organizations_url":"https://api.github.com/users/frsyuki/orgs","repos_url":"https://api.github.com/users/frsyuki/repos","events_url":"https://api.github.com/users/frsyuki/events{/privacy}","received_events_url":"https://api.github.com/users/frsyuki/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T19:22:14Z","updated_at":"2016-01-14T19:22:14Z","body":"JRuby's `ENV.store('GEM_HOME', gemHome)` modifies environment variable of current process. ENV is process-global variable (not injector-local variable). So, modifying ENV there seems unexpected behavior because a process can create multiple injectors.\r\n"}}