Unable to determine name from existing gemspec

来源:互联网 发布:大卫罗宾逊体测数据 编辑:程序博客网 时间:2024/04/30 02:58
$ wget https://github.com/downloads/fluent/fluentd/fluentd-0.10.6.tar.gz$ tar xvzf fluentd-0.10.6.tar.gz$ cd fluentd-0.10.6$ ./configureconfigure: error: find openssl header not found$ sudo apt-get install libssl-dev$ ./configure$ make$ sudo make installUnable to determine name from existing gemspec. Use :name => 'gemname' in #install_tasks to manually set it.
$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz$ tar xvzf ruby-1.9.3-p0.tar.gz$ cd ruby-1.9.3-p0/$ ./configure$ make$ sudo make install$ ruby --versionruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
$ sudo gem install fluentd$ which fluentd/usr/local/bin/fluentd

$ fluentd --setup ./fluentd$ fluentd -c ./fluentd/fluent.conf -vv &$ echo '{"json":"message"}' | fluent-cat debug.test
转自: http://d.hatena.ne.jp/hydrocul/20120204/1328354325


原创粉丝点击