GithubHelp home page GithubHelp logo

Missing gem net-ssh. about gltail HOT 10 OPEN

fudge avatar fudge commented on July 4, 2024
Missing gem net-ssh.

from gltail.

Comments (10)

n8foo avatar n8foo commented on July 4, 2024

I'm having the same problem on Ubuntu 9.10. Any thoughts?

from gltail.

mklebel avatar mklebel commented on July 4, 2024

Had the very same issue, solved by doing this:

sudo gem uninstall net-ssh

then do: sudo gem install net-ssh -v 1.1.4

from gltail.

bortzmeyer avatar bortzmeyer commented on July 4, 2024

mklebel's solution does not work for me. net-ssh installs well but, either with net-ssh 1.1 or 2.1 (Debian "lenny"), glTail crashes:

% ./bin/gl_tail config.yaml
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require': no such file to load -- net/ssh/gateway (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:inrequire'
from ./bin/../lib/gl_tail/sources/ssh.rb:1
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:inrequire'
from ./bin/../lib/gl_tail.rb:85
from ./bin/gl_tail:77:in `require'
from ./bin/gl_tail:77

from gltail.

Fudge avatar Fudge commented on July 4, 2024

Could you try installing rvm and managing the gems that way?

from gltail.

bortzmeyer avatar bortzmeyer commented on July 4, 2024

Fudge: I'm not a rubyist and I hesitate to install a lot of complicated Ruby-specifc things just to test a program.

from gltail.

Fudge avatar Fudge commented on July 4, 2024
sudo gem install rvm
rvm-install
rvm install 1.9.1
rvm 1.9.1

gem install <glTail dependencies>

When you're done, remove the rvm line from .bashrc,
rm -rf ~/.rvm
sudo gem uninstall rvm

and you should be pretty much back to where you were.

from gltail.

bortzmeyer avatar bortzmeyer commented on July 4, 2024

gem install rvm apparently went fine but that's all:

% rvm-install
zsh: command not found: rvm-install

from gltail.

Fudge avatar Fudge commented on July 4, 2024

Gah.... Sorry then.

What OS/distribution is this on? Rubygems under Debian derivates is notoriously difficult to get running correctly.

from gltail.

idk avatar idk commented on July 4, 2024

running ubuntu 10.04 here, finally got it working, had same problems as above.

having a list of gems installed and paths helped:
sudo gem list -d --local

1st i uninstalled other versions of net-ssh: (like mentioned above)
sudo gem uninstall net-ssh

then installed net-ssh 1.1.4:
sudo gem install -y net-ssh -v 1.1.4 -r

then i wound up having to install libopenssl-ruby1.8, used synaptic package manager for that :P

which helped! :D but wasn't enough.

once i did this last command though, all was working, thanks for the code Fudge!

sudo gem install net-ssh-gateway

hope it helps others

=]

from gltail.

SignalWhisperer avatar SignalWhisperer commented on July 4, 2024

After installing everything mentioned by the application, I fixed it by only doing
sudo gem install net-ssh-gateway

I didn't use any specific version for anything, all the latest.

from gltail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.