Created
January 29, 2013 11:19
-
-
Save wyukawa/4663529 to your computer and use it in GitHub Desktop.
手元のMacがruby 1.8系だったのでrbenvでruby 1.9系にしてfluentdをinstallするメモ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ 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