On 17:11 Mon 14 Feb , Zach Dennis wrote:> A few weeks ago I downloaded and compile an ''openssl.so''
shared library
> so I could use Net-SSH, and it worked!
>
> I dont'' know what I broke but now anytime I try to use net-ssh I
get the
> following errors:
>
> ---------- Capture Output ----------
> > "c:\ruby\bin\ruby.exe" test-kernel.rb -d
>
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.0/lib/net/ssh/transport/ossl/hmac/sha1.rb:34:in
> `initialize'': uninitialized constant OpenSSL::Digest::SHA1
(NameError)
> from
> [snip]
>
> when I call Net::SSH.start( etc.. )
>
> Do I need to recompile openssl shared lib? I have upgraded to net-ssh
> 1.0.0. Thanks,
Very odd. Have you installed any other libraries since then? Have you
upgraded your Ruby installation?
Please try executing the following:
ruby -v
and
ruby -ropenssl -e ''p defined?(OpenSSL::Digest::SHA1)''
What do those output?
- Jamis
--
Jamis Buck
jamis_buck@byu.edu
http://jamis.jamisbuck.org
------------------------------
"I am Victor of Borge. You will be assimil-nine-ed."