Skip to content

Instantly share code, notes, and snippets.

@wyukawa
Created January 29, 2013 11:19
Show Gist options
  • Select an option

  • Save wyukawa/4663529 to your computer and use it in GitHub Desktop.

Select an option

Save wyukawa/4663529 to your computer and use it in GitHub Desktop.
手元のMacがruby 1.8系だったのでrbenvでruby 1.9系にしてfluentdをinstallするメモ
$ brew install rbenv
$ brew install ruby-build
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ rbenv install 1.9.3-pXXX
$ rbenv rehash
$ rbenv local 1.9.3-pXXX
$ gem install fluentd
$ rbenv rehash
$ fluentd --setup ./fluent
$ fluentd -c ./fluent/fluent.conf -vv &
$ echo '{"json":"message"}' | fluent-cat debug.test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment