gltail“缺少 gem net-ssh”
我正在尝试在本地系统上设置 gltail 以远程监控日志。
我已经安装了所有依赖项,但是当我运行 gltail ...
./gl_tail configfile ../config.yaml
我得到这个输出:
Missing gem net-ssh.
Ubuntu:
sudo gem install -y net-ssh -r
..我已经做了很多次了。这是输出:
dev@ubuntu:~/Desktop/Fudge-gltail-e5b252d/bin$ sudo gem install net-ssh
Successfully installed net-ssh-2.0.15
1 gem installed
Installing ri documentation for net-ssh-2.0.15...
Installing RDoc documentation for net-ssh-2.0.15...
但是当我再次运行它时,我得到相同的丢失 gem net-ssh 错误。
dev@ubuntu:~/Desktop/Fudge-gltail-e5b252d/bin$ which ruby
/usr/bin/ruby
dev@ubuntu:~/Desktop/Fudge-gltail-e5b252d/bin$ which gem
/usr/bin/gem
为什么 net-ssh 没有被视为正确安装?
I'm attempting to get gltail set up on my local system to monitor logs remotely.
I've got all the dependencies installed, but when I go to run gltail ...
./gl_tail configfile ../config.yaml
I get this output:
Missing gem net-ssh.
Ubuntu:
sudo gem install -y net-ssh -r
.. which I've done a number of times. Here is the output:
dev@ubuntu:~/Desktop/Fudge-gltail-e5b252d/bin$ sudo gem install net-ssh
Successfully installed net-ssh-2.0.15
1 gem installed
Installing ri documentation for net-ssh-2.0.15...
Installing RDoc documentation for net-ssh-2.0.15...
But when I go to run it again, I get the same missing gem net-ssh error.
dev@ubuntu:~/Desktop/Fudge-gltail-e5b252d/bin$ which ruby
/usr/bin/ruby
dev@ubuntu:~/Desktop/Fudge-gltail-e5b252d/bin$ which gem
/usr/bin/gem
Why isn't net-ssh being seen as properly installed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这对我在 Ubuntu 10.04 上有用:
来自: https://github.com/Fudge/gltail/issues /2
This worked for me on Ubuntu 10.04:
From: https://github.com/Fudge/gltail/issues/2