EzDevInfo.com

gltail

Real-time visualization of server traffic, events and statistics with Ruby, SSH and OpenGL glTail.rb - realtime logfile visualization

gltail "Missing 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?


Source: (StackOverflow)

glTail Boot Errors

For all those who don't know what I am talking about, it's glTail from Fudgie.

On my Mac at home, I have never been able to get glTail to work. I have gotten it to work on my work Mac. This is just a last resort, as the past 2 days have been nothing but seems like wasted time.

I have the same libraries installed: Ruby 1.8.6, Gem 1.3.1, net-ssh 1.1.4, Chipmunk 2D, ruby-opengl 0.60.0 and file-tail 1.0.3.

Here is the command that I run to try to start it up:

./gl_tail configfile config.yaml
It says right off the bat (almost instantaneously):
-macbook:bin Garrett$ ./gl_tail configfile config.yaml
./../lib/gl_tail/engine.rb:300: [BUG] Bus Error
ruby 1.8.6 (2008-03-03) [universal-darwin9.0]

Abort trap

If you look at engine.rb, it's the first line:

    def start
      glutInit() # Line 300
      glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE)

      glutInitWindowPosition(0, 0)
      glutInitWindowSize(@config.screen.window_width, @config.screen.window_height)
      glutCreateWindow('glTail')

I have a feeling it's something along the lines of GLUT not being installed properly. I am not expecting too much help, as the code it self has very little documentation as it is. But seeing as it's being killed right away I have a feel maybe it's something that isn't updated all the way, most likely OpenGL.


Source: (StackOverflow)

Advertisements