Subject: [sup-talk] gem install sup fail

From: Neil Stewart <[email-masked]>
Date: Thu, 8 Apr 2010 11:49:46 +0100 (BST)

So I'm trying to install sup-0.11 and am having trouble. I think my install
went okay:

# gem install sup
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
Successfully installed xapian-full-1.1.3.4
Successfully installed ncurses-0.9.1
Successfully installed rmail-1.0.0
Successfully installed highline-1.5.2
Successfully installed net-ssh-2.0.21
Successfully installed trollop-1.16.2
Successfully installed lockfile-1.4.3
Successfully installed mime-types-1.16
Successfully installed locale-2.0.5
Successfully installed gettext-2.1.0
Successfully installed sup-0.11
11 gems installed
Installing ri documentation for xapian-full-1.1.3.4...
Installing ri documentation for ncurses-0.9.1...
Installing ri documentation for rmail-1.0.0...
Installing ri documentation for highline-1.5.2...
Installing ri documentation for net-ssh-2.0.21...
Installing ri documentation for trollop-1.16.2...
Installing ri documentation for lockfile-1.4.3...
Installing ri documentation for mime-types-1.16...
Installing ri documentation for locale-2.0.5...
Installing ri documentation for gettext-2.1.0...
Installing ri documentation for sup-0.11...
Installing RDoc documentation for xapian-full-1.1.3.4...
Installing RDoc documentation for ncurses-0.9.1...
Installing RDoc documentation for rmail-1.0.0...
Installing RDoc documentation for highline-1.5.2...
Installing RDoc documentation for net-ssh-2.0.21...
Installing RDoc documentation for trollop-1.16.2...
Installing RDoc documentation for lockfile-1.4.3...
Installing RDoc documentation for mime-types-1.16...
Installing RDoc documentation for locale-2.0.5...
Installing RDoc documentation for gettext-2.1.0...
Installing RDoc documentation for sup-0.11...

But how do I run sup? This fails:

# /var/lib/gems/1.8/bin/sup
/usr/lib/ruby/1.8/rubygems.rb:578:in `report_activate_error': Could not find
/RubyGem archive-tar-minitar (~> 0.5) (Gem::LoadError)
         from /usr/lib/ruby/1.8/rubygems.rb:134:in `activate'
         from /usr/lib/ruby/1.8/rubygems.rb:158:in `activate'
         from /usr/lib/ruby/1.8/rubygems.rb:157:in `each'
         from /usr/lib/ruby/1.8/rubygems.rb:157:in `activate'
         from /usr/lib/ruby/1.8/rubygems.rb:158:in `activate'
         from /usr/lib/ruby/1.8/rubygems.rb:157:in `each'
         from /usr/lib/ruby/1.8/rubygems.rb:157:in `activate'
         from /usr/lib/ruby/1.8/rubygems.rb:49:in `gem'
         from /var/lib/gems/1.8/bin/sup:18

Any comments would be much appreciated---sup seems too good for me to give
up now!

Best,
Neil.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Neil Stewart <[email-masked]>
Date: Thu, 8 Apr 2010 13:04:48 +0100 (BST)

So I've installed a load of gems

# gem list --local

*** LOCAL GEMS ***

archive-tar-minitar (0.5.2)
gettext (2.1.0)
highline (1.5.2)
hoe (2.6.0)
json_pure (1.2.4)
locale (2.0.5)
lockfile (1.4.3)
mime-types (1.16)
ncurses (0.9.1)
net-ssh (2.0.21)
nokogiri (1.4.1)
racc (1.4.6)
rake (0.8.7)
rexical (1.0.4)
rmail (1.0.0)
rubyforge (2.0.4)
sup (0.11)
trollop (1.16.2)
xapian-full (1.1.3.4)

>        from /var/lib/gems/1.8/bin/sup:18

I had to upgrade to gem 1.3.5 from debian testing to get the hoe gem to
install.

Now I'm getting a new error:

# /var/lib/gems/1.8/bin/sup
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require':
/no such file to load -- openssl (LoadError)
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from
         /var/lib/gems/1.8/gems/net-ssh-2.0.21/lib/net/ssh/transport/openssl.rb:1
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from /var/lib/gems/1.8/gems/net-ssh-2.0.21/lib/net/ssh/buffer.rb:2
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
         `gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from
         /var/lib/gems/1.8/gems/net-ssh-2.0.21/lib/net/ssh/transport/algorithms.rb:1
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from
         /var/lib/gems/1.8/gems/net-ssh-2.0.21/lib/net/ssh/transport/session.rb:7
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from /var/lib/gems/1.8/gems/net-ssh-2.0.21/lib/net/ssh.rb:10
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
         `gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from /var/lib/gems/1.8/gems/sup-0.11/lib/sup/mbox/ssh-file.rb:1
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
         `gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from /var/lib/gems/1.8/gems/sup-0.11/lib/sup/mbox.rb:2
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
         `gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from /var/lib/gems/1.8/gems/sup-0.11/lib/sup.rb:309
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
         `gem_original_require'
         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
         from /var/lib/gems/1.8/gems/sup-0.11/bin/sup:15
         from /var/lib/gems/1.8/bin/sup:19:in `load'
         from /var/lib/gems/1.8/bin/sup:19

I've got openssl installed

# dpkg -l | grep openssl
ii  openssl                              0.9.8g-15+lenny6           Secure Socket Layer (SSL) binary and related
ii  openssl-blacklist                    0.4.2                      list of blacklisted OpenSSL RSA keys

but I don't think that's the problem.

And help getting sup-0.11 running, in any form, very much appreciated!

Best,
Neil.