{"action":"created","issue":{"url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/issues/83","repository_url":"https://api.github.com/repos/treasure-data/omnibus-td-agent","labels_url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/issues/83/comments","events_url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/issues/83/events","html_url":"https://github.com/treasure-data/omnibus-td-agent/pull/83","id":155213984,"number":83,"title":"Fix build error for Ruby 2.1 or later.","user":{"login":"kotatsu360","id":10104981,"avatar_url":"https://avatars.githubusercontent.com/u/10104981?v=3","gravatar_id":"","url":"https://api.github.com/users/kotatsu360","html_url":"https://github.com/kotatsu360","followers_url":"https://api.github.com/users/kotatsu360/followers","following_url":"https://api.github.com/users/kotatsu360/following{/other_user}","gists_url":"https://api.github.com/users/kotatsu360/gists{/gist_id}","starred_url":"https://api.github.com/users/kotatsu360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kotatsu360/subscriptions","organizations_url":"https://api.github.com/users/kotatsu360/orgs","repos_url":"https://api.github.com/users/kotatsu360/repos","events_url":"https://api.github.com/users/kotatsu360/events{/privacy}","received_events_url":"https://api.github.com/users/kotatsu360/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-17T09:26:13Z","updated_at":"2016-05-19T10:32:06Z","closed_at":"2016-05-19T00:32:08Z","pull_request":{"url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/pulls/83","html_url":"https://github.com/treasure-data/omnibus-td-agent/pull/83","diff_url":"https://github.com/treasure-data/omnibus-td-agent/pull/83.diff","patch_url":"https://github.com/treasure-data/omnibus-td-agent/pull/83.patch"},"body":"Hello. fix build error for Ruby 2.1 or later.\r\n\r\n1. fluentd default_version => fluentd v0.12.23 (latest release)\r\n1. specify omnibus version\r\n\r\nbuild environment: Ubuntu 16.04 / Ruby 2.3.1\r\n\r\n----------\r\nFirst, fix this error.\r\n```\r\n+ bundle exec bin/omnibus build td-agent2\r\nThe following shell command exited with status 1:\r\n    $ /opt/td-agent/embedded/bin/gem install --no-ri --no-rdoc pkg/fluentd-*.gem\r\nOutput:\r\n    (nothing)\r\nError:\r\n    ERROR:  Error installing pkg/fluentd-0.12.20.gem:\r\n        string-scrub requires Ruby version < 2.1, >= 1.9.3.\r\n```\r\n\r\nfluentd v0.12.23 including new dependency `string-scrub`\r\nsee: https://github.com/fluent/fluentd/pull/933,   https://github.com/fluent/fluentd/pull/937\r\n\r\n----------\r\nSecond, fix this error.\r\n```\r\n+ bundle exec bin/omnibus build td-agent2\r\n /path/to/omnibus-td-agent-2.3.1/config/software/td-agent-files.rb:12:in `block (2 levels) in evaluate': undefined method `packager' for #<Omnibus::Project:0x00555e73a13340> (NoMethodError)\r\n Did you mean?  packagers\r\n                package\r\n         from /path/to/omnibus-td-agent-2.3.1/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-7c98e2bbceb7/lib/omnibus/builder.rb:1012:in `instance_eval'\r\n```\r\n\r\nspecify omnibus gem version. packager method is unavailable at master.\r\nsee: https://github.com/chef/omnibus/pull/675\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/issues/comments/220287251","html_url":"https://github.com/treasure-data/omnibus-td-agent/pull/83#issuecomment-220287251","issue_url":"https://api.github.com/repos/treasure-data/omnibus-td-agent/issues/83","id":220287251,"user":{"login":"kotatsu360","id":10104981,"avatar_url":"https://avatars.githubusercontent.com/u/10104981?v=3","gravatar_id":"","url":"https://api.github.com/users/kotatsu360","html_url":"https://github.com/kotatsu360","followers_url":"https://api.github.com/users/kotatsu360/followers","following_url":"https://api.github.com/users/kotatsu360/following{/other_user}","gists_url":"https://api.github.com/users/kotatsu360/gists{/gist_id}","starred_url":"https://api.github.com/users/kotatsu360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kotatsu360/subscriptions","organizations_url":"https://api.github.com/users/kotatsu360/orgs","repos_url":"https://api.github.com/users/kotatsu360/repos","events_url":"https://api.github.com/users/kotatsu360/events{/privacy}","received_events_url":"https://api.github.com/users/kotatsu360/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T10:32:06Z","updated_at":"2016-05-19T10:32:06Z","body":"Thanks!!\r\nv0.12.24 :heart_eyes:"}}