我尝试用以下命令安装Fluentd:
$ brew install "http://toolbelt.treasuredata.com/brew/td-agent.rb"发生了一些错误。以下是错误日志:
/usr/local/Cellar/td-agent/1.1.17/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:298:in `to_specs': Could not find 'fluentd' (>= 0) among 7 total gem(s) (Gem::LoadError)
from /usr/local/Cellar/td-agent/1.1.17/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:309:in `to_spec'
from /usr/local/Cellar/td-agent/1.1.17/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_gem.rb:53:in `gem'
from /usr/local/Cellar/td-agent/1.1.17/bin/fluentd:22:in `<top (required)>'
from /usr/local/bin/td-agent:5:in `load'
from /usr/local/bin/td-agent:5:in `<main>'我的红宝石环境是:
ruby 1.9.3p3922.2.2我想让弗伦特去工作。
提前谢谢。
发布于 2014-03-22 07:26:11
我终于解决了这个问题。
我正在使用RVM,这是个问题。
以下是官方流利版的注释:
如果您正在使用RVM,请禁用它。RVM将导致一个错误,无法从the公式加载from。
我禁用了rvm,然后流畅工作。
谢谢
https://stackoverflow.com/questions/22369900
复制相似问题