gltail icon indicating copy to clipboard operation
gltail copied to clipboard

Missing gem net-ssh.

Open dclozier opened this issue 16 years ago • 10 comments

I'm using Ubuntu 9.04 and all seems to install without error. When I try and run gl_tail it quits and informs me I need to install net-ssh with: sudo gem install -y net-ssh -r

I've done that a few times and it installs each time but still no such luck running gl_tail.

RubyGems Environment:

  • RUBYGEMS VERSION: 1.3.1
  • RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
  • INSTALLATION DIRECTORY: /var/lib/gems/1.8
  • RUBY EXECUTABLE: /usr/bin/ruby1.8
  • EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-linux
  • GEM PATHS:
    • /var/lib/gems/1.8
    • /home/dave/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
    • http://gems.rubyforge.org/

dclozier avatar Oct 06 '09 21:10 dclozier

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

n8foo avatar Feb 10 '10 21:02 n8foo

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

mklebel avatar Mar 26 '10 13:03 mklebel

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

bortzmeyer avatar Jan 25 '11 14:01 bortzmeyer

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

Fudge avatar Jan 25 '11 17:01 Fudge

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

bortzmeyer avatar Jan 25 '11 17:01 bortzmeyer

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.

Fudge avatar Jan 25 '11 17:01 Fudge

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

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

bortzmeyer avatar Jan 25 '11 20:01 bortzmeyer

Gah.... Sorry then.

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

Fudge avatar Jan 25 '11 21:01 Fudge

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

=]

idk avatar Feb 01 '11 11:02 idk

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.

SignalWhisperer avatar May 06 '11 13:05 SignalWhisperer